From 697fba9011e62ba16635ee76e65c1ec06816964b Mon Sep 17 00:00:00 2001 From: Sean Muir Date: Fri, 24 Apr 2020 17:12:20 -0400 Subject: [PATCH] Updates to Consol2 Added validation tracking --- .../consol/AdmissionDiagnosisSection2.java | 12 +- .../uml/cda/consol/AdmissionMedication.java | 11 +- .../uml/cda/consol/AdmissionMedication2.java | 9 +- ...ionMedicationsSectionEntriesOptional2.java | 6 +- .../consol/AdvanceDirectiveObservation.java | 47 +- .../consol/AdvanceDirectiveObservation2.java | 44 +- .../cda/consol/AdvanceDirectiveOrganizer.java | 15 +- .../cda/consol/AdvanceDirectivesSection.java | 8 +- .../cda/consol/AdvanceDirectivesSection2.java | 14 +- ...vanceDirectivesSectionEntriesOptional.java | 11 +- ...anceDirectivesSectionEntriesOptional2.java | 10 +- .../mdht/uml/cda/consol/AgeObservation.java | 11 +- .../mdht/uml/cda/consol/AllergiesSection.java | 8 +- .../uml/cda/consol/AllergiesSection2.java | 4 - .../AllergiesSectionEntriesOptional.java | 11 +- .../AllergiesSectionEntriesOptional2.java | 6 +- .../uml/cda/consol/AllergyConcernAct2.java | 10 +- .../uml/cda/consol/AllergyObservation.java | 52 +- .../uml/cda/consol/AllergyObservation2.java | 32 +- .../uml/cda/consol/AllergyProblemAct.java | 19 +- .../cda/consol/AllergyStatusObservation.java | 9 +- .../cda/consol/AllergyStatusObservation2.java | 6 +- .../uml/cda/consol/AnesthesiaSection.java | 15 +- .../uml/cda/consol/AnesthesiaSection2.java | 11 +- .../cda/consol/AssessmentAndPlanSection.java | 11 +- .../cda/consol/AssessmentAndPlanSection2.java | 9 +- .../consol/AssessmentScaleObservation.java | 33 +- .../AssessmentScaleSupportingObservation.java | 13 +- .../uml/cda/consol/AssessmentSection.java | 7 +- .../uml/cda/consol/AuthorParticipation.java | 29 +- .../uml/cda/consol/AuthorizationActivity.java | 17 +- .../uml/cda/consol/BirthSexObservation.java | 11 +- .../uml/cda/consol/BoundaryObservation.java | 9 +- .../mdht/uml/cda/consol/CarePlan.java | 140 +- .../cda/consol/CaregiverCharacteristics.java | 27 +- .../CharacteristicsOfHomeEnvironment.java | 13 +- ...hiefComplaintAndReasonForVisitSection.java | 7 +- .../uml/cda/consol/ChiefComplaintSection.java | 7 +- .../mdht/uml/cda/consol/CodeObservations.java | 17 +- .../consol/CognitiveAbilitiesObservation.java | 19 +- .../CognitiveStatusProblemObservation.java | 18 +- .../CognitiveStatusResultObservation.java | 26 +- .../CognitiveStatusResultOrganizer.java | 6 +- .../mdht/uml/cda/consol/CommentActivity.java | 13 +- .../uml/cda/consol/ComplicationsSection.java | 11 +- .../uml/cda/consol/ComplicationsSection2.java | 8 +- .../mdht/uml/cda/consol/ConsolPackage.java | 1 - .../mdht/uml/cda/consol/ConsultationNote.java | 130 +- .../uml/cda/consol/ConsultationNote2.java | 166 ++- .../cda/consol/ContinuityOfCareDocument.java | 96 +- .../cda/consol/ContinuityOfCareDocument2.java | 104 +- .../uml/cda/consol/CourseOfCareSection.java | 7 +- .../mdht/uml/cda/consol/CoverageActivity.java | 15 +- .../uml/cda/consol/CoverageActivity2.java | 18 +- .../cda/consol/CriticalityObservation.java | 11 +- .../CulturalAndReligiousObservation.java | 13 +- .../cda/consol/DICOMObjectCatalogSection.java | 11 +- .../uml/cda/consol/DeceasedObservation.java | 19 +- .../uml/cda/consol/DeceasedObservation2.java | 8 +- .../cda/consol/DiagnosticImagingReport.java | 68 +- .../cda/consol/DiagnosticImagingReport2.java | 112 +- .../consol/DischargeDiagnosisSection2.java | 12 +- .../uml/cda/consol/DischargeDietSection.java | 7 +- .../uml/cda/consol/DischargeMedication.java | 11 +- .../uml/cda/consol/DischargeMedication2.java | 12 +- .../consol/DischargeMedicationsSection2.java | 8 +- ...rgeMedicationsSectionEntriesOptional2.java | 10 +- .../mdht/uml/cda/consol/DischargeSummary.java | 134 +- .../uml/cda/consol/DischargeSummary2.java | 152 +-- .../uml/cda/consol/DrugMonitoringAct.java | 25 +- .../mdht/uml/cda/consol/DrugVehicle.java | 13 +- .../uml/cda/consol/EncounterActivities.java | 33 +- .../uml/cda/consol/EncounterActivity2.java | 16 +- .../uml/cda/consol/EncounterDiagnosis.java | 11 +- .../uml/cda/consol/EncounterDiagnosis2.java | 9 +- .../uml/cda/consol/EncountersSection.java | 8 +- .../uml/cda/consol/EncountersSection2.java | 4 - .../EncountersSectionEntriesOptional.java | 11 +- .../EncountersSectionEntriesOptional2.java | 6 +- .../mdht/uml/cda/consol/EntryReference.java | 15 +- .../cda/consol/EstimatedDateOfDelivery.java | 9 +- .../cda/consol/ExternalDocumentReference.java | 9 +- .../consol/FamilyHistoryDeathObservation.java | 11 +- .../cda/consol/FamilyHistoryObservation.java | 21 +- .../cda/consol/FamilyHistoryObservation2.java | 10 +- .../cda/consol/FamilyHistoryOrganizer.java | 35 +- .../cda/consol/FamilyHistoryOrganizer2.java | 10 +- .../uml/cda/consol/FamilyHistorySection.java | 11 +- .../uml/cda/consol/FamilyHistorySection2.java | 9 +- .../uml/cda/consol/FetusSubjectContext.java | 9 +- .../mdht/uml/cda/consol/FindingsSection.java | 7 +- .../consol/FunctionalStatusObservation2.java | 10 +- .../consol/FunctionalStatusOrganizer2.java | 14 +- .../FunctionalStatusProblemObservation.java | 18 +- .../FunctionalStatusResultObservation.java | 26 +- .../FunctionalStatusResultOrganizer.java | 8 +- .../cda/consol/FunctionalStatusSection.java | 55 +- .../cda/consol/FunctionalStatusSection2.java | 28 +- .../cda/consol/GeneralHeaderConstraints.java | 557 ++++---- .../uml/cda/consol/GeneralStatusSection.java | 7 +- .../mdht/uml/cda/consol/GoalObservation.java | 39 +- .../mdht/uml/cda/consol/GoalsSection.java | 11 +- .../HandoffCommunicationParticipants.java | 27 +- .../mdht/uml/cda/consol/HealthConcernAct.java | 145 +- .../uml/cda/consol/HealthConcernsSection.java | 19 +- ...thStatusEvaluationsAndOutcomesSection.java | 11 +- .../cda/consol/HealthStatusObservation.java | 15 +- .../cda/consol/HealthStatusObservation2.java | 8 +- .../cda/consol/HighestPressureUlcerStage.java | 11 +- .../cda/consol/HistoryAndPhysicalNote.java | 128 +- .../cda/consol/HistoryAndPhysicalNote2.java | 136 +- .../consol/HistoryOfPastIllnessSection.java | 11 +- .../consol/HistoryOfPastIllnessSection2.java | 9 +- .../HistoryOfPresentIllnessSection.java | 7 +- .../consol/HospitalAdmissionDiagnosis.java | 11 +- .../consol/HospitalAdmissionDiagnosis2.java | 8 +- .../HospitalAdmissionDiagnosisSection.java | 11 +- ...sionMedicationsSectionEntriesOptional.java | 11 +- .../consol/HospitalConsultationsSection.java | 7 +- .../uml/cda/consol/HospitalCourseSection.java | 7 +- .../consol/HospitalDischargeDiagnosis.java | 11 +- .../consol/HospitalDischargeDiagnosis2.java | 8 +- .../HospitalDischargeDiagnosisSection.java | 11 +- .../HospitalDischargeInstructionsSection.java | 7 +- .../HospitalDischargeMedicationsSection.java | 6 +- ...argeMedicationsSectionEntriesOptional.java | 11 +- .../HospitalDischargePhysicalSection.java | 7 +- ...ospitalDischargeStudiesSummarySection.java | 7 +- .../uml/cda/consol/ImmunizationActivity.java | 63 +- .../uml/cda/consol/ImmunizationActivity2.java | 34 +- .../ImmunizationMedicationInformation.java | 25 +- .../ImmunizationMedicationInformation2.java | 14 +- .../cda/consol/ImmunizationRefusalReason.java | 9 +- .../uml/cda/consol/ImmunizationsSection.java | 8 +- .../uml/cda/consol/ImmunizationsSection2.java | 4 - .../ImmunizationsSectionEntriesOptional.java | 11 +- .../ImmunizationsSectionEntriesOptional2.java | 6 +- .../mdht/uml/cda/consol/Indication.java | 15 +- .../mdht/uml/cda/consol/Indication2.java | 6 +- .../mdht/uml/cda/consol/Instruction2.java | 6 +- .../mdht/uml/cda/consol/Instructions.java | 11 +- .../uml/cda/consol/InstructionsSection.java | 11 +- .../uml/cda/consol/InstructionsSection2.java | 8 +- .../mdht/uml/cda/consol/InterventionAct.java | 75 +- .../uml/cda/consol/InterventionsSection.java | 7 +- .../uml/cda/consol/InterventionsSection2.java | 18 +- .../LongitudinalCareWoundObservation.java | 42 +- .../cda/consol/MedicalEquipmentOrganizer.java | 23 +- .../cda/consol/MedicalEquipmentSection.java | 11 +- .../cda/consol/MedicalEquipmentSection2.java | 16 +- .../uml/cda/consol/MedicalHistorySection.java | 7 +- .../uml/cda/consol/MedicationActivity.java | 73 +- .../uml/cda/consol/MedicationActivity2.java | 40 +- .../uml/cda/consol/MedicationDispense.java | 41 +- .../uml/cda/consol/MedicationDispense2.java | 8 +- .../uml/cda/consol/MedicationFreeTextSig.java | 19 +- .../uml/cda/consol/MedicationInformation.java | 23 +- .../cda/consol/MedicationInformation2.java | 12 +- .../uml/cda/consol/MedicationSupplyOrder.java | 21 +- .../cda/consol/MedicationSupplyOrder2.java | 8 +- .../cda/consol/MedicationUseNoneKnown.java | 17 +- .../MedicationsAdministeredSection.java | 11 +- .../MedicationsAdministeredSection2.java | 9 +- .../uml/cda/consol/MedicationsSection.java | 8 +- .../uml/cda/consol/MedicationsSection2.java | 4 - .../MedicationsSectionEntriesOptional.java | 11 +- .../MedicationsSectionEntriesOptional2.java | 6 +- .../cda/consol/MentalStatusObservation.java | 19 +- .../cda/consol/MentalStatusObservation2.java | 18 +- .../cda/consol/MentalStatusOrganizer2.java | 10 +- .../uml/cda/consol/MentalStatusSection.java | 19 +- .../consol/NonMedicinalSupplyActivity.java | 19 +- .../consol/NonMedicinalSupplyActivity2.java | 14 +- .../NumberOfPressureUlcersObservation.java | 27 +- .../NumberOfPressureUlcersObservation2.java | 14 +- .../uml/cda/consol/NutritionAssessment.java | 15 +- .../cda/consol/NutritionRecommendation.java | 31 +- .../mdht/uml/cda/consol/NutritionSection.java | 11 +- .../consol/NutritionalStatusObservation.java | 17 +- .../mdht/uml/cda/consol/ObjectiveSection.java | 7 +- .../mdht/uml/cda/consol/ObserverContext.java | 9 +- .../mdht/uml/cda/consol/OperativeNote.java | 102 +- .../mdht/uml/cda/consol/OperativeNote2.java | 116 +- .../cda/consol/OperativeNoteFluidSection.java | 7 +- ...OperativeNoteSurgicalProcedureSection.java | 7 +- .../uml/cda/consol/OutcomeObservation.java | 35 +- .../uml/cda/consol/PatientReferralAct.java | 51 +- .../mdht/uml/cda/consol/PayersSection.java | 11 +- .../mdht/uml/cda/consol/PayersSection2.java | 9 +- .../uml/cda/consol/PhysicalExamSection.java | 19 +- .../uml/cda/consol/PhysicalExamSection2.java | 28 +- .../consol/PhysicalFindingsOfSkinSection.java | 11 +- .../PhysicianReadingStudyPerformer.java | 27 +- .../PhysicianReadingStudyPerformer2.java | 6 +- .../consol/PhysicianofRecordParticipant.java | 21 +- .../consol/PhysicianofRecordParticipant2.java | 10 +- .../uml/cda/consol/PlanOfCareActivityAct.java | 9 +- .../consol/PlanOfCareActivityEncounter.java | 9 +- .../consol/PlanOfCareActivityObservation.java | 9 +- .../consol/PlanOfCareActivityProcedure.java | 9 +- ...OfCareActivitySubstanceAdministration.java | 9 +- .../cda/consol/PlanOfCareActivitySupply.java | 9 +- .../uml/cda/consol/PlanOfCareSection.java | 35 +- .../cda/consol/PlanOfTreatmentSection2.java | 36 +- .../mdht/uml/cda/consol/PlannedAct2.java | 22 +- .../mdht/uml/cda/consol/PlannedCoverage.java | 31 +- .../uml/cda/consol/PlannedEncounter2.java | 26 +- .../consol/PlannedImmunizationActivity.java | 47 +- .../cda/consol/PlannedInterventionAct.java | 101 +- .../consol/PlannedMedicationActivity2.java | 54 +- .../uml/cda/consol/PlannedObservation2.java | 34 +- .../uml/cda/consol/PlannedProcedure2.java | 34 +- .../cda/consol/PlannedProcedureSection.java | 11 +- .../cda/consol/PlannedProcedureSection2.java | 9 +- .../mdht/uml/cda/consol/PlannedSupply2.java | 42 +- .../mdht/uml/cda/consol/PolicyActivity.java | 179 ++- .../mdht/uml/cda/consol/PolicyActivity2.java | 54 +- .../consol/PostoperativeDiagnosisSection.java | 7 +- .../cda/consol/PostprocedureDiagnosis.java | 11 +- .../cda/consol/PostprocedureDiagnosis2.java | 8 +- .../consol/PostprocedureDiagnosisSection.java | 11 +- .../PostprocedureDiagnosisSection2.java | 8 +- ...reconditionForSubstanceAdministration.java | 7 +- ...econditionForSubstanceAdministration2.java | 6 +- .../uml/cda/consol/PregnancyObservation.java | 15 +- .../uml/cda/consol/PreoperativeDiagnosis.java | 11 +- .../cda/consol/PreoperativeDiagnosis2.java | 8 +- .../consol/PreoperativeDiagnosisSection.java | 11 +- .../consol/PreoperativeDiagnosisSection2.java | 8 +- .../cda/consol/PressureUlcerObservation.java | 81 +- .../uml/cda/consol/PriorityPreference.java | 15 +- .../uml/cda/consol/ProblemConcernAct.java | 13 +- .../uml/cda/consol/ProblemConcernAct2.java | 14 +- .../uml/cda/consol/ProblemObservation.java | 37 +- .../uml/cda/consol/ProblemObservation2.java | 32 +- .../mdht/uml/cda/consol/ProblemSection.java | 6 +- .../mdht/uml/cda/consol/ProblemSection2.java | 6 +- .../consol/ProblemSectionEntriesOptional.java | 11 +- .../ProblemSectionEntriesOptional2.java | 10 +- .../mdht/uml/cda/consol/ProblemStatus.java | 13 +- .../mdht/uml/cda/consol/ProblemStatus2.java | 6 +- .../uml/cda/consol/ProcedureActivityAct.java | 69 +- .../uml/cda/consol/ProcedureActivityAct2.java | 14 +- .../consol/ProcedureActivityObservation.java | 77 +- .../consol/ProcedureActivityObservation2.java | 20 +- .../consol/ProcedureActivityProcedure.java | 87 +- .../consol/ProcedureActivityProcedure2.java | 18 +- .../mdht/uml/cda/consol/ProcedureContext.java | 9 +- .../consol/ProcedureDescriptionSection.java | 7 +- .../consol/ProcedureDispositionSection.java | 7 +- .../ProcedureEstimatedBloodLossSection.java | 7 +- .../cda/consol/ProcedureFindingsSection.java | 11 +- .../cda/consol/ProcedureFindingsSection2.java | 9 +- .../cda/consol/ProcedureImplantsSection.java | 7 +- .../consol/ProcedureIndicationsSection.java | 11 +- .../consol/ProcedureIndicationsSection2.java | 9 +- .../mdht/uml/cda/consol/ProcedureNote.java | 176 ++- .../mdht/uml/cda/consol/ProcedureNote2.java | 202 ++- .../ProcedureSpecimensTakenSection.java | 7 +- .../uml/cda/consol/ProceduresSection.java | 18 +- .../uml/cda/consol/ProceduresSection2.java | 14 +- .../ProceduresSectionEntriesOptional.java | 19 +- .../ProceduresSectionEntriesOptional2.java | 10 +- .../mdht/uml/cda/consol/ProductInstance.java | 17 +- .../uml/cda/consol/PrognosisObservation.java | 9 +- .../mdht/uml/cda/consol/ProgressNote.java | 112 +- .../mdht/uml/cda/consol/ProgressNote2.java | 102 +- .../consol/ProgressTowardGoalObservation.java | 13 +- .../consol/PurposeofReferenceObservation.java | 9 +- .../QuantityMeasurementObservation.java | 13 +- .../uml/cda/consol/ReactionObservation.java | 35 +- .../uml/cda/consol/ReactionObservation2.java | 12 +- .../cda/consol/ReasonForReferralSection.java | 7 +- .../cda/consol/ReasonForReferralSection2.java | 10 +- .../uml/cda/consol/ReasonForVisitSection.java | 7 +- .../consol/ReferencedFramesObservation.java | 11 +- .../mdht/uml/cda/consol/ReferralNote.java | 150 +-- .../uml/cda/consol/ResultObservation.java | 25 +- .../uml/cda/consol/ResultObservation2.java | 18 +- .../mdht/uml/cda/consol/ResultOrganizer.java | 13 +- .../mdht/uml/cda/consol/ResultOrganizer2.java | 14 +- .../mdht/uml/cda/consol/ResultsSection.java | 8 +- .../mdht/uml/cda/consol/ResultsSection2.java | 4 - .../consol/ResultsSectionEntriesOptional.java | 11 +- .../ResultsSectionEntriesOptional2.java | 6 +- .../cda/consol/ReviewOfSystemsSection.java | 7 +- .../mdht/uml/cda/consol/RiskConcernAct.java | 165 ++- .../cda/consol/SOPInstanceObservation.java | 25 +- .../uml/cda/consol/SelfCareActivities.java | 13 +- .../mdht/uml/cda/consol/SensoryStatus.java | 21 +- .../mdht/uml/cda/consol/SeriesAct.java | 25 +- .../cda/consol/ServiceDeliveryLocation.java | 17 +- .../uml/cda/consol/SeverityObservation.java | 15 +- .../uml/cda/consol/SeverityObservation2.java | 6 +- .../consol/SmokingStatusMeaningfulUse2.java | 12 +- .../cda/consol/SmokingStatusObservation.java | 25 +- .../cda/consol/SocialHistoryObservation.java | 11 +- .../cda/consol/SocialHistoryObservation2.java | 16 +- .../uml/cda/consol/SocialHistorySection.java | 23 +- .../uml/cda/consol/SocialHistorySection2.java | 28 +- .../mdht/uml/cda/consol/StudyAct.java | 21 +- .../uml/cda/consol/SubjectiveSection.java | 7 +- .../cda/consol/SubstanceAdministeredAct.java | 9 +- .../SubstanceOrDeviceAllergyObservation.java | 57 +- .../SubstanceOrDeviceAllergyObservation2.java | 30 +- .../uml/cda/consol/SurgicalDrainsSection.java | 7 +- .../mdht/uml/cda/consol/TextObservation.java | 21 +- .../mdht/uml/cda/consol/TobaccoUse.java | 17 +- .../mdht/uml/cda/consol/TobaccoUse2.java | 14 +- .../mdht/uml/cda/consol/TransferSummary.java | 174 ++- .../mdht/uml/cda/consol/USRealmHeader2.java | 48 +- ...USRealmHeaderPatientGeneratedDocument.java | 134 +- .../uml/cda/consol/UnstructuredDocument.java | 34 +- .../uml/cda/consol/UnstructuredDocument2.java | 28 +- .../uml/cda/consol/VitalSignObservation.java | 23 +- .../uml/cda/consol/VitalSignObservation2.java | 10 +- .../uml/cda/consol/VitalSignsOrganizer.java | 13 +- .../uml/cda/consol/VitalSignsOrganizer2.java | 14 +- .../uml/cda/consol/VitalSignsSection.java | 8 +- .../uml/cda/consol/VitalSignsSection2.java | 4 - .../VitalSignsSectionEntriesOptional.java | 11 +- .../VitalSignsSectionEntriesOptional2.java | 6 +- .../uml/cda/consol/WoundCharacteristic.java | 13 +- .../consol/WoundMeasurementObservation.java | 11 +- .../impl/AdmissionDiagnosisSection2Impl.java | 1 - .../consol/impl/AdmissionMedication2Impl.java | 1 - .../consol/impl/AdmissionMedicationImpl.java | 1 - ...edicationsSectionEntriesOptional2Impl.java | 1 - .../AdvanceDirectiveObservation2Impl.java | 1 - .../impl/AdvanceDirectiveObservationImpl.java | 1 - .../impl/AdvanceDirectiveOrganizerImpl.java | 1 - .../impl/AdvanceDirectivesSection2Impl.java | 1 - ...DirectivesSectionEntriesOptional2Impl.java | 1 - ...eDirectivesSectionEntriesOptionalImpl.java | 1 - .../impl/AdvanceDirectivesSectionImpl.java | 1 - .../cda/consol/impl/AgeObservationImpl.java | 1 - .../consol/impl/AllergiesSection2Impl.java | 1 - .../AllergiesSectionEntriesOptional2Impl.java | 1 - .../AllergiesSectionEntriesOptionalImpl.java | 1 - .../cda/consol/impl/AllergiesSectionImpl.java | 1 - .../consol/impl/AllergyConcernAct2Impl.java | 1 - .../consol/impl/AllergyObservation2Impl.java | 1 - .../consol/impl/AllergyObservationImpl.java | 1 - .../consol/impl/AllergyProblemActImpl.java | 1 - .../impl/AllergyStatusObservation2Impl.java | 6 - .../impl/AllergyStatusObservationImpl.java | 1 - .../consol/impl/AnesthesiaSection2Impl.java | 1 - .../consol/impl/AnesthesiaSectionImpl.java | 1 - .../impl/AssessmentAndPlanSection2Impl.java | 1 - .../impl/AssessmentAndPlanSectionImpl.java | 1 - .../impl/AssessmentScaleObservationImpl.java | 1 - ...essmentScaleSupportingObservationImpl.java | 1 - .../consol/impl/AssessmentSectionImpl.java | 1 - .../consol/impl/AuthorParticipationImpl.java | 1 - .../impl/AuthorizationActivityImpl.java | 1 - .../consol/impl/BirthSexObservationImpl.java | 7 - .../consol/impl/BoundaryObservationImpl.java | 1 - .../uml/cda/consol/impl/CarePlanImpl.java | 1 - .../impl/CaregiverCharacteristicsImpl.java | 1 - .../CharacteristicsOfHomeEnvironmentImpl.java | 1 - ...ComplaintAndReasonForVisitSectionImpl.java | 1 - .../impl/ChiefComplaintSectionImpl.java | 1 - .../cda/consol/impl/CodeObservationsImpl.java | 1 - .../CognitiveAbilitiesObservationImpl.java | 1 - ...CognitiveStatusProblemObservationImpl.java | 1 - .../CognitiveStatusResultObservationImpl.java | 1 - .../CognitiveStatusResultOrganizerImpl.java | 1 - .../cda/consol/impl/CommentActivityImpl.java | 1 - .../impl/ComplicationsSection2Impl.java | 1 - .../consol/impl/ComplicationsSectionImpl.java | 1 - .../cda/consol/impl/ConsolPackageImpl.java | 10 + .../consol/impl/ConsultationNote2Impl.java | 1 - .../cda/consol/impl/ConsultationNoteImpl.java | 1 - .../impl/ContinuityOfCareDocument2Impl.java | 1 - .../impl/ContinuityOfCareDocumentImpl.java | 1 - .../consol/impl/CourseOfCareSectionImpl.java | 1 - .../consol/impl/CoverageActivity2Impl.java | 1 - .../cda/consol/impl/CoverageActivityImpl.java | 1 - .../impl/CriticalityObservationImpl.java | 7 - .../CulturalAndReligiousObservationImpl.java | 1 - .../impl/DICOMObjectCatalogSectionImpl.java | 1 - .../consol/impl/DeceasedObservation2Impl.java | 1 - .../consol/impl/DeceasedObservationImpl.java | 1 - .../impl/DiagnosticImagingReport2Impl.java | 1 - .../impl/DiagnosticImagingReportImpl.java | 1 - .../impl/DischargeDiagnosisSection2Impl.java | 1 - .../consol/impl/DischargeDietSectionImpl.java | 1 - .../consol/impl/DischargeMedication2Impl.java | 1 - .../consol/impl/DischargeMedicationImpl.java | 1 - .../DischargeMedicationsSection2Impl.java | 1 - ...edicationsSectionEntriesOptional2Impl.java | 1 - .../consol/impl/DischargeSummary2Impl.java | 1 - .../cda/consol/impl/DischargeSummaryImpl.java | 1 - .../consol/impl/DrugMonitoringActImpl.java | 1 - .../uml/cda/consol/impl/DrugVehicleImpl.java | 1 - .../consol/impl/EncounterActivitiesImpl.java | 1 - .../consol/impl/EncounterActivity2Impl.java | 1 - .../consol/impl/EncounterDiagnosis2Impl.java | 1 - .../consol/impl/EncounterDiagnosisImpl.java | 1 - .../consol/impl/EncountersSection2Impl.java | 1 - ...EncountersSectionEntriesOptional2Impl.java | 1 - .../EncountersSectionEntriesOptionalImpl.java | 1 - .../consol/impl/EncountersSectionImpl.java | 1 - .../cda/consol/impl/EntryReferenceImpl.java | 1 - .../impl/EstimatedDateOfDeliveryImpl.java | 1 - .../impl/ExternalDocumentReferenceImpl.java | 1 - .../FamilyHistoryDeathObservationImpl.java | 1 - .../impl/FamilyHistoryObservation2Impl.java | 1 - .../impl/FamilyHistoryObservationImpl.java | 1 - .../impl/FamilyHistoryOrganizer2Impl.java | 1 - .../impl/FamilyHistoryOrganizerImpl.java | 1 - .../impl/FamilyHistorySection2Impl.java | 1 - .../consol/impl/FamilyHistorySectionImpl.java | 1 - .../consol/impl/FetusSubjectContextImpl.java | 1 - .../cda/consol/impl/FindingsSectionImpl.java | 1 - .../FunctionalStatusObservation2Impl.java | 1 - .../impl/FunctionalStatusOrganizer2Impl.java | 1 - ...unctionalStatusProblemObservationImpl.java | 1 - ...FunctionalStatusResultObservationImpl.java | 1 - .../FunctionalStatusResultOrganizerImpl.java | 1 - .../impl/FunctionalStatusSection2Impl.java | 1 - .../impl/FunctionalStatusSectionImpl.java | 1 - .../impl/GeneralHeaderConstraintsImpl.java | 1 - .../consol/impl/GeneralStatusSectionImpl.java | 1 - .../cda/consol/impl/GoalObservationImpl.java | 1 - .../uml/cda/consol/impl/GoalsSectionImpl.java | 1 - .../HandoffCommunicationParticipantsImpl.java | 1 - .../cda/consol/impl/HealthConcernActImpl.java | 1 - .../impl/HealthConcernsSectionImpl.java | 1 - ...atusEvaluationsAndOutcomesSectionImpl.java | 1 - .../impl/HealthStatusObservation2Impl.java | 1 - .../impl/HealthStatusObservationImpl.java | 1 - .../impl/HighestPressureUlcerStageImpl.java | 1 - .../impl/HistoryAndPhysicalNote2Impl.java | 1 - .../impl/HistoryAndPhysicalNoteImpl.java | 1 - .../HistoryOfPastIllnessSection2Impl.java | 1 - .../impl/HistoryOfPastIllnessSectionImpl.java | 1 - .../HistoryOfPresentIllnessSectionImpl.java | 1 - .../impl/HospitalAdmissionDiagnosis2Impl.java | 1 - .../impl/HospitalAdmissionDiagnosisImpl.java | 1 - ...HospitalAdmissionDiagnosisSectionImpl.java | 1 - ...MedicationsSectionEntriesOptionalImpl.java | 1 - .../HospitalConsultationsSectionImpl.java | 1 - .../impl/HospitalCourseSectionImpl.java | 1 - .../impl/HospitalDischargeDiagnosis2Impl.java | 1 - .../impl/HospitalDischargeDiagnosisImpl.java | 1 - ...HospitalDischargeDiagnosisSectionImpl.java | 1 - ...pitalDischargeInstructionsSectionImpl.java | 1 - ...MedicationsSectionEntriesOptionalImpl.java | 1 - ...spitalDischargeMedicationsSectionImpl.java | 1 - .../HospitalDischargePhysicalSectionImpl.java | 1 - ...talDischargeStudiesSummarySectionImpl.java | 1 - .../impl/ImmunizationActivity2Impl.java | 1 - .../consol/impl/ImmunizationActivityImpl.java | 1 - ...mmunizationMedicationInformation2Impl.java | 1 - ...ImmunizationMedicationInformationImpl.java | 1 - .../impl/ImmunizationRefusalReasonImpl.java | 1 - .../impl/ImmunizationsSection2Impl.java | 1 - ...unizationsSectionEntriesOptional2Impl.java | 1 - ...munizationsSectionEntriesOptionalImpl.java | 1 - .../consol/impl/ImmunizationsSectionImpl.java | 1 - .../uml/cda/consol/impl/Indication2Impl.java | 1 - .../uml/cda/consol/impl/IndicationImpl.java | 1 - .../uml/cda/consol/impl/Instruction2Impl.java | 1 - .../uml/cda/consol/impl/InstructionsImpl.java | 1 - .../consol/impl/InstructionsSection2Impl.java | 1 - .../consol/impl/InstructionsSectionImpl.java | 1 - .../cda/consol/impl/InterventionActImpl.java | 1 - .../impl/InterventionsSection2Impl.java | 1 - .../consol/impl/InterventionsSectionImpl.java | 1 - .../LongitudinalCareWoundObservationImpl.java | 1 - .../impl/MedicalEquipmentOrganizerImpl.java | 1 - .../impl/MedicalEquipmentSection2Impl.java | 1 - .../impl/MedicalEquipmentSectionImpl.java | 1 - .../impl/MedicalHistorySectionImpl.java | 1 - .../consol/impl/MedicationActivity2Impl.java | 1 - .../consol/impl/MedicationActivityImpl.java | 1 - .../consol/impl/MedicationDispense2Impl.java | 1 - .../consol/impl/MedicationDispenseImpl.java | 1 - .../impl/MedicationFreeTextSigImpl.java | 1 - .../impl/MedicationInformation2Impl.java | 1 - .../impl/MedicationInformationImpl.java | 1 - .../impl/MedicationSupplyOrder2Impl.java | 1 - .../impl/MedicationSupplyOrderImpl.java | 1 - .../impl/MedicationUseNoneKnownImpl.java | 1 - .../MedicationsAdministeredSection2Impl.java | 1 - .../MedicationsAdministeredSectionImpl.java | 1 - .../consol/impl/MedicationsSection2Impl.java | 1 - ...edicationsSectionEntriesOptional2Impl.java | 1 - ...MedicationsSectionEntriesOptionalImpl.java | 1 - .../consol/impl/MedicationsSectionImpl.java | 1 - .../impl/MentalStatusObservation2Impl.java | 1 - .../impl/MentalStatusObservationImpl.java | 1 - .../impl/MentalStatusOrganizer2Impl.java | 1 - .../consol/impl/MentalStatusSectionImpl.java | 1 - .../impl/NonMedicinalSupplyActivity2Impl.java | 1 - .../impl/NonMedicinalSupplyActivityImpl.java | 1 - ...umberOfPressureUlcersObservation2Impl.java | 1 - ...NumberOfPressureUlcersObservationImpl.java | 1 - .../consol/impl/NutritionAssessmentImpl.java | 1 - .../impl/NutritionRecommendationImpl.java | 1 - .../cda/consol/impl/NutritionSectionImpl.java | 1 - .../NutritionalStatusObservationImpl.java | 1 - .../cda/consol/impl/ObjectiveSectionImpl.java | 1 - .../cda/consol/impl/ObserverContextImpl.java | 1 - .../cda/consol/impl/OperativeNote2Impl.java | 1 - .../impl/OperativeNoteFluidSectionImpl.java | 1 - .../cda/consol/impl/OperativeNoteImpl.java | 1 - ...ativeNoteSurgicalProcedureSectionImpl.java | 1 - .../consol/impl/OutcomeObservationImpl.java | 1 - .../consol/impl/PatientReferralActImpl.java | 1 - .../cda/consol/impl/PayersSection2Impl.java | 1 - .../cda/consol/impl/PayersSectionImpl.java | 1 - .../consol/impl/PhysicalExamSection2Impl.java | 1 - .../consol/impl/PhysicalExamSectionImpl.java | 1 - .../PhysicalFindingsOfSkinSectionImpl.java | 1 - .../PhysicianReadingStudyPerformer2Impl.java | 1 - .../PhysicianReadingStudyPerformerImpl.java | 1 - .../PhysicianofRecordParticipant2Impl.java | 1 - .../PhysicianofRecordParticipantImpl.java | 1 - .../impl/PlanOfCareActivityActImpl.java | 1 - .../impl/PlanOfCareActivityEncounterImpl.java | 1 - .../PlanOfCareActivityObservationImpl.java | 1 - .../impl/PlanOfCareActivityProcedureImpl.java | 1 - ...reActivitySubstanceAdministrationImpl.java | 1 - .../impl/PlanOfCareActivitySupplyImpl.java | 1 - .../consol/impl/PlanOfCareSectionImpl.java | 1 - .../impl/PlanOfTreatmentSection2Impl.java | 1 - .../uml/cda/consol/impl/PlannedAct2Impl.java | 1 - .../cda/consol/impl/PlannedCoverageImpl.java | 1 - .../consol/impl/PlannedEncounter2Impl.java | 1 - .../impl/PlannedImmunizationActivityImpl.java | 1 - .../impl/PlannedInterventionActImpl.java | 1 - .../impl/PlannedMedicationActivity2Impl.java | 1 - .../consol/impl/PlannedObservation2Impl.java | 1 - .../consol/impl/PlannedProcedure2Impl.java | 1 - .../impl/PlannedProcedureSection2Impl.java | 1 - .../impl/PlannedProcedureSectionImpl.java | 1 - .../cda/consol/impl/PlannedSupply2Impl.java | 1 - .../cda/consol/impl/PolicyActivity2Impl.java | 1 - .../cda/consol/impl/PolicyActivityImpl.java | 1 - .../PostoperativeDiagnosisSectionImpl.java | 1 - .../impl/PostprocedureDiagnosis2Impl.java | 1 - .../impl/PostprocedureDiagnosisImpl.java | 1 - .../PostprocedureDiagnosisSection2Impl.java | 1 - .../PostprocedureDiagnosisSectionImpl.java | 1 - ...ditionForSubstanceAdministration2Impl.java | 1 - ...nditionForSubstanceAdministrationImpl.java | 1 - .../consol/impl/PregnancyObservationImpl.java | 1 - .../impl/PreoperativeDiagnosis2Impl.java | 1 - .../impl/PreoperativeDiagnosisImpl.java | 1 - .../PreoperativeDiagnosisSection2Impl.java | 1 - .../PreoperativeDiagnosisSectionImpl.java | 1 - .../impl/PressureUlcerObservationImpl.java | 1 - .../consol/impl/PriorityPreferenceImpl.java | 1 - .../consol/impl/ProblemConcernAct2Impl.java | 1 - .../consol/impl/ProblemConcernActImpl.java | 1 - .../consol/impl/ProblemObservation2Impl.java | 1 - .../consol/impl/ProblemObservationImpl.java | 1 - .../cda/consol/impl/ProblemSection2Impl.java | 1 - .../ProblemSectionEntriesOptional2Impl.java | 1 - .../ProblemSectionEntriesOptionalImpl.java | 1 - .../cda/consol/impl/ProblemSectionImpl.java | 1 - .../cda/consol/impl/ProblemStatus2Impl.java | 6 - .../cda/consol/impl/ProblemStatusImpl.java | 1 - .../impl/ProcedureActivityAct2Impl.java | 1 - .../consol/impl/ProcedureActivityActImpl.java | 1 - .../ProcedureActivityObservation2Impl.java | 1 - .../ProcedureActivityObservationImpl.java | 1 - .../impl/ProcedureActivityProcedure2Impl.java | 1 - .../impl/ProcedureActivityProcedureImpl.java | 1 - .../cda/consol/impl/ProcedureContextImpl.java | 1 - .../impl/ProcedureDescriptionSectionImpl.java | 1 - .../impl/ProcedureDispositionSectionImpl.java | 1 - ...rocedureEstimatedBloodLossSectionImpl.java | 1 - .../impl/ProcedureFindingsSection2Impl.java | 1 - .../impl/ProcedureFindingsSectionImpl.java | 1 - .../impl/ProcedureImplantsSectionImpl.java | 1 - .../ProcedureIndicationsSection2Impl.java | 1 - .../impl/ProcedureIndicationsSectionImpl.java | 1 - .../cda/consol/impl/ProcedureNote2Impl.java | 1 - .../cda/consol/impl/ProcedureNoteImpl.java | 1 - .../ProcedureSpecimensTakenSectionImpl.java | 1 - .../consol/impl/ProceduresSection2Impl.java | 1 - ...ProceduresSectionEntriesOptional2Impl.java | 1 - .../ProceduresSectionEntriesOptionalImpl.java | 1 - .../consol/impl/ProceduresSectionImpl.java | 1 - .../cda/consol/impl/ProductInstanceImpl.java | 1 - .../consol/impl/PrognosisObservationImpl.java | 1 - .../cda/consol/impl/ProgressNote2Impl.java | 1 - .../uml/cda/consol/impl/ProgressNoteImpl.java | 1 - .../ProgressTowardGoalObservationImpl.java | 1 - .../PurposeofReferenceObservationImpl.java | 1 - .../QuantityMeasurementObservationImpl.java | 1 - .../consol/impl/ReactionObservation2Impl.java | 1 - .../consol/impl/ReactionObservationImpl.java | 1 - .../impl/ReasonForReferralSection2Impl.java | 1 - .../impl/ReasonForReferralSectionImpl.java | 1 - .../impl/ReasonForVisitSectionImpl.java | 1 - .../impl/ReferencedFramesObservationImpl.java | 1 - .../uml/cda/consol/impl/ReferralNoteImpl.java | 1 - .../consol/impl/ResultObservation2Impl.java | 1 - .../consol/impl/ResultObservationImpl.java | 1 - .../cda/consol/impl/ResultOrganizer2Impl.java | 1 - .../cda/consol/impl/ResultOrganizerImpl.java | 1 - .../cda/consol/impl/ResultsSection2Impl.java | 1 - .../ResultsSectionEntriesOptional2Impl.java | 1 - .../ResultsSectionEntriesOptionalImpl.java | 1 - .../cda/consol/impl/ResultsSectionImpl.java | 1 - .../impl/ReviewOfSystemsSectionImpl.java | 1 - .../cda/consol/impl/RiskConcernActImpl.java | 1 - .../impl/SOPInstanceObservationImpl.java | 1 - .../consol/impl/SelfCareActivitiesImpl.java | 1 - .../cda/consol/impl/SensoryStatusImpl.java | 1 - .../uml/cda/consol/impl/SeriesActImpl.java | 1 - .../impl/ServiceDeliveryLocationImpl.java | 1 - .../consol/impl/SeverityObservation2Impl.java | 1 - .../consol/impl/SeverityObservationImpl.java | 1 - .../impl/SmokingStatusMeaningfulUse2Impl.java | 1 - .../impl/SmokingStatusObservationImpl.java | 1 - .../impl/SocialHistoryObservation2Impl.java | 1 - .../impl/SocialHistoryObservationImpl.java | 1 - .../impl/SocialHistorySection2Impl.java | 1 - .../consol/impl/SocialHistorySectionImpl.java | 1 - .../uml/cda/consol/impl/StudyActImpl.java | 1 - .../consol/impl/SubjectiveSectionImpl.java | 1 - .../impl/SubstanceAdministeredActImpl.java | 1 - ...stanceOrDeviceAllergyObservation2Impl.java | 1 - ...bstanceOrDeviceAllergyObservationImpl.java | 1 - .../impl/SurgicalDrainsSectionImpl.java | 1 - .../cda/consol/impl/TextObservationImpl.java | 1 - .../uml/cda/consol/impl/TobaccoUse2Impl.java | 1 - .../uml/cda/consol/impl/TobaccoUseImpl.java | 1 - .../cda/consol/impl/TransferSummaryImpl.java | 1 - .../cda/consol/impl/USRealmHeader2Impl.java | 1 - ...almHeaderPatientGeneratedDocumentImpl.java | 1 - .../impl/UnstructuredDocument2Impl.java | 1 - .../consol/impl/UnstructuredDocumentImpl.java | 1 - .../impl/VitalSignObservation2Impl.java | 1 - .../consol/impl/VitalSignObservationImpl.java | 1 - .../consol/impl/VitalSignsOrganizer2Impl.java | 1 - .../consol/impl/VitalSignsOrganizerImpl.java | 1 - .../consol/impl/VitalSignsSection2Impl.java | 1 - ...VitalSignsSectionEntriesOptional2Impl.java | 1 - .../VitalSignsSectionEntriesOptionalImpl.java | 1 - .../consol/impl/VitalSignsSectionImpl.java | 1 - .../consol/impl/WoundCharacteristicImpl.java | 1 - .../impl/WoundMeasurementObservationImpl.java | 1 - .../AdmissionDiagnosisSection2Operations.java | 15 + .../AdmissionMedication2Operations.java | 9 + .../AdmissionMedicationOperations.java | 13 + ...ionsSectionEntriesOptional2Operations.java | 21 + ...dvanceDirectiveObservation2Operations.java | 122 ++ ...AdvanceDirectiveObservationOperations.java | 84 ++ .../AdvanceDirectiveOrganizerOperations.java | 23 + .../AdvanceDirectivesSection2Operations.java | 37 + ...ivesSectionEntriesOptional2Operations.java | 21 + ...tivesSectionEntriesOptionalOperations.java | 22 + .../AdvanceDirectivesSectionOperations.java | 15 + .../operations/AgeObservationOperations.java | 19 + .../AllergiesSection2Operations.java | 15 + ...giesSectionEntriesOptional2Operations.java | 13 + ...rgiesSectionEntriesOptionalOperations.java | 17 + .../AllergiesSectionOperations.java | 13 + .../AllergyConcernAct2Operations.java | 15 + .../AllergyObservation2Operations.java | 100 ++ .../AllergyObservationOperations.java | 86 ++ .../AllergyProblemActOperations.java | 27 + .../AllergyStatusObservation2Operations.java | 12 +- .../AllergyStatusObservationOperations.java | 13 + .../AnesthesiaSection2Operations.java | 11 + .../AnesthesiaSectionOperations.java | 15 + .../AssessmentAndPlanSection2Operations.java | 10 + .../AssessmentAndPlanSectionOperations.java | 12 + .../AssessmentScaleObservationOperations.java | 58 + ...tScaleSupportingObservationOperations.java | 32 + .../AssessmentSectionOperations.java | 11 + .../AuthorParticipationOperations.java | 34 + .../AuthorizationActivityOperations.java | 20 + .../BirthSexObservationOperations.java | 19 + .../BoundaryObservationOperations.java | 11 + .../consol/operations/CarePlanOperations.java | 156 +++ .../CaregiverCharacteristicsOperations.java | 36 + ...cteristicsOfHomeEnvironmentOperations.java | 30 + ...intAndReasonForVisitSectionOperations.java | 16 + .../ChiefComplaintSectionOperations.java | 11 + .../CodeObservationsOperations.java | 17 + ...gnitiveAbilitiesObservationOperations.java | 36 + ...iveStatusProblemObservationOperations.java | 51 + ...tiveStatusResultObservationOperations.java | 65 + ...nitiveStatusResultOrganizerOperations.java | 20 + .../operations/CommentActivityOperations.java | 19 + .../ComplicationsSection2Operations.java | 11 + .../ComplicationsSectionOperations.java | 13 + .../ConsultationNote2Operations.java | 166 +++ .../ConsultationNoteOperations.java | 122 ++ .../ContinuityOfCareDocument2Operations.java | 115 ++ .../ContinuityOfCareDocumentOperations.java | 107 ++ .../CourseOfCareSectionOperations.java | 11 + .../CoverageActivity2Operations.java | 22 + .../CoverageActivityOperations.java | 18 + .../CriticalityObservationOperations.java | 19 + ...uralAndReligiousObservationOperations.java | 30 + .../DICOMObjectCatalogSectionOperations.java | 9 + .../DeceasedObservation2Operations.java | 9 + .../DeceasedObservationOperations.java | 27 + .../DiagnosticImagingReport2Operations.java | 197 +++ .../DiagnosticImagingReportOperations.java | 111 ++ .../DischargeDiagnosisSection2Operations.java | 15 + .../DischargeDietSectionOperations.java | 11 + .../DischargeMedication2Operations.java | 17 + .../DischargeMedicationOperations.java | 11 + ...ischargeMedicationsSection2Operations.java | 26 + ...ionsSectionEntriesOptional2Operations.java | 31 + .../DischargeSummary2Operations.java | 143 ++ .../DischargeSummaryOperations.java | 123 ++ .../DrugMonitoringActOperations.java | 39 + .../operations/DrugVehicleOperations.java | 13 + .../EncounterActivitiesOperations.java | 44 + .../EncounterActivity2Operations.java | 33 + .../EncounterDiagnosis2Operations.java | 9 + .../EncounterDiagnosisOperations.java | 13 + .../EncountersSection2Operations.java | 16 + ...tersSectionEntriesOptional2Operations.java | 13 + ...ntersSectionEntriesOptionalOperations.java | 19 + .../EncountersSectionOperations.java | 13 + .../operations/EntryReferenceOperations.java | 21 + .../EstimatedDateOfDeliveryOperations.java | 13 + .../ExternalDocumentReferenceOperations.java | 15 + ...milyHistoryDeathObservationOperations.java | 18 + .../FamilyHistoryObservation2Operations.java | 11 + .../FamilyHistoryObservationOperations.java | 29 + .../FamilyHistoryOrganizer2Operations.java | 8 + .../FamilyHistoryOrganizerOperations.java | 55 + .../FamilyHistorySection2Operations.java | 5 + .../FamilyHistorySectionOperations.java | 13 + .../FetusSubjectContextOperations.java | 7 + .../operations/FindingsSectionOperations.java | 3 + ...unctionalStatusObservation2Operations.java | 40 + .../FunctionalStatusOrganizer2Operations.java | 21 + ...nalStatusProblemObservationOperations.java | 57 + ...onalStatusResultObservationOperations.java | 65 + ...tionalStatusResultOrganizerOperations.java | 21 + .../FunctionalStatusSection2Operations.java | 33 + .../FunctionalStatusSectionOperations.java | 45 + .../GeneralHeaderConstraintsOperations.java | 1196 +++++++++++++++++ .../GeneralStatusSectionOperations.java | 11 + .../operations/GoalObservationOperations.java | 39 + .../operations/GoalsSectionOperations.java | 15 + ...ffCommunicationParticipantsOperations.java | 64 + .../HealthConcernActOperations.java | 94 ++ .../HealthConcernsSectionOperations.java | 20 + ...aluationsAndOutcomesSectionOperations.java | 28 + .../HealthStatusObservation2Operations.java | 22 + .../HealthStatusObservationOperations.java | 24 + .../HighestPressureUlcerStageOperations.java | 15 + .../HistoryAndPhysicalNote2Operations.java | 161 +++ .../HistoryAndPhysicalNoteOperations.java | 143 ++ ...istoryOfPastIllnessSection2Operations.java | 10 + ...HistoryOfPastIllnessSectionOperations.java | 14 + ...toryOfPresentIllnessSectionOperations.java | 12 + ...HospitalAdmissionDiagnosis2Operations.java | 10 + .../HospitalAdmissionDiagnosisOperations.java | 12 + ...alAdmissionDiagnosisSectionOperations.java | 20 + ...tionsSectionEntriesOptionalOperations.java | 31 + ...ospitalConsultationsSectionOperations.java | 11 + .../HospitalCourseSectionOperations.java | 11 + ...HospitalDischargeDiagnosis2Operations.java | 10 + .../HospitalDischargeDiagnosisOperations.java | 12 + ...alDischargeDiagnosisSectionOperations.java | 20 + ...ischargeInstructionsSectionOperations.java | 16 + ...tionsSectionEntriesOptionalOperations.java | 31 + ...DischargeMedicationsSectionOperations.java | 26 + ...talDischargePhysicalSectionOperations.java | 16 + ...chargeStudiesSummarySectionOperations.java | 16 + .../ImmunizationActivity2Operations.java | 75 ++ .../ImmunizationActivityOperations.java | 76 ++ ...ationMedicationInformation2Operations.java | 58 + ...zationMedicationInformationOperations.java | 47 + .../ImmunizationRefusalReasonOperations.java | 13 + .../ImmunizationsSection2Operations.java | 16 + ...ionsSectionEntriesOptional2Operations.java | 14 + ...tionsSectionEntriesOptionalOperations.java | 20 + .../ImmunizationsSectionOperations.java | 13 + .../operations/Indication2Operations.java | 19 + .../operations/IndicationOperations.java | 23 + .../operations/Instruction2Operations.java | 5 + .../operations/InstructionsOperations.java | 21 + .../InstructionsSection2Operations.java | 11 + .../InstructionsSectionOperations.java | 13 + .../operations/InterventionActOperations.java | 57 + .../InterventionsSection2Operations.java | 13 + .../InterventionsSectionOperations.java | 11 + ...tudinalCareWoundObservationOperations.java | 65 + .../MedicalEquipmentOrganizerOperations.java | 30 + .../MedicalEquipmentSection2Operations.java | 16 + .../MedicalEquipmentSectionOperations.java | 14 + .../MedicalHistorySectionOperations.java | 11 + .../MedicationActivity2Operations.java | 85 ++ .../MedicationActivityOperations.java | 89 ++ .../MedicationDispense2Operations.java | 20 + .../MedicationDispenseOperations.java | 80 ++ .../MedicationFreeTextSigOperations.java | 33 + .../MedicationInformation2Operations.java | 42 + .../MedicationInformationOperations.java | 34 + .../MedicationSupplyOrder2Operations.java | 22 + .../MedicationSupplyOrderOperations.java | 28 + .../MedicationUseNoneKnownOperations.java | 31 + ...cationsAdministeredSection2Operations.java | 11 + ...icationsAdministeredSectionOperations.java | 15 + .../MedicationsSection2Operations.java | 16 + ...ionsSectionEntriesOptional2Operations.java | 17 + ...tionsSectionEntriesOptionalOperations.java | 19 + .../MedicationsSectionOperations.java | 13 + .../MentalStatusObservation2Operations.java | 72 + .../MentalStatusObservationOperations.java | 29 + .../MentalStatusOrganizer2Operations.java | 16 + .../MentalStatusSectionOperations.java | 17 + ...NonMedicinalSupplyActivity2Operations.java | 15 + .../NonMedicinalSupplyActivityOperations.java | 25 + ...fPressureUlcersObservation2Operations.java | 57 + ...OfPressureUlcersObservationOperations.java | 65 + .../NutritionAssessmentOperations.java | 25 + .../NutritionRecommendationOperations.java | 32 + .../NutritionSectionOperations.java | 13 + ...utritionalStatusObservationOperations.java | 28 + .../ObjectiveSectionOperations.java | 11 + .../operations/ObserverContextOperations.java | 5 + .../operations/OperativeNote2Operations.java | 104 ++ .../OperativeNoteFluidSectionOperations.java | 11 + .../operations/OperativeNoteOperations.java | 89 ++ ...oteSurgicalProcedureSectionOperations.java | 16 + .../OutcomeObservationOperations.java | 36 + .../PatientReferralActOperations.java | 74 + .../operations/PayersSection2Operations.java | 9 + .../operations/PayersSectionOperations.java | 13 + .../PhysicalExamSection2Operations.java | 28 + .../PhysicalExamSectionOperations.java | 18 + ...ysicalFindingsOfSkinSectionOperations.java | 15 + ...icianReadingStudyPerformer2Operations.java | 4 + ...sicianReadingStudyPerformerOperations.java | 50 + ...ysicianofRecordParticipant2Operations.java | 28 + ...hysicianofRecordParticipantOperations.java | 29 + .../PlanOfCareActivityActOperations.java | 9 + ...PlanOfCareActivityEncounterOperations.java | 9 + ...anOfCareActivityObservationOperations.java | 11 + ...PlanOfCareActivityProcedureOperations.java | 9 + ...vitySubstanceAdministrationOperations.java | 16 + .../PlanOfCareActivitySupplyOperations.java | 9 + .../PlanOfCareSectionOperations.java | 26 + .../PlanOfTreatmentSection2Operations.java | 33 + .../operations/PlannedAct2Operations.java | 25 + .../operations/PlannedCoverageOperations.java | 39 + .../PlannedEncounter2Operations.java | 30 + ...PlannedImmunizationActivityOperations.java | 69 + .../PlannedInterventionActOperations.java | 80 ++ .../PlannedMedicationActivity2Operations.java | 87 ++ .../PlannedObservation2Operations.java | 35 + .../PlannedProcedure2Operations.java | 37 + .../PlannedProcedureSection2Operations.java | 10 + .../PlannedProcedureSectionOperations.java | 14 + .../operations/PlannedSupply2Operations.java | 40 + .../operations/PolicyActivity2Operations.java | 161 +++ .../operations/PolicyActivityOperations.java | 294 ++++ ...stoperativeDiagnosisSectionOperations.java | 12 + .../PostprocedureDiagnosis2Operations.java | 9 + .../PostprocedureDiagnosisOperations.java | 11 + ...tprocedureDiagnosisSection2Operations.java | 11 + ...stprocedureDiagnosisSectionOperations.java | 15 + ...ForSubstanceAdministration2Operations.java | 20 + ...nForSubstanceAdministrationOperations.java | 13 + .../PregnancyObservationOperations.java | 21 + .../PreoperativeDiagnosis2Operations.java | 9 + .../PreoperativeDiagnosisOperations.java | 11 + ...eoperativeDiagnosisSection2Operations.java | 11 + ...reoperativeDiagnosisSectionOperations.java | 14 + .../PressureUlcerObservationOperations.java | 128 ++ .../PriorityPreferenceOperations.java | 21 + .../ProblemConcernAct2Operations.java | 23 + .../ProblemConcernActOperations.java | 23 + .../ProblemObservation2Operations.java | 58 + .../ProblemObservationOperations.java | 49 + .../operations/ProblemSection2Operations.java | 18 + ...blemSectionEntriesOptional2Operations.java | 14 + ...oblemSectionEntriesOptionalOperations.java | 15 + .../operations/ProblemSectionOperations.java | 13 + .../operations/ProblemStatus2Operations.java | 18 +- .../operations/ProblemStatusOperations.java | 21 + .../ProcedureActivityAct2Operations.java | 47 + .../ProcedureActivityActOperations.java | 106 ++ ...ocedureActivityObservation2Operations.java | 64 + ...rocedureActivityObservationOperations.java | 145 ++ ...ProcedureActivityProcedure2Operations.java | 59 + .../ProcedureActivityProcedureOperations.java | 148 ++ .../ProcedureContextOperations.java | 13 + ...ProcedureDescriptionSectionOperations.java | 11 + ...ProcedureDispositionSectionOperations.java | 11 + ...reEstimatedBloodLossSectionOperations.java | 16 + .../ProcedureFindingsSection2Operations.java | 9 + .../ProcedureFindingsSectionOperations.java | 13 + .../ProcedureImplantsSectionOperations.java | 11 + ...rocedureIndicationsSection2Operations.java | 9 + ...ProcedureIndicationsSectionOperations.java | 13 + .../operations/ProcedureNote2Operations.java | 182 +++ .../operations/ProcedureNoteOperations.java | 155 +++ ...cedureSpecimensTakenSectionOperations.java | 12 + .../ProceduresSection2Operations.java | 34 + ...uresSectionEntriesOptional2Operations.java | 21 + ...duresSectionEntriesOptionalOperations.java | 27 + .../ProceduresSectionOperations.java | 19 + .../operations/ProductInstanceOperations.java | 15 + .../PrognosisObservationOperations.java | 19 + .../operations/ProgressNote2Operations.java | 86 ++ .../operations/ProgressNoteOperations.java | 106 ++ ...ogressTowardGoalObservationOperations.java | 25 + ...rposeofReferenceObservationOperations.java | 16 + ...ntityMeasurementObservationOperations.java | 26 + .../ReactionObservation2Operations.java | 42 + .../ReactionObservationOperations.java | 46 + .../ReasonForReferralSection2Operations.java | 10 + .../ReasonForReferralSectionOperations.java | 11 + .../ReasonForVisitSectionOperations.java | 11 + ...ReferencedFramesObservationOperations.java | 12 + .../operations/ReferralNoteOperations.java | 126 ++ .../ResultObservation2Operations.java | 41 + .../ResultObservationOperations.java | 39 + .../ResultOrganizer2Operations.java | 17 + .../operations/ResultOrganizerOperations.java | 21 + .../operations/ResultsSection2Operations.java | 15 + ...ultsSectionEntriesOptional2Operations.java | 11 + ...sultsSectionEntriesOptionalOperations.java | 15 + .../operations/ResultsSectionOperations.java | 13 + .../ReviewOfSystemsSectionOperations.java | 11 + .../operations/RiskConcernActOperations.java | 101 ++ .../SOPInstanceObservationOperations.java | 37 + .../SelfCareActivitiesOperations.java | 23 + .../operations/SensoryStatusOperations.java | 29 + .../operations/SeriesActOperations.java | 29 + .../ServiceDeliveryLocationOperations.java | 18 + .../SeverityObservation2Operations.java | 23 + .../SeverityObservationOperations.java | 23 + ...SmokingStatusMeaningfulUse2Operations.java | 29 + .../SmokingStatusObservationOperations.java | 34 + .../SocialHistoryObservation2Operations.java | 32 + .../SocialHistoryObservationOperations.java | 23 + .../SocialHistorySection2Operations.java | 24 + .../SocialHistorySectionOperations.java | 19 + .../consol/operations/StudyActOperations.java | 27 + .../SubjectiveSectionOperations.java | 11 + .../SubstanceAdministeredActOperations.java | 19 + ...OrDeviceAllergyObservation2Operations.java | 123 ++ ...eOrDeviceAllergyObservationOperations.java | 120 ++ .../SurgicalDrainsSectionOperations.java | 11 + .../operations/TextObservationOperations.java | 25 + .../operations/TobaccoUse2Operations.java | 17 + .../operations/TobaccoUseOperations.java | 27 + .../operations/TransferSummaryOperations.java | 147 ++ .../operations/USRealmHeader2Operations.java | 249 ++++ ...derPatientGeneratedDocumentOperations.java | 304 +++++ .../UnstructuredDocument2Operations.java | 36 + .../UnstructuredDocumentOperations.java | 45 + .../VitalSignObservation2Operations.java | 23 + .../VitalSignObservationOperations.java | 37 + .../VitalSignsOrganizer2Operations.java | 17 + .../VitalSignsOrganizerOperations.java | 21 + .../VitalSignsSection2Operations.java | 16 + ...ignsSectionEntriesOptional2Operations.java | 13 + ...SignsSectionEntriesOptionalOperations.java | 19 + .../VitalSignsSectionOperations.java | 13 + .../WoundCharacteristicOperations.java | 23 + ...WoundMeasurementObservationOperations.java | 22 + .../tests/RegressionValidationHandler.java | 161 +++ .../uml/cda/consol/tests/TestRuleCount.java | 131 ++ .../mdht/uml/cda/consol/tests/TestXML.java | 19 + .../uml/cda/consol/util/ConsolValidator.java | 260 ++-- .../mdht/uml/cda/consol2/ConsolPlugin.java | 1 - 976 files changed, 17065 insertions(+), 5593 deletions(-) create mode 100644 generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/RegressionValidationHandler.java create mode 100644 generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestRuleCount.java diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionDiagnosisSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionDiagnosisSection2.java index 10df056665..dae581dae5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionDiagnosisSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionDiagnosisSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface AdmissionDiagnosisSection2 extends HospitalAdmissionDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.43\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.43\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAdmissionDiagnosisSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface AdmissionDiagnosisSection2 extends HospitalAdmissionDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'42347-5\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'42347-5\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateAdmissionDiagnosisSection2CETranslation(DiagnosticChain diagnostics, Map context); @@ -55,7 +51,7 @@ public interface AdmissionDiagnosisSection2 extends HospitalAdmissionDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateAdmissionDiagnosisSection2CETranslationP(DiagnosticChain diagnostics, Map context); @@ -64,7 +60,7 @@ public interface AdmissionDiagnosisSection2 extends HospitalAdmissionDiagnosisSe * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionDiagnosis2)'" * @generated */ HospitalAdmissionDiagnosis2 getConsolHospitalAdmissionDiagnosis2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication.java index 159e70ca20..96948b1e6d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface AdmissionMedication extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.36\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.36\')'" * @generated */ boolean validateAdmissionMedicationTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface AdmissionMedication extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateAdmissionMedicationMedicationActivity(DiagnosticChain diagnostics, Map context); @@ -102,7 +97,7 @@ public interface AdmissionMedication extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication2.java index 3a996c1229..a56c8bd60d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface AdmissionMedication2 extends AdmissionMedication { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.36\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.36\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAdmissionMedication2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface AdmissionMedication2 extends AdmissionMedication { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedicationsSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedicationsSectionEntriesOptional2.java index b83fba5913..7ffff19c90 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedicationsSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedicationsSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -26,7 +22,7 @@ public interface AdmissionMedicationsSectionEntriesOptional2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AdmissionMedication2)).oclAsType(consol::AdmissionMedication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AdmissionMedication2)).oclAsType(consol::AdmissionMedication2)'" * @generated */ EList getConsolAdmissionMedication2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation.java index 91f4e8a381..f517f52271 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -63,7 +58,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.48\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.48\')'" * @generated */ boolean validateAdvanceDirectiveObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -99,7 +94,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateAdvanceDirectiveObservationId(DiagnosticChain diagnostics, Map context); @@ -159,7 +154,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::VRF)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::VRF)->notEmpty()'" * @generated */ boolean validateAdvanceDirectiveObservationVerifier(DiagnosticChain diagnostics, Map context); @@ -171,7 +166,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::CST)->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::CST)->size() = 1'" * @generated */ boolean validateAdvanceDirectiveObservationCustodian(DiagnosticChain diagnostics, Map context); @@ -183,7 +178,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validateAdvanceDirectiveObservationReference(DiagnosticChain diagnostics, Map context); @@ -195,7 +190,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservationVerifierTime(DiagnosticChain diagnostics, Map context); @@ -207,7 +202,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(isDefined(\'typeCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(isDefined(\'typeCode\'))'" * @generated */ boolean validateAdvanceDirectiveObservationVerifierTypeCode(DiagnosticChain diagnostics, @@ -220,7 +215,7 @@ boolean validateAdvanceDirectiveObservationVerifierTypeCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateAdvanceDirectiveObservationVerifierParticipantRole(DiagnosticChain diagnostics, @@ -233,7 +228,7 @@ boolean validateAdvanceDirectiveObservationVerifierParticipantRole(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleCustodianEntityName(DiagnosticChain diagnostics, @@ -246,7 +241,7 @@ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleCustodianEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleAddr(DiagnosticChain diagnostics, @@ -259,7 +254,7 @@ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleAddr(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::AGNT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::AGNT)'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleClassCode(DiagnosticChain diagnostics, @@ -272,7 +267,7 @@ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleClassCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleTelecom(DiagnosticChain diagnostics, @@ -285,7 +280,7 @@ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleTelecom(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianCustodianRolePlayingEntity(DiagnosticChain diagnostics, @@ -298,7 +293,7 @@ boolean validateAdvanceDirectiveObservationCustodianCustodianRolePlayingEntity(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST)->select(typeCode=vocab::ParticipationType::CST)->reject(typeCode=vocab::ParticipationType::CST)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST)->select(typeCode=vocab::ParticipationType::CST)->reject(typeCode=vocab::ParticipationType::CST)'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianTypeCode(DiagnosticChain diagnostics, @@ -311,7 +306,7 @@ boolean validateAdvanceDirectiveObservationCustodianTypeCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST)->select(typeCode=vocab::ParticipationType::CST)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST)->select(typeCode=vocab::ParticipationType::CST)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianAdvanceDirectiveObservationCustodianRole( @@ -324,7 +319,7 @@ boolean validateAdvanceDirectiveObservationCustodianAdvanceDirectiveObservationC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.mediaType.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.mediaType.oclIsUndefined())'" * @generated */ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentTextMediaType(DiagnosticChain diagnostics, @@ -337,7 +332,7 @@ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentTextMediaTyp * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.oclIsUndefined() implies not text.reference.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.oclIsUndefined() implies not text.reference.oclIsUndefined())'" * @generated */ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentTextReference(DiagnosticChain diagnostics, @@ -350,7 +345,7 @@ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentTextReferenc * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentId(DiagnosticChain diagnostics, @@ -363,7 +358,7 @@ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentId(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject((text.oclIsUndefined() or text.isNullFlavorUndefined()) implies (not text.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject((text.oclIsUndefined() or text.isNullFlavorUndefined()) implies (not text.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentText(DiagnosticChain diagnostics, @@ -376,7 +371,7 @@ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentText(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(not typeCode.oclIsUndefined() and typeCode.oclIsKindOf(vocab::x_ActRelationshipExternalReference) and \r\nlet value : vocab::x_ActRelationshipExternalReference = typeCode.oclAsType(vocab::x_ActRelationshipExternalReference) in \r\nvalue = vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(not typeCode.oclIsUndefined() and typeCode.oclIsKindOf(vocab::x_ActRelationshipExternalReference) and \r\nlet value : vocab::x_ActRelationshipExternalReference = typeCode.oclAsType(vocab::x_ActRelationshipExternalReference) in \r\nvalue = vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validateAdvanceDirectiveObservationReferenceTypeCode(DiagnosticChain diagnostics, @@ -389,7 +384,7 @@ boolean validateAdvanceDirectiveObservationReferenceTypeCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(cda::ExternalDocument)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(cda::ExternalDocument)))'" * @generated */ boolean validateAdvanceDirectiveObservationReferenceExternalDocument(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation2.java index 5f43717de7..a73734d73a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -38,7 +34,7 @@ public interface AdvanceDirectiveObservation2 extends AdvanceDirectiveObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.48\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.48\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAdvanceDirectiveObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -50,7 +46,7 @@ public interface AdvanceDirectiveObservation2 extends AdvanceDirectiveObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateAdvanceDirectiveObservation2Value(DiagnosticChain diagnostics, Map context); @@ -62,7 +58,7 @@ public interface AdvanceDirectiveObservation2 extends AdvanceDirectiveObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateAdvanceDirectiveObservation2AuthorParticipation(DiagnosticChain diagnostics, @@ -75,7 +71,7 @@ boolean validateAdvanceDirectiveObservation2AuthorParticipation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75320-2\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75320-2\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateAdvanceDirectiveObservation2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -87,7 +83,7 @@ boolean validateAdvanceDirectiveObservation2AuthorParticipation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateAdvanceDirectiveObservation2CDTranslationP(DiagnosticChain diagnostics, @@ -100,7 +96,7 @@ boolean validateAdvanceDirectiveObservation2CDTranslationP(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateAdvanceDirectiveObservation2IVLTSLow(DiagnosticChain diagnostics, Map context); @@ -112,7 +108,7 @@ boolean validateAdvanceDirectiveObservation2CDTranslationP(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateAdvanceDirectiveObservation2IVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -124,7 +120,7 @@ boolean validateAdvanceDirectiveObservation2CDTranslationP(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" * @generated */ boolean validateAdvanceDirectiveObservation2VerifierParticipantRolePlayingEntityName(DiagnosticChain diagnostics, @@ -137,7 +133,7 @@ boolean validateAdvanceDirectiveObservation2VerifierParticipantRolePlayingEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservation2VerifierParticipantRoleCodeP(DiagnosticChain diagnostics, @@ -150,7 +146,7 @@ boolean validateAdvanceDirectiveObservation2VerifierParticipantRoleCodeP(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservation2VerifierParticipantRoleCode(DiagnosticChain diagnostics, @@ -163,7 +159,7 @@ boolean validateAdvanceDirectiveObservation2VerifierParticipantRoleCode(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateAdvanceDirectiveObservation2VerifierParticipantRoleAddr(DiagnosticChain diagnostics, @@ -176,7 +172,7 @@ boolean validateAdvanceDirectiveObservation2VerifierParticipantRoleAddr(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validateAdvanceDirectiveObservation2VerifierParticipantRolePlayingEntity(DiagnosticChain diagnostics, @@ -189,7 +185,7 @@ boolean validateAdvanceDirectiveObservation2VerifierParticipantRolePlayingEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.1.58\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.1.58\'))'" * @generated */ boolean validateAdvanceDirectiveObservation2VerifierTemplateId(DiagnosticChain diagnostics, @@ -202,7 +198,7 @@ boolean validateAdvanceDirectiveObservation2VerifierTemplateId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCustodianEntityCodeP(DiagnosticChain diagnostics, @@ -215,7 +211,7 @@ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCustodianEntit * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'63161005\' or value.code = \'2603003\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'63161005\' or value.code = \'2603003\')))'" * @generated */ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCustodianEntityCode(DiagnosticChain diagnostics, @@ -228,7 +224,7 @@ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCustodianEntit * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCodeP(DiagnosticChain diagnostics, @@ -241,7 +237,7 @@ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCodeP(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCode(DiagnosticChain diagnostics, @@ -254,7 +250,7 @@ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCode(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.mediaType.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.mediaType.oclIsUndefined())'" * @generated */ boolean validateAdvanceDirectiveObservation2ReferenceAdvanceDirectiveObservationReferenceExternalDocumentTextMediaType( @@ -267,7 +263,7 @@ boolean validateAdvanceDirectiveObservation2ReferenceAdvanceDirectiveObservation * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.oclIsUndefined() implies not text.reference.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.oclIsUndefined() implies not text.reference.oclIsUndefined())'" * @generated */ boolean validateAdvanceDirectiveObservation2ReferenceAdvanceDirectiveObservationReferenceExternalDocumentTextReference( @@ -280,7 +276,7 @@ boolean validateAdvanceDirectiveObservation2ReferenceAdvanceDirectiveObservation * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(cda::ExternalDocument)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(cda::ExternalDocument)))'" * @generated */ boolean validateAdvanceDirectiveObservation2AdvanceDirectiveObservationReferenceExternalDocument( diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveOrganizer.java index b38a9a0ed7..7a8687ced6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveOrganizer.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Organizer; /** @@ -33,7 +28,7 @@ public interface AdvanceDirectiveOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.108\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.108\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validateAdvanceDirectiveOrganizerTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface AdvanceDirectiveOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateAdvanceDirectiveOrganizerId(DiagnosticChain diagnostics, Map context); @@ -129,7 +124,7 @@ public interface AdvanceDirectiveOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::AdvanceDirectiveObservation2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::AdvanceDirectiveObservation2))'" * @generated */ boolean validateAdvanceDirectiveOrganizerAdvanceDirectiveObservation2(DiagnosticChain diagnostics, @@ -142,7 +137,7 @@ boolean validateAdvanceDirectiveOrganizerAdvanceDirectiveObservation2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateAdvanceDirectiveOrganizerAuthorParticipation(DiagnosticChain diagnostics, @@ -152,7 +147,7 @@ boolean validateAdvanceDirectiveOrganizerAuthorParticipation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" * @generated */ EList getAdvanceDirectiveObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection.java index 7e8d19f65d..19eb8fe085 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -79,7 +75,7 @@ public interface AdvanceDirectivesSection extends AdvanceDirectivesSectionEntrie * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AdvanceDirectiveObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AdvanceDirectiveObservation))'" * @generated */ boolean validateAdvanceDirectivesSectionAdvanceDirectiveObservation(DiagnosticChain diagnostics, @@ -89,7 +85,7 @@ boolean validateAdvanceDirectivesSectionAdvanceDirectiveObservation(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation)).oclAsType(consol::AdvanceDirectiveObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation)).oclAsType(consol::AdvanceDirectiveObservation)'" * @generated */ EList getConsolAdvanceDirectiveObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection2.java index d889c8a964..a6927d89c3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface AdvanceDirectivesSection2 extends AdvanceDirectivesSectionEntri * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies self.getObservations()->exists(obs : cda::Observation | obs.oclIsKindOf(consol::AdvanceDirectiveObservation2)) xor self.getOrganizers()->exists(org : cda::Organizer | org.oclIsKindOf(consol::AdvanceDirectiveOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies self.getObservations()->exists(obs : cda::Observation | obs.oclIsKindOf(consol::AdvanceDirectiveObservation2)) xor self.getOrganizers()->exists(org : cda::Organizer | org.oclIsKindOf(consol::AdvanceDirectiveOrganizer))'" * @generated */ boolean validateAdvanceDirectivesSection2HasAdvanceDirectiveObservation2XorAdvanceDirectiveOrganizer( @@ -81,7 +77,7 @@ boolean validateAdvanceDirectivesSection2HasAdvanceDirectiveObservation2XorAdvan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(cda::Entry))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(cda::Entry))'" * @generated */ boolean validateAdvanceDirectivesSection2Entry(DiagnosticChain diagnostics, Map context); @@ -93,7 +89,7 @@ boolean validateAdvanceDirectivesSection2HasAdvanceDirectiveObservation2XorAdvan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer)))'" * @generated */ boolean validateAdvanceDirectivesSection2EntryAdvanceDirectiveOrganizer(DiagnosticChain diagnostics, @@ -106,7 +102,7 @@ boolean validateAdvanceDirectivesSection2EntryAdvanceDirectiveOrganizer(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)))'" * @generated */ boolean validateAdvanceDirectivesSection2EntryAdvanceDirectiveObservation2(DiagnosticChain diagnostics, @@ -116,7 +112,7 @@ boolean validateAdvanceDirectivesSection2EntryAdvanceDirectiveObservation2(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer)).oclAsType(consol::AdvanceDirectiveOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer)).oclAsType(consol::AdvanceDirectiveOrganizer)'" * @generated */ EList getConsolAdvanceDirectiveOrganizers(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional.java index 1c4883ba2e..2497a98874 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -42,7 +37,7 @@ public interface AdvanceDirectivesSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.21\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.21\')'" * @generated */ boolean validateAdvanceDirectivesSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -107,7 +102,7 @@ boolean validateAdvanceDirectivesSectionEntriesOptionalText(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AdvanceDirectiveObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AdvanceDirectiveObservation))'" * @generated */ boolean validateAdvanceDirectivesSectionEntriesOptionalAdvanceDirectiveObservation(DiagnosticChain diagnostics, @@ -117,7 +112,7 @@ boolean validateAdvanceDirectivesSectionEntriesOptionalAdvanceDirectiveObservati * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation)).oclAsType(consol::AdvanceDirectiveObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation)).oclAsType(consol::AdvanceDirectiveObservation)'" * @generated */ EList getAdvanceDirectiveObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional2.java index 2c92d0c49d..4f7945456a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface AdvanceDirectivesSectionEntriesOptional2 extends AdvanceDirecti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer))'" * @generated */ boolean validateAdvanceDirectivesSectionEntriesOptional2AdvanceDirectiveOrganizer(DiagnosticChain diagnostics, @@ -41,7 +37,7 @@ boolean validateAdvanceDirectivesSectionEntriesOptional2AdvanceDirectiveOrganize * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer)).oclAsType(consol::AdvanceDirectiveOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer)).oclAsType(consol::AdvanceDirectiveOrganizer)'" * @generated */ EList getAdvanceDirectiveOrganizers(); @@ -50,7 +46,7 @@ boolean validateAdvanceDirectivesSectionEntriesOptional2AdvanceDirectiveOrganize * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" * @generated */ EList getConsolAdvanceDirectiveObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AgeObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AgeObservation.java index 60eb560d13..c33ccd2a62 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AgeObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AgeObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -36,7 +31,7 @@ public interface AgeObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::PQ).unit->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::PQ).unit->size() = 1'" * @generated */ boolean validateAgeObservationValueUnits(DiagnosticChain diagnostics, Map context); @@ -48,7 +43,7 @@ public interface AgeObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.31\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.31\')'" * @generated */ boolean validateAgeObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -132,7 +127,7 @@ public interface AgeObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" * @generated */ boolean validateAgeObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection.java index deda26589c..696a4b36a7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -83,7 +79,7 @@ public interface AllergiesSection extends AllergiesSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::AllergyProblemAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::AllergyProblemAct))'" * @generated */ boolean validateAllergiesSectionAllergyProblemAct(DiagnosticChain diagnostics, Map context); @@ -92,7 +88,7 @@ public interface AllergiesSection extends AllergiesSectionEntriesOptional { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AllergyProblemAct)).oclAsType(consol::AllergyProblemAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AllergyProblemAct)).oclAsType(consol::AllergyProblemAct)'" * @generated */ EList getConsolAllergyProblemActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection2.java index 4a487cd4be..879fdbe80d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional.java index a7c3b45dec..48f6f7409d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface AllergiesSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.6\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.6\')'" * @generated */ boolean validateAllergiesSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, Map context); @@ -97,7 +92,7 @@ public interface AllergiesSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::AllergyProblemAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::AllergyProblemAct))'" * @generated */ boolean validateAllergiesSectionEntriesOptionalAllergyProblemAct(DiagnosticChain diagnostics, @@ -107,7 +102,7 @@ boolean validateAllergiesSectionEntriesOptionalAllergyProblemAct(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AllergyProblemAct)).oclAsType(consol::AllergyProblemAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AllergyProblemAct)).oclAsType(consol::AllergyProblemAct)'" * @generated */ EList getAllergyProblemActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional2.java index d8a0a8c711..01c636ca85 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface AllergiesSectionEntriesOptional2 extends AllergiesSectionEntrie * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AllergyConcernAct2)).oclAsType(consol::AllergyConcernAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AllergyConcernAct2)).oclAsType(consol::AllergyConcernAct2)'" * @generated */ EList getConsolAllergyConcernAct2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyConcernAct2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyConcernAct2.java index d1dd3e6ed5..a2c44a0d3d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyConcernAct2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyConcernAct2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface AllergyConcernAct2 extends AllergyProblemAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.30\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.30\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAllergyConcernAct2TemplateId(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface AllergyConcernAct2 extends AllergyProblemAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateAllergyConcernAct2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -53,7 +49,7 @@ public interface AllergyConcernAct2 extends AllergyProblemAct { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation2)).oclAsType(consol::AllergyObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation2)).oclAsType(consol::AllergyObservation2)'" * @generated */ EList getConsolAllergyObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation.java index ac85da966a..1a40837007 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -41,7 +37,7 @@ public interface AllergyObservation extends SubstanceOrDeviceAllergyObservation * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).originalText->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).originalText->size() = 1'" * @generated */ boolean validateAllergyObservationValueOriginalText(DiagnosticChain diagnostics, Map context); @@ -53,7 +49,7 @@ public interface AllergyObservation extends SubstanceOrDeviceAllergyObservation * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).originalText->size() = 1 implies self.value.oclAsType(datatypes::CD).originalText->one(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).originalText->size() = 1 implies self.value.oclAsType(datatypes::CD).originalText->one(reference->size() = 1)'" * @generated */ boolean validateAllergyObservationOriginalTextReference(DiagnosticChain diagnostics, Map context); @@ -65,7 +61,7 @@ public interface AllergyObservation extends SubstanceOrDeviceAllergyObservation * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).originalText.reference->size() = 1 implies self.value.oclAsType(datatypes::CD).originalText.reference.value->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).originalText.reference->size() = 1 implies self.value.oclAsType(datatypes::CD).originalText.reference.value->size() = 1'" * @generated */ boolean validateAllergyObservationOriginalTextReferenceValue(DiagnosticChain diagnostics, @@ -114,7 +110,7 @@ boolean validateAllergyObservationOriginalTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())'" * @generated */ boolean validateAllergyObservationId(DiagnosticChain diagnostics, Map context); @@ -174,7 +170,7 @@ boolean validateAllergyObservationOriginalTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'420134006\' or value.code = \'418038007\' or value.code = \'419511003\' or value.code = \'418471000\' or value.code = \'419199007\' or value.code = \'416098002\' or value.code = \'414285001\' or value.code = \'59037007\' or value.code = \'235719002\' or value.code = \'232347008\' or value.code = \'426232007\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'420134006\' or value.code = \'418038007\' or value.code = \'419511003\' or value.code = \'418471000\' or value.code = \'419199007\' or value.code = \'416098002\' or value.code = \'414285001\' or value.code = \'59037007\' or value.code = \'235719002\' or value.code = \'232347008\' or value.code = \'426232007\')))'" * @generated */ boolean validateAllergyObservationValue(DiagnosticChain diagnostics, Map context); @@ -186,7 +182,7 @@ boolean validateAllergyObservationOriginalTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::MFST)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::MFST)'" * @generated */ boolean validateAllergyObservationReactionObservation(DiagnosticChain diagnostics, Map context); @@ -198,7 +194,7 @@ boolean validateAllergyObservationOriginalTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SeverityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SeverityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateAllergyObservationSeverityObservation(DiagnosticChain diagnostics, Map context); @@ -210,7 +206,7 @@ boolean validateAllergyObservationOriginalTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateAllergyObservationAllergyStatusObservation(DiagnosticChain diagnostics, @@ -223,7 +219,7 @@ boolean validateAllergyObservationAllergyStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" * @generated */ boolean validateAllergyObservationParticipant(DiagnosticChain diagnostics, Map context); @@ -235,7 +231,7 @@ boolean validateAllergyObservationAllergyStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((originalText.oclIsUndefined() or originalText.isNullFlavorUndefined()) implies (not originalText.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((originalText.oclIsUndefined() or originalText.isNullFlavorUndefined()) implies (not originalText.oclIsUndefined()) )))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText(DiagnosticChain diagnostics, @@ -248,7 +244,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCEOrigi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCETranslation(DiagnosticChain diagnostics, @@ -261,7 +257,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCETrans * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.value.oclIsUndefined() implies not getSection().text.getText(code.originalText.reference.value.substring(2, code.originalText.reference.value.size())).oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.value.oclIsUndefined() implies not getSection().text.getText(code.originalText.reference.value.substring(2, code.originalText.reference.value.size())).oclIsUndefined())'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue( @@ -274,7 +270,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOrigina * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.oclIsUndefined() implies code.originalText.reference.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.oclIsUndefined() implies code.originalText.reference.value->size() = 1)'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue(DiagnosticChain diagnostics, @@ -287,7 +283,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityReferen * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.oclIsUndefined() implies not code.originalText.reference.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.oclIsUndefined() implies not code.originalText.reference.oclIsUndefined())'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference( @@ -300,7 +296,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOrigina * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(( code.oclIsUndefined() or code.isNullFlavorUndefined() ) implies ( not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and ( ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.3.26.1.5\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.88\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.4.9\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined() ) ) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(( code.oclIsUndefined() or code.isNullFlavorUndefined() ) implies ( not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and ( ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.3.26.1.5\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.88\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.4.9\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined() ) ) ))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCodeTerminologyValueSetGroupSRFI( @@ -313,7 +309,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCodeTer * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(isDefined(\'classCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(isDefined(\'classCode\'))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityClassCode(DiagnosticChain diagnostics, @@ -326,7 +322,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityClassCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCode(DiagnosticChain diagnostics, @@ -339,7 +335,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCode(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassRoot) and \r\nlet value : vocab::RoleClassRoot = classCode.oclAsType(vocab::RoleClassRoot) in \r\nvalue = vocab::RoleClassRoot::MANU)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassRoot) and \r\nlet value : vocab::RoleClassRoot = classCode.oclAsType(vocab::RoleClassRoot) in \r\nvalue = vocab::RoleClassRoot::MANU)'" * @generated */ boolean validateAllergyObservationParticipantParticipantRoleClassCode(DiagnosticChain diagnostics, @@ -352,7 +348,7 @@ boolean validateAllergyObservationParticipantParticipantRoleClassCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntity(DiagnosticChain diagnostics, @@ -365,7 +361,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntity(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(not typeCode.oclIsUndefined() and typeCode.oclIsKindOf(vocab::ParticipationType) and \r\nlet value : vocab::ParticipationType = typeCode.oclAsType(vocab::ParticipationType) in \r\nvalue = vocab::ParticipationType::CSM)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(not typeCode.oclIsUndefined() and typeCode.oclIsKindOf(vocab::ParticipationType) and \r\nlet value : vocab::ParticipationType = typeCode.oclAsType(vocab::ParticipationType) in \r\nvalue = vocab::ParticipationType::CSM)'" * @generated */ boolean validateAllergyObservationParticipantTypeCode(DiagnosticChain diagnostics, Map context); @@ -377,7 +373,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntity(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRole(DiagnosticChain diagnostics, @@ -387,7 +383,7 @@ boolean validateAllergyObservationParticipantParticipantRole(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation)).oclAsType(consol::ReactionObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation)).oclAsType(consol::ReactionObservation)'" * @generated */ EList getConsolReactionObservations(); @@ -396,7 +392,7 @@ boolean validateAllergyObservationParticipantParticipantRole(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation))->asSequence()->any(true).oclAsType(consol::SeverityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation))->asSequence()->any(true).oclAsType(consol::SeverityObservation)'" * @generated */ SeverityObservation getConsolSeverityObservation(); @@ -405,7 +401,7 @@ boolean validateAllergyObservationParticipantParticipantRole(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation))->asSequence()->any(true).oclAsType(consol::AllergyStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation))->asSequence()->any(true).oclAsType(consol::AllergyStatusObservation)'" * @generated */ AllergyStatusObservation getConsolAllergyStatusObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation2.java index ef8abc8334..afa7151714 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface AllergyObservation2 extends AllergyObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::CriticalityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::CriticalityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain diagnostics, @@ -49,7 +45,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.7\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.7\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAllergyObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -73,7 +69,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (not self.value->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (not self.value->isEmpty())'" * @generated */ boolean validateAllergyObservationValueP(DiagnosticChain diagnostics, Map context); @@ -97,7 +93,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateAllergyObservation2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -109,7 +105,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CriticalityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CriticalityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateAllergyObservation2CriticalityObservation(DiagnosticChain diagnostics, Map context); @@ -121,7 +117,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateAllergyObservation2IVLTSLow(DiagnosticChain diagnostics, Map context); @@ -133,7 +129,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateAllergyObservation2IVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -145,7 +141,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergySpecificMedication( @@ -158,7 +154,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergy * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergyClassMedication( @@ -171,7 +167,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergy * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergyFoodOtherSubstance( @@ -181,7 +177,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergy * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation)).oclAsType(consol::AllergyStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation)).oclAsType(consol::AllergyStatusObservation)'" * @generated */ EList getConsolAllergyStatusObservations(); @@ -190,7 +186,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergy * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" * @generated */ EList getConsolReactionObservation2s(); @@ -199,7 +195,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergy * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation2))->asSequence()->any(true).oclAsType(consol::SeverityObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation2))->asSequence()->any(true).oclAsType(consol::SeverityObservation2)'" * @generated */ SeverityObservation2 getConsolSeverityObservation2(); @@ -208,7 +204,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergy * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CriticalityObservation))->asSequence()->any(true).oclAsType(consol::CriticalityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CriticalityObservation))->asSequence()->any(true).oclAsType(consol::CriticalityObservation)'" * @generated */ CriticalityObservation getCriticalityObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyProblemAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyProblemAct.java index 5f8a4381c6..49b47b1758 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyProblemAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyProblemAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -63,7 +58,7 @@ public interface AllergyProblemAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.30\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.30\')'" * @generated */ boolean validateAllergyProblemActTemplateId(DiagnosticChain diagnostics, Map context); @@ -99,7 +94,7 @@ public interface AllergyProblemAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateAllergyProblemActId(DiagnosticChain diagnostics, Map context); @@ -147,7 +142,7 @@ public interface AllergyProblemAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateAllergyProblemActAllergyObservation(DiagnosticChain diagnostics, Map context); @@ -159,7 +154,7 @@ public interface AllergyProblemAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject((code = \'CONC\' and codeSystem = \'2.16.840.1.113883.5.6\') or (code = \'48765-2\' and codeSystem = \'2.16.840.1.113883.6.1\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject((code = \'CONC\' and codeSystem = \'2.16.840.1.113883.5.6\') or (code = \'48765-2\' and codeSystem = \'2.16.840.1.113883.6.1\'))'" * @generated */ boolean validateAllergyProblemActCDCodeAndCodeSystemValues(DiagnosticChain diagnostics, @@ -172,7 +167,7 @@ boolean validateAllergyProblemActCDCodeAndCodeSystemValues(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateAllergyProblemActCDCode(DiagnosticChain diagnostics, Map context); @@ -184,7 +179,7 @@ boolean validateAllergyProblemActCDCodeAndCodeSystemValues(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not codeSystem.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not codeSystem.oclIsUndefined() )))'" * @generated */ boolean validateAllergyProblemActCDCodeSystem(DiagnosticChain diagnostics, Map context); @@ -193,7 +188,7 @@ boolean validateAllergyProblemActCDCodeAndCodeSystemValues(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation)).oclAsType(consol::AllergyObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation)).oclAsType(consol::AllergyObservation)'" * @generated */ EList getAllergyObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation.java index d9d2bc6583..8663f8a8b3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -38,7 +33,7 @@ public interface AllergyStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.28\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.28\')'" * @generated */ boolean validateAllergyStatusObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -98,7 +93,7 @@ public interface AllergyStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'55561003\' or value.code = \'73425007\' or value.code = \'413322009\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'55561003\' or value.code = \'73425007\' or value.code = \'413322009\')))'" * @generated */ boolean validateAllergyStatusObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation2.java index 5f3dc7ff99..fd30509927 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface AllergyStatusObservation2 extends AllergyStatusObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.28\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.28\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAllergyStatusObservation2TemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection.java index 619d4c2426..879dac5b83 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface AnesthesiaSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.25\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.25\')'" * @generated */ boolean validateAnesthesiaSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface AnesthesiaSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure))'" * @generated */ boolean validateAnesthesiaSectionProcedureActivityProcedure(DiagnosticChain diagnostics, @@ -106,7 +101,7 @@ boolean validateAnesthesiaSectionProcedureActivityProcedure(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" * @generated */ boolean validateAnesthesiaSectionMedicationActivity(DiagnosticChain diagnostics, Map context); @@ -115,7 +110,7 @@ boolean validateAnesthesiaSectionProcedureActivityProcedure(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" * @generated */ EList getProcedureActivityProcedures(); @@ -124,7 +119,7 @@ boolean validateAnesthesiaSectionProcedureActivityProcedure(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection2.java index 74f1cbfa28..f9df87ec9b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface AnesthesiaSection2 extends AnesthesiaSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.25\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.25\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAnesthesiaSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface AnesthesiaSection2 extends AnesthesiaSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getConsolProcedureActivityProcedure2s(); @@ -48,7 +45,7 @@ public interface AnesthesiaSection2 extends AnesthesiaSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection.java index b53bb920cb..e6616ee128 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -38,7 +33,7 @@ public interface AssessmentAndPlanSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.9\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.9\')'" * @generated */ boolean validateAssessmentAndPlanSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -86,7 +81,7 @@ public interface AssessmentAndPlanSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PlanOfCareActivityAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PlanOfCareActivityAct))'" * @generated */ boolean validateAssessmentAndPlanSectionPlanOfCareActivityAct(DiagnosticChain diagnostics, @@ -96,7 +91,7 @@ boolean validateAssessmentAndPlanSectionPlanOfCareActivityAct(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlanOfCareActivityAct)).oclAsType(consol::PlanOfCareActivityAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlanOfCareActivityAct)).oclAsType(consol::PlanOfCareActivityAct)'" * @generated */ EList getPlanOfCareActivityActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection2.java index 22798ee588..4d03bd429f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface AssessmentAndPlanSection2 extends AssessmentAndPlanSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.9\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.9\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAssessmentAndPlanSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface AssessmentAndPlanSection2 extends AssessmentAndPlanSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" * @generated */ EList getConsolPlannedAct2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleObservation.java index 57651e2c6d..f2b0b23605 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -47,7 +42,7 @@ public interface AssessmentScaleObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.interpretationCode->size() > 0 implies self.interpretationCode.translation->size() > 0'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.interpretationCode->size() > 0 implies self.interpretationCode.translation->size() > 0'" * @generated */ boolean validateAssessmentScaleObservationInterpretationCodeTranslation(DiagnosticChain diagnostics, @@ -60,7 +55,7 @@ boolean validateAssessmentScaleObservationInterpretationCodeTranslation(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.69\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.69\')'" * @generated */ boolean validateAssessmentScaleObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -132,7 +127,7 @@ boolean validateAssessmentScaleObservationInterpretationCodeTranslation(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateAssessmentScaleObservationId(DiagnosticChain diagnostics, Map context); @@ -144,7 +139,7 @@ boolean validateAssessmentScaleObservationInterpretationCodeTranslation(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" * @generated */ boolean validateAssessmentScaleObservationInterpretationCode(DiagnosticChain diagnostics, @@ -181,7 +176,7 @@ boolean validateAssessmentScaleObservationInterpretationCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateAssessmentScaleObservationValue(DiagnosticChain diagnostics, Map context); @@ -193,7 +188,7 @@ boolean validateAssessmentScaleObservationInterpretationCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateAssessmentScaleObservationAuthor(DiagnosticChain diagnostics, Map context); @@ -205,7 +200,7 @@ boolean validateAssessmentScaleObservationInterpretationCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" * @generated */ boolean validateAssessmentScaleObservationReferenceRange(DiagnosticChain diagnostics, Map context); @@ -217,7 +212,7 @@ boolean validateAssessmentScaleObservationInterpretationCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleSupportingObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleSupportingObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateAssessmentScaleObservationAssessmentScaleSupportingObservation(DiagnosticChain diagnostics, @@ -230,7 +225,7 @@ boolean validateAssessmentScaleObservationAssessmentScaleSupportingObservation(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(not text.oclIsUndefined() implies text->forAll(reference->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(not text.oclIsUndefined() implies text->forAll(reference->size() = 1))'" * @generated */ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeTextReference(DiagnosticChain diagnostics, @@ -243,7 +238,7 @@ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeTextRefe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(text->forAll(reference->size() = 1) implies text->forAll(reference->one(value->size() = 1)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(text->forAll(reference->size() = 1) implies text->forAll(reference->one(value->size() = 1)))'" * @generated */ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeTextReferenceValue( @@ -256,7 +251,7 @@ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeTextRefe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(not text.reference.value.oclIsUndefined() implies not getSection().text.getText(text.reference.value.substring(2, text.reference.value.size())).oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(not text.reference.value.oclIsUndefined() implies not getSection().text.getText(text.reference.value.substring(2, text.reference.value.size())).oclIsUndefined())'" * @generated */ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeReferenceValue(DiagnosticChain diagnostics, @@ -269,7 +264,7 @@ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeReferenc * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject((text.oclIsUndefined() or text.isNullFlavorUndefined()) implies (not text.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject((text.oclIsUndefined() or text.isNullFlavorUndefined()) implies (not text.oclIsUndefined()))'" * @generated */ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeText(DiagnosticChain diagnostics, @@ -282,7 +277,7 @@ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeText(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" * @generated */ boolean validateAssessmentScaleObservationReferenceRangeObservationRange(DiagnosticChain diagnostics, @@ -292,7 +287,7 @@ boolean validateAssessmentScaleObservationReferenceRangeObservationRange(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleSupportingObservation)).oclAsType(consol::AssessmentScaleSupportingObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleSupportingObservation)).oclAsType(consol::AssessmentScaleSupportingObservation)'" * @generated */ EList getAssessmentScaleSupportingObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleSupportingObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleSupportingObservation.java index 159a9480b3..40df3a3432 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleSupportingObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleSupportingObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -45,7 +40,7 @@ boolean validateAssessmentScaleSupportingObservationCodeCodeSystem(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).translation->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).translation->size() = 1'" * @generated */ boolean validateAssessmentScaleSupportingObservationValueTranslation(DiagnosticChain diagnostics, @@ -58,7 +53,7 @@ boolean validateAssessmentScaleSupportingObservationValueTranslation(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.86\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.86\')'" * @generated */ boolean validateAssessmentScaleSupportingObservationTemplateId(DiagnosticChain diagnostics, @@ -109,7 +104,7 @@ boolean validateAssessmentScaleSupportingObservationMoodCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateAssessmentScaleSupportingObservationId(DiagnosticChain diagnostics, Map context); @@ -147,7 +142,7 @@ boolean validateAssessmentScaleSupportingObservationStatusCodeP(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" * @generated */ boolean validateAssessmentScaleSupportingObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentSection.java index a2568375ed..b78e3524cf 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface AssessmentSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.8\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.8\')'" * @generated */ boolean validateAssessmentSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorParticipation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorParticipation.java index 70a9ef97bd..2243f271ac 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorParticipation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorParticipation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Author; /** @@ -35,7 +30,7 @@ public interface AuthorParticipation extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.119\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.119\')'" * @generated */ boolean validateAuthorParticipationTemplateId(DiagnosticChain diagnostics, Map context); @@ -59,7 +54,7 @@ public interface AuthorParticipation extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor))'" * @generated */ boolean validateAuthorParticipationAssignedAuthor(DiagnosticChain diagnostics, Map context); @@ -71,7 +66,7 @@ public interface AuthorParticipation extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorAssignedPersonName(DiagnosticChain diagnostics, @@ -84,7 +79,7 @@ boolean validateAuthorParticipationAssignedAuthorAssignedPersonName(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationId(DiagnosticChain diagnostics, @@ -97,7 +92,7 @@ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationId(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationName(DiagnosticChain diagnostics, @@ -110,7 +105,7 @@ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationName(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationTelecom(DiagnosticChain diagnostics, @@ -123,7 +118,7 @@ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationTelecom( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationAddr(DiagnosticChain diagnostics, @@ -136,7 +131,7 @@ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationAddr(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.101\' or code.codeSystem = \'2.16.840.1.113883.5.111\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.101\' or code.codeSystem = \'2.16.840.1.113883.5.111\')'" * @generated */ boolean validateAuthorParticipationAssignedAuthorCodeTerminology(DiagnosticChain diagnostics, @@ -149,7 +144,7 @@ boolean validateAuthorParticipationAssignedAuthorCodeTerminology(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorId(DiagnosticChain diagnostics, Map context); @@ -161,7 +156,7 @@ boolean validateAuthorParticipationAssignedAuthorCodeTerminology(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorCode(DiagnosticChain diagnostics, Map context); @@ -173,7 +168,7 @@ boolean validateAuthorParticipationAssignedAuthorCodeTerminology(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorAssignedPerson(DiagnosticChain diagnostics, @@ -186,7 +181,7 @@ boolean validateAuthorParticipationAssignedAuthorAssignedPerson(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganization(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorizationActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorizationActivity.java index 5811ecfca3..9538332e42 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorizationActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorizationActivity.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface AuthorizationActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.1.19\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.1.19\')'" * @generated */ boolean validateAuthorizationActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -57,7 +52,7 @@ public interface AuthorizationActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" * @generated */ boolean validateAuthorizationActivityId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ public interface AuthorizationActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->size() = 1'" * @generated */ boolean validateAuthorizationActivityEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface AuthorizationActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(act->exists(moodCode = vocab::x_DocumentActMood::PRMS) or encounter->exists(moodCode = vocab::x_DocumentEncounterMood::PRMS) or observation->exists(moodCode = vocab::x_ActMoodDocumentObservation::PRMS) or observationMedia->exists(moodCode = vocab::ActMood::PRMS) or organizer->exists(moodCode = vocab::ActMood::PRMS) or procedure->exists(moodCode = vocab::x_DocumentProcedureMood::PRMS) or regionOfInterest->exists(moodCode = vocab::ActMood::PRMS) or substanceAdministration->exists(moodCode = vocab::x_DocumentSubstanceMood::PRMS) or supply->exists(moodCode = vocab::x_DocumentSubstanceMood::PRMS))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(act->exists(moodCode = vocab::x_DocumentActMood::PRMS) or encounter->exists(moodCode = vocab::x_DocumentEncounterMood::PRMS) or observation->exists(moodCode = vocab::x_ActMoodDocumentObservation::PRMS) or observationMedia->exists(moodCode = vocab::ActMood::PRMS) or organizer->exists(moodCode = vocab::ActMood::PRMS) or procedure->exists(moodCode = vocab::x_DocumentProcedureMood::PRMS) or regionOfInterest->exists(moodCode = vocab::ActMood::PRMS) or substanceAdministration->exists(moodCode = vocab::x_DocumentSubstanceMood::PRMS) or supply->exists(moodCode = vocab::x_DocumentSubstanceMood::PRMS))'" * @generated */ boolean validateAuthorizationActivityEntryRelationshipHasClinicalStatement(DiagnosticChain diagnostics, @@ -106,7 +101,7 @@ boolean validateAuthorizationActivityEntryRelationshipHasClinicalStatement(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(act->forAll( (moodCode = vocab::x_DocumentActMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentActMood::PRMS ) and \r\nencounter->forAll((moodCode = vocab::x_DocumentEncounterMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentEncounterMood::PRMS) and \r\nobservation->forAll((moodCode = vocab::x_ActMoodDocumentObservation::PRMS and performer->size() > 0) or moodCode <> vocab::x_ActMoodDocumentObservation::PRMS) and \r\nobservationMedia->forAll((moodCode = vocab::ActMood::PRMS and performer->size() > 0) or moodCode <> vocab::ActMood::PRMS) and \r\norganizer->forAll((moodCode = vocab::ActMood::PRMS and performer->size() > 0) or moodCode <> vocab::ActMood::PRMS) and \r\nprocedure->forAll((moodCode = vocab::x_DocumentProcedureMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentProcedureMood::PRMS) and \r\nregionOfInterest->forAll((moodCode = vocab::ActMood::PRMS and performer->size() > 0) or moodCode <> vocab::ActMood::PRMS) and \r\nsubstanceAdministration->forAll((moodCode = vocab::x_DocumentSubstanceMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentSubstanceMood::PRMS) and \r\nsupply->forAll((moodCode = vocab::x_DocumentSubstanceMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentSubstanceMood::PRMS))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(act->forAll( (moodCode = vocab::x_DocumentActMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentActMood::PRMS ) and \r\nencounter->forAll((moodCode = vocab::x_DocumentEncounterMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentEncounterMood::PRMS) and \r\nobservation->forAll((moodCode = vocab::x_ActMoodDocumentObservation::PRMS and performer->size() > 0) or moodCode <> vocab::x_ActMoodDocumentObservation::PRMS) and \r\nobservationMedia->forAll((moodCode = vocab::ActMood::PRMS and performer->size() > 0) or moodCode <> vocab::ActMood::PRMS) and \r\norganizer->forAll((moodCode = vocab::ActMood::PRMS and performer->size() > 0) or moodCode <> vocab::ActMood::PRMS) and \r\nprocedure->forAll((moodCode = vocab::x_DocumentProcedureMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentProcedureMood::PRMS) and \r\nregionOfInterest->forAll((moodCode = vocab::ActMood::PRMS and performer->size() > 0) or moodCode <> vocab::ActMood::PRMS) and \r\nsubstanceAdministration->forAll((moodCode = vocab::x_DocumentSubstanceMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentSubstanceMood::PRMS) and \r\nsupply->forAll((moodCode = vocab::x_DocumentSubstanceMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentSubstanceMood::PRMS))'" * @generated */ boolean validateAuthorizationActivityEntryRelationshipHasAuthorizedPerformers(DiagnosticChain diagnostics, @@ -119,7 +114,7 @@ boolean validateAuthorizationActivityEntryRelationshipHasAuthorizedPerformers(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateAuthorizationActivityEntryRelationshipTypeCode(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BirthSexObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BirthSexObservation.java index c5532f8418..39f3e6424d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BirthSexObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BirthSexObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface BirthSexObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.200\' and id.extension = \'2016-06-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.200\' and id.extension = \'2016-06-01\')'" * @generated */ boolean validateBirthSexObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -116,7 +111,7 @@ public interface BirthSexObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1\' and (value.code = \'F\' or value.code = \'M\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1\' and (value.code = \'F\' or value.code = \'M\')))'" * @generated */ boolean validateBirthSexObservationValue(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface BirthSexObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateBirthSexObservationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BoundaryObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BoundaryObservation.java index 236b7d6eee..ad0b9708e5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BoundaryObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BoundaryObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface BoundaryObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.11\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.11\')'" * @generated */ boolean validateBoundaryObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -80,7 +75,7 @@ public interface BoundaryObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) and self.value->forAll(element | element.oclIsTypeOf(datatypes::INT)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) and self.value->forAll(element | element.oclIsTypeOf(datatypes::INT)))'" * @generated */ boolean validateBoundaryObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CarePlan.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CarePlan.java index f92b426ff8..54c4c730a5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CarePlan.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CarePlan.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -51,7 +47,7 @@ public interface CarePlan extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.getAllSections()->exists(s : cda::Section | s.oclIsTypeOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.getAllSections()->exists(s : cda::Section | s.oclIsTypeOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diagnostics, @@ -112,7 +108,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" * @generated */ boolean validateCarePlanInformationRecipient(DiagnosticChain diagnostics, Map context); @@ -124,7 +120,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->one(authenticator : cda::Authenticator | not authenticator.oclIsUndefined() and authenticator.oclIsKindOf(cda::Authenticator))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->one(authenticator : cda::Authenticator | not authenticator.oclIsUndefined() and authenticator.oclIsKindOf(cda::Authenticator))'" * @generated */ boolean validateCarePlanAuthenticator(DiagnosticChain diagnostics, Map context); @@ -136,7 +132,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::VRF)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::VRF)->notEmpty()'" * @generated */ boolean validateCarePlanParticipantCarePlanReview(DiagnosticChain diagnostics, Map context); @@ -148,7 +144,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::IND)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::IND)->notEmpty()'" * @generated */ boolean validateCarePlanParticipantCaregiver(DiagnosticChain diagnostics, Map context); @@ -160,7 +156,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateCarePlanDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -172,7 +168,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->exists(relatedDocument : cda::RelatedDocument | not relatedDocument.oclIsUndefined() and relatedDocument.oclIsKindOf(cda::RelatedDocument))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->exists(relatedDocument : cda::RelatedDocument | not relatedDocument.oclIsUndefined() and relatedDocument.oclIsKindOf(cda::RelatedDocument))'" * @generated */ boolean validateCarePlanRelatedDocument(DiagnosticChain diagnostics, Map context); @@ -184,7 +180,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateCarePlanComponentOf(DiagnosticChain diagnostics, Map context); @@ -196,7 +192,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthConcernsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthConcernsSection))'" * @generated */ boolean validateCarePlanHealthConcernsSection(DiagnosticChain diagnostics, Map context); @@ -208,7 +204,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GoalsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GoalsSection))'" * @generated */ boolean validateCarePlanGoalsSection(DiagnosticChain diagnostics, Map context); @@ -220,7 +216,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthStatusEvaluationsAndOutcomesSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthStatusEvaluationsAndOutcomesSection))'" * @generated */ boolean validateCarePlanHealthStatusEvaluationsOutcomesSection(DiagnosticChain diagnostics, @@ -233,7 +229,7 @@ boolean validateCarePlanHealthStatusEvaluationsOutcomesSection(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))'" * @generated */ boolean validateCarePlanInterventionsSection2(DiagnosticChain diagnostics, Map context); @@ -245,7 +241,7 @@ boolean validateCarePlanHealthStatusEvaluationsOutcomesSection(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).informationRecipient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).informationRecipient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientInformationRecipientName(DiagnosticChain diagnostics, @@ -258,7 +254,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientInformationRecipien * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationId(DiagnosticChain diagnostics, @@ -271,7 +267,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationName(DiagnosticChain diagnostics, @@ -284,7 +280,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((standardIndustryClassCode.oclIsUndefined() or standardIndustryClassCode.isNullFlavorUndefined()) implies (not standardIndustryClassCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((standardIndustryClassCode.oclIsUndefined() or standardIndustryClassCode.isNullFlavorUndefined()) implies (not standardIndustryClassCode.oclIsUndefined()))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationStandardIndustryClassCodeP( @@ -297,7 +293,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((standardIndustryClassCode.oclIsUndefined() or standardIndustryClassCode.isNullFlavorUndefined()) implies (not standardIndustryClassCode.oclIsUndefined() and standardIndustryClassCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = standardIndustryClassCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((standardIndustryClassCode.oclIsUndefined() or standardIndustryClassCode.isNullFlavorUndefined()) implies (not standardIndustryClassCode.oclIsUndefined() and standardIndustryClassCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = standardIndustryClassCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationStandardIndustryClassCode( @@ -310,7 +306,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientId(DiagnosticChain diagnostics, @@ -323,7 +319,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientId(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientAddr(DiagnosticChain diagnostics, @@ -336,7 +332,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientAddr(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientTelecom(DiagnosticChain diagnostics, @@ -349,7 +345,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientTelecom(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(informationRecipient->one(informationRecipient : cda::Person | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(informationRecipient->one(informationRecipient : cda::Person | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientInformationRecipient(DiagnosticChain diagnostics, @@ -362,7 +358,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientInformationRecipien * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(receivedOrganization->one(receivedOrganization : cda::Organization | not receivedOrganization.oclIsUndefined() and receivedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(receivedOrganization->one(receivedOrganization : cda::Organization | not receivedOrganization.oclIsUndefined() and receivedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganization(DiagnosticChain diagnostics, @@ -375,7 +371,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain diagnostics, @@ -388,7 +384,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateCarePlanAuthenticatorAssignedEntityId(DiagnosticChain diagnostics, Map context); @@ -400,7 +396,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.code = \'ONESELF\' and value.codeSystem = \'2.16.840.1.113883.5.111\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.code = \'ONESELF\' and value.codeSystem = \'2.16.840.1.113883.5.111\'))'" * @generated */ boolean validateCarePlanAuthenticatorAssignedEntityCode(DiagnosticChain diagnostics, Map context); @@ -412,7 +408,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateCarePlanAuthenticatorAssignedEntityCodeP(DiagnosticChain diagnostics, Map context); @@ -424,7 +420,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateCarePlanAuthenticatorTime(DiagnosticChain diagnostics, Map context); @@ -436,7 +432,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined()))'" * @generated */ boolean validateCarePlanAuthenticatorSignatureCode(DiagnosticChain diagnostics, Map context); @@ -448,7 +444,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((sDTCSignatureText.oclIsUndefined() or sDTCSignatureText.isNullFlavorUndefined()) implies (not sDTCSignatureText.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((sDTCSignatureText.oclIsUndefined() or sDTCSignatureText.isNullFlavorUndefined()) implies (not sDTCSignatureText.oclIsUndefined()))'" * @generated */ boolean validateCarePlanAuthenticatorSDTCSignatureText(DiagnosticChain diagnostics, Map context); @@ -460,7 +456,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateCarePlanAuthenticatorAssignedEntity(DiagnosticChain diagnostics, Map context); @@ -472,7 +468,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -485,7 +481,7 @@ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityClassCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityId(DiagnosticChain diagnostics, @@ -498,7 +494,7 @@ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityId(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCodeP(DiagnosticChain diagnostics, @@ -511,7 +507,7 @@ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCodeP(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCode(DiagnosticChain diagnostics, @@ -524,7 +520,7 @@ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(typeCode=vocab::ParticipationType::VRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(typeCode=vocab::ParticipationType::VRF)'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewTypeCode(DiagnosticChain diagnostics, Map context); @@ -536,7 +532,7 @@ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.code = \'425268008\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.code = \'425268008\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewFunctionCode(DiagnosticChain diagnostics, @@ -549,7 +545,7 @@ boolean validateCarePlanParticipantCarePlanReviewFunctionCode(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewFunctionCodeP(DiagnosticChain diagnostics, @@ -562,7 +558,7 @@ boolean validateCarePlanParticipantCarePlanReviewFunctionCodeP(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewTime(DiagnosticChain diagnostics, Map context); @@ -574,7 +570,7 @@ boolean validateCarePlanParticipantCarePlanReviewFunctionCodeP(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntity(DiagnosticChain diagnostics, @@ -587,7 +583,7 @@ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPersonName(DiagnosticChain diagnostics, @@ -600,7 +596,7 @@ boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPersonName * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" * @generated */ boolean validateCarePlanParticipantCaregiverAssociatedEntityClassCodeP(DiagnosticChain diagnostics, @@ -613,7 +609,7 @@ boolean validateCarePlanParticipantCaregiverAssociatedEntityClassCodeP(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassAssociative) and \r\nlet value : vocab::RoleClassAssociative = classCode.oclAsType(vocab::RoleClassAssociative) in \r\nvalue = vocab::RoleClassAssociative::PRS or value = vocab::RoleClassAssociative::NOK or value = vocab::RoleClassAssociative::CAREGIVER or value = vocab::RoleClassAssociative::AGNT or value = vocab::RoleClassAssociative::GUAR or value = vocab::RoleClassAssociative::ECON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassAssociative) and \r\nlet value : vocab::RoleClassAssociative = classCode.oclAsType(vocab::RoleClassAssociative) in \r\nvalue = vocab::RoleClassAssociative::PRS or value = vocab::RoleClassAssociative::NOK or value = vocab::RoleClassAssociative::CAREGIVER or value = vocab::RoleClassAssociative::AGNT or value = vocab::RoleClassAssociative::GUAR or value = vocab::RoleClassAssociative::ECON)'" * @generated */ boolean validateCarePlanParticipantCaregiverAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -626,7 +622,7 @@ boolean validateCarePlanParticipantCaregiverAssociatedEntityClassCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -639,7 +635,7 @@ boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPerson(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" * @generated */ boolean validateCarePlanParticipantCaregiverTypeCode(DiagnosticChain diagnostics, Map context); @@ -651,7 +647,7 @@ boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPerson(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateCarePlanParticipantCaregiverAssociatedEntity(DiagnosticChain diagnostics, @@ -664,7 +660,7 @@ boolean validateCarePlanParticipantCaregiverAssociatedEntity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventIVLTSLow(DiagnosticChain diagnostics, @@ -677,7 +673,7 @@ boolean validateCarePlanDocumentationOfServiceEventIVLTSLow(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventIVLTSHigh(DiagnosticChain diagnostics, @@ -690,7 +686,7 @@ boolean validateCarePlanDocumentationOfServiceEventIVLTSHigh(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssignedPersonName( @@ -703,7 +699,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssign * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityId(DiagnosticChain diagnostics, @@ -716,7 +712,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityId(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityCode(DiagnosticChain diagnostics, @@ -729,7 +725,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityCode(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssignedPerson( @@ -742,7 +738,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssign * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -755,7 +751,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntity(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventClassCode(DiagnosticChain diagnostics, @@ -768,7 +764,7 @@ boolean validateCarePlanDocumentationOfServiceEventClassCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -781,7 +777,7 @@ boolean validateCarePlanDocumentationOfServiceEventEffectiveTime(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1)))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventPerformer1(DiagnosticChain diagnostics, @@ -794,7 +790,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformer1(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEvent(DiagnosticChain diagnostics, Map context); @@ -806,7 +802,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformer1(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateCarePlanRelatedDocumentParentDocumentId(DiagnosticChain diagnostics, Map context); @@ -818,7 +814,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformer1(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((setId.oclIsUndefined() or setId.isNullFlavorUndefined()) implies (not setId.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((setId.oclIsUndefined() or setId.isNullFlavorUndefined()) implies (not setId.oclIsUndefined()))'" * @generated */ boolean validateCarePlanRelatedDocumentParentDocumentSetId(DiagnosticChain diagnostics, @@ -831,7 +827,7 @@ boolean validateCarePlanRelatedDocumentParentDocumentSetId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((versionNumber.oclIsUndefined() or versionNumber.isNullFlavorUndefined()) implies (not versionNumber.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((versionNumber.oclIsUndefined() or versionNumber.isNullFlavorUndefined()) implies (not versionNumber.oclIsUndefined()))'" * @generated */ boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber(DiagnosticChain diagnostics, @@ -844,7 +840,7 @@ boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(isDefined(\'typeCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(isDefined(\'typeCode\'))'" * @generated */ boolean validateCarePlanRelatedDocumentTypeCodeP(DiagnosticChain diagnostics, Map context); @@ -856,7 +852,7 @@ boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(not typeCode.oclIsUndefined() and typeCode.oclIsKindOf(vocab::x_ActRelationshipDocument) and \r\nlet value : vocab::x_ActRelationshipDocument = typeCode.oclAsType(vocab::x_ActRelationshipDocument) in \r\nvalue = vocab::x_ActRelationshipDocument::APND or value = vocab::x_ActRelationshipDocument::RPLC or value = vocab::x_ActRelationshipDocument::XFRM)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(not typeCode.oclIsUndefined() and typeCode.oclIsKindOf(vocab::x_ActRelationshipDocument) and \r\nlet value : vocab::x_ActRelationshipDocument = typeCode.oclAsType(vocab::x_ActRelationshipDocument) in \r\nvalue = vocab::x_ActRelationshipDocument::APND or value = vocab::x_ActRelationshipDocument::RPLC or value = vocab::x_ActRelationshipDocument::XFRM)'" * @generated */ boolean validateCarePlanRelatedDocumentTypeCode(DiagnosticChain diagnostics, Map context); @@ -868,7 +864,7 @@ boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(parentDocument->one(parentDocument : cda::ParentDocument | not parentDocument.oclIsUndefined() and parentDocument.oclIsKindOf(cda::ParentDocument)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(parentDocument->one(parentDocument : cda::ParentDocument | not parentDocument.oclIsUndefined() and parentDocument.oclIsKindOf(cda::ParentDocument)))'" * @generated */ boolean validateCarePlanRelatedDocumentParentDocument(DiagnosticChain diagnostics, Map context); @@ -880,7 +876,7 @@ boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -893,7 +889,7 @@ boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateCarePlanComponentOfEncompassingEncounter(DiagnosticChain diagnostics, Map context); @@ -902,7 +898,7 @@ boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthConcernsSection))->asSequence()->any(true).oclAsType(consol::HealthConcernsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthConcernsSection))->asSequence()->any(true).oclAsType(consol::HealthConcernsSection)'" * @generated */ HealthConcernsSection getHealthConcernsSection(); @@ -911,7 +907,7 @@ boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GoalsSection))->asSequence()->any(true).oclAsType(consol::GoalsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GoalsSection))->asSequence()->any(true).oclAsType(consol::GoalsSection)'" * @generated */ GoalsSection getGoalsSection(); @@ -920,7 +916,7 @@ boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthStatusEvaluationsAndOutcomesSection))->asSequence()->any(true).oclAsType(consol::HealthStatusEvaluationsAndOutcomesSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthStatusEvaluationsAndOutcomesSection))->asSequence()->any(true).oclAsType(consol::HealthStatusEvaluationsAndOutcomesSection)'" * @generated */ HealthStatusEvaluationsAndOutcomesSection getHealthStatusEvaluationsOutcomesSection(); @@ -929,7 +925,7 @@ boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))->asSequence()->any(true).oclAsType(consol::InterventionsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))->asSequence()->any(true).oclAsType(consol::InterventionsSection2)'" * @generated */ InterventionsSection2 getInterventionsSection2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CaregiverCharacteristics.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CaregiverCharacteristics.java index e09cbc3d1c..a6b5b56a86 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CaregiverCharacteristics.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CaregiverCharacteristics.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -34,7 +29,7 @@ public interface CaregiverCharacteristics extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.1\' or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.1\' or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validateCaregiverCharacteristicsValueCodeSystem(DiagnosticChain diagnostics, Map context); @@ -46,7 +41,7 @@ public interface CaregiverCharacteristics extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.72\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.72\')'" * @generated */ boolean validateCaregiverCharacteristicsTemplateId(DiagnosticChain diagnostics, Map context); @@ -82,7 +77,7 @@ public interface CaregiverCharacteristics extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateCaregiverCharacteristicsId(DiagnosticChain diagnostics, Map context); @@ -130,7 +125,7 @@ public interface CaregiverCharacteristics extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateCaregiverCharacteristicsValue(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface CaregiverCharacteristics extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" * @generated */ boolean validateCaregiverCharacteristicsParticipant(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface CaregiverCharacteristics extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::CAREGIVER)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::CAREGIVER)'" * @generated */ boolean validateCaregiverCharacteristicsParticipantParticipantRoleClassCode(DiagnosticChain diagnostics, @@ -167,7 +162,7 @@ boolean validateCaregiverCharacteristicsParticipantParticipantRoleClassCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(not time.oclIsUndefined() implies time.low->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(not time.oclIsUndefined() implies time.low->size() = 1)'" * @generated */ boolean validateCaregiverCharacteristicsParticipantTimeLow(DiagnosticChain diagnostics, @@ -180,7 +175,7 @@ boolean validateCaregiverCharacteristicsParticipantTimeLow(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(not time.oclIsUndefined() implies time.high->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(not time.oclIsUndefined() implies time.high->size() = 1)'" * @generated */ boolean validateCaregiverCharacteristicsParticipantTimeHigh(DiagnosticChain diagnostics, @@ -193,7 +188,7 @@ boolean validateCaregiverCharacteristicsParticipantTimeHigh(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::IND)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::IND)'" * @generated */ boolean validateCaregiverCharacteristicsParticipantTypeCode(DiagnosticChain diagnostics, @@ -206,7 +201,7 @@ boolean validateCaregiverCharacteristicsParticipantTypeCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateCaregiverCharacteristicsParticipantTime(DiagnosticChain diagnostics, Map context); @@ -218,7 +213,7 @@ boolean validateCaregiverCharacteristicsParticipantTypeCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validateCaregiverCharacteristicsParticipantParticipantRole(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CharacteristicsOfHomeEnvironment.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CharacteristicsOfHomeEnvironment.java index 3bd5a04707..209d908cab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CharacteristicsOfHomeEnvironment.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CharacteristicsOfHomeEnvironment.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface CharacteristicsOfHomeEnvironment extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.109\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.109\')'" * @generated */ boolean validateCharacteristicsOfHomeEnvironmentTemplateId(DiagnosticChain diagnostics, @@ -69,7 +64,7 @@ boolean validateCharacteristicsOfHomeEnvironmentTemplateId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateCharacteristicsOfHomeEnvironmentId(DiagnosticChain diagnostics, Map context); @@ -131,7 +126,7 @@ boolean validateCharacteristicsOfHomeEnvironmentStatusCodeP(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateCharacteristicsOfHomeEnvironmentValue(DiagnosticChain diagnostics, Map context); @@ -143,7 +138,7 @@ boolean validateCharacteristicsOfHomeEnvironmentStatusCodeP(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateCharacteristicsOfHomeEnvironmentValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintAndReasonForVisitSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintAndReasonForVisitSection.java index c631ef485c..c55b616f1e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintAndReasonForVisitSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintAndReasonForVisitSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ChiefComplaintAndReasonForVisitSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.13\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.13\')'" * @generated */ boolean validateChiefComplaintAndReasonForVisitSectionTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintSection.java index 87b8de29ce..5db2f926e1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface ChiefComplaintSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1\')'" * @generated */ boolean validateChiefComplaintSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CodeObservations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CodeObservations.java index cca68d5909..79c56065b7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CodeObservations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CodeObservations.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -33,7 +28,7 @@ public interface CodeObservations extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.13\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.13\')'" * @generated */ boolean validateCodeObservationsTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface CodeObservations extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateCodeObservationsValue(DiagnosticChain diagnostics, Map context); @@ -105,7 +100,7 @@ public interface CodeObservations extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateCodeObservationsSOPInstanceObservation(DiagnosticChain diagnostics, Map context); @@ -117,7 +112,7 @@ public interface CodeObservations extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::QuantityMeasurementObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::QuantityMeasurementObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateCodeObservationsQuantityMeasurementObservation(DiagnosticChain diagnostics, @@ -127,7 +122,7 @@ boolean validateCodeObservationsQuantityMeasurementObservation(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" * @generated */ EList getSOPInstanceObservations(); @@ -136,7 +131,7 @@ boolean validateCodeObservationsQuantityMeasurementObservation(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::QuantityMeasurementObservation)).oclAsType(consol::QuantityMeasurementObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::QuantityMeasurementObservation)).oclAsType(consol::QuantityMeasurementObservation)'" * @generated */ EList getQuantityMeasurementObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveAbilitiesObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveAbilitiesObservation.java index f722e2b4de..04ff407886 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveAbilitiesObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveAbilitiesObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -33,7 +28,7 @@ public interface CognitiveAbilitiesObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.126\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.126\')'" * @generated */ boolean validateCognitiveAbilitiesObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface CognitiveAbilitiesObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateCognitiveAbilitiesObservationId(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ boolean validateCognitiveAbilitiesObservationEffectiveTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateCognitiveAbilitiesObservationValue(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ boolean validateCognitiveAbilitiesObservationEffectiveTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateCognitiveAbilitiesObservationValueP(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ boolean validateCognitiveAbilitiesObservationEffectiveTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateCognitiveAbilitiesObservationAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -191,7 +186,7 @@ boolean validateCognitiveAbilitiesObservationAssessmentScaleObservation(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateCognitiveAbilitiesObservationAuthorParticipation(DiagnosticChain diagnostics, @@ -201,7 +196,7 @@ boolean validateCognitiveAbilitiesObservationAuthorParticipation(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusProblemObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusProblemObservation.java index 46d29ed160..b6b82ca4c2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusProblemObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusProblemObservation.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface CognitiveStatusProblemObservation extends ProblemObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (not self.methodCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (not self.methodCode->isEmpty())'" * @generated */ boolean validateCognitiveStatusProblemObservationMethodCode(DiagnosticChain diagnostics, @@ -44,7 +40,7 @@ boolean validateCognitiveStatusProblemObservationMethodCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateCognitiveStatusProblemObservationNonMedicinalSupplyActivity(DiagnosticChain diagnostics, @@ -57,7 +53,7 @@ boolean validateCognitiveStatusProblemObservationNonMedicinalSupplyActivity(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateCognitiveStatusProblemObservationCaregiverCharacteristics(DiagnosticChain diagnostics, @@ -70,7 +66,7 @@ boolean validateCognitiveStatusProblemObservationCaregiverCharacteristics(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateCognitiveStatusProblemObservationAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -80,7 +76,7 @@ boolean validateCognitiveStatusProblemObservationAssessmentScaleObservation(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ EList getNonMedicinalSupplyActivities(); @@ -89,7 +85,7 @@ boolean validateCognitiveStatusProblemObservationAssessmentScaleObservation(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -98,7 +94,7 @@ boolean validateCognitiveStatusProblemObservationAssessmentScaleObservation(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultObservation.java index e4861dfef9..00a31efdb1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultObservation.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface CognitiveStatusResultObservation extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateCognitiveStatusResultObservationValueDatatype(DiagnosticChain diagnostics, @@ -58,7 +54,7 @@ boolean validateCognitiveStatusResultObservationValueDatatype(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateCognitiveStatusResultObservationAuthor(DiagnosticChain diagnostics, Map context); @@ -70,7 +66,7 @@ boolean validateCognitiveStatusResultObservationValueDatatype(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateCognitiveStatusResultObservationNonMedicinalSupplyActivity(DiagnosticChain diagnostics, @@ -83,7 +79,7 @@ boolean validateCognitiveStatusResultObservationNonMedicinalSupplyActivity(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateCognitiveStatusResultObservationCaregiverCharacteristics(DiagnosticChain diagnostics, @@ -96,7 +92,7 @@ boolean validateCognitiveStatusResultObservationCaregiverCharacteristics(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateCognitiveStatusResultObservationAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -109,7 +105,7 @@ boolean validateCognitiveStatusResultObservationAssessmentScaleObservation(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" * @generated */ boolean validateCognitiveStatusResultObservationReferenceRange(DiagnosticChain diagnostics, @@ -122,7 +118,7 @@ boolean validateCognitiveStatusResultObservationReferenceRange(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(code.oclIsUndefined())'" * @generated */ boolean validateCognitiveStatusResultObservationReferenceRangeObservationRangeNoCode(DiagnosticChain diagnostics, @@ -135,7 +131,7 @@ boolean validateCognitiveStatusResultObservationReferenceRangeObservationRangeNo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" * @generated */ boolean validateCognitiveStatusResultObservationReferenceRangeObservationRange(DiagnosticChain diagnostics, @@ -145,7 +141,7 @@ boolean validateCognitiveStatusResultObservationReferenceRangeObservationRange(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ EList getNonMedicinalSupplyActivities(); @@ -154,7 +150,7 @@ boolean validateCognitiveStatusResultObservationReferenceRangeObservationRange(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -163,7 +159,7 @@ boolean validateCognitiveStatusResultObservationReferenceRangeObservationRange(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultOrganizer.java index f6ef9d726a..05bc23095a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultOrganizer.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -41,7 +37,7 @@ boolean validateCognitiveStatusResultOrganizerCodeCodeSystem(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusResultObservation)).oclAsType(consol::CognitiveStatusResultObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusResultObservation)).oclAsType(consol::CognitiveStatusResultObservation)'" * @generated */ EList getConsolCognitiveStatusResultObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CommentActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CommentActivity.java index b65f18c39c..5dda0b7697 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CommentActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CommentActivity.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -32,7 +27,7 @@ public interface CommentActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateCommentActivityTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface CommentActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateCommentActivityTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface CommentActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.64\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.64\')'" * @generated */ boolean validateCommentActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface CommentActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateCommentActivityAuthorParticipation(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection.java index 781b624150..2fb927ca45 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface ComplicationsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.37\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.37\')'" * @generated */ boolean validateComplicationsSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ComplicationsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProblemObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProblemObservation))'" * @generated */ boolean validateComplicationsSectionProblemObservation(DiagnosticChain diagnostics, Map context); @@ -102,7 +97,7 @@ public interface ComplicationsSection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection2.java index 6467aceaee..b8cd4d3d92 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -43,7 +39,7 @@ public interface ComplicationsSection2 extends ComplicationsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.37\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.37\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateComplicationsSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface ComplicationsSection2 extends ComplicationsSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsolPackage.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsolPackage.java index 79db4082a6..435658e958 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsolPackage.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsolPackage.java @@ -4,7 +4,6 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; - import org.eclipse.mdht.uml.cda.CDAPackage; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote.java index 567c87a09b..5c97356f41 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface ConsultationNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateConsultationNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( @@ -49,7 +45,7 @@ boolean validateConsultationNoteHasAnAssementAndPlanSectionOrIndividualAssementA * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateConsultationNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( @@ -62,7 +58,7 @@ boolean validateConsultationNoteDoesNotHaveIndividualAssementAndPlanSectionsWhen * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateConsultationNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( @@ -75,7 +71,7 @@ boolean validateConsultationNoteDoesNotHaveChiefComplaintAndReasonForVisitWithCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection)) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection)) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticChain diagnostics, @@ -100,7 +96,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateConsultationNoteComponentOf(DiagnosticChain diagnostics, Map context); @@ -112,7 +108,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateConsultationNoteAssessmentSection(DiagnosticChain diagnostics, Map context); @@ -124,7 +120,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateConsultationNoteAssessmentAndPlanSection(DiagnosticChain diagnostics, Map context); @@ -136,7 +132,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateConsultationNotePlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -148,7 +144,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateConsultationNoteHistoryOfPresentIllness(DiagnosticChain diagnostics, Map context); @@ -160,7 +156,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" * @generated */ boolean validateConsultationNotePhysicalExamSection(DiagnosticChain diagnostics, Map context); @@ -172,7 +168,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection))'" * @generated */ boolean validateConsultationNoteReasonForReferralSection(DiagnosticChain diagnostics, Map context); @@ -184,7 +180,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateConsultationNoteReasonForVisitSection(DiagnosticChain diagnostics, Map context); @@ -196,7 +192,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" * @generated */ boolean validateConsultationNoteAllergiesSection(DiagnosticChain diagnostics, Map context); @@ -208,7 +204,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateConsultationNoteChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -220,7 +216,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateConsultationNoteChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -233,7 +229,7 @@ boolean validateConsultationNoteChiefComplaintAndReasonForVisitSection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" * @generated */ boolean validateConsultationNoteFamilyHistorySection(DiagnosticChain diagnostics, Map context); @@ -245,7 +241,7 @@ boolean validateConsultationNoteChiefComplaintAndReasonForVisitSection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" * @generated */ boolean validateConsultationNoteGeneralStatusSection(DiagnosticChain diagnostics, Map context); @@ -257,7 +253,7 @@ boolean validateConsultationNoteChiefComplaintAndReasonForVisitSection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" * @generated */ boolean validateConsultationNoteHistoryOfPastIllnessSection(DiagnosticChain diagnostics, @@ -270,7 +266,7 @@ boolean validateConsultationNoteHistoryOfPastIllnessSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection))'" * @generated */ boolean validateConsultationNoteImmunizationsSection(DiagnosticChain diagnostics, Map context); @@ -282,7 +278,7 @@ boolean validateConsultationNoteHistoryOfPastIllnessSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" * @generated */ boolean validateConsultationNoteMedicationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -295,7 +291,7 @@ boolean validateConsultationNoteMedicationsSectionEntriesOptional(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" * @generated */ boolean validateConsultationNoteProblemSectionEntriesOptional(DiagnosticChain diagnostics, @@ -308,7 +304,7 @@ boolean validateConsultationNoteProblemSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" * @generated */ boolean validateConsultationNoteProceduresSectionEntriesOptional(DiagnosticChain diagnostics, @@ -321,7 +317,7 @@ boolean validateConsultationNoteProceduresSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))'" * @generated */ boolean validateConsultationNoteResultsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -334,7 +330,7 @@ boolean validateConsultationNoteResultsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateConsultationNoteReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -346,7 +342,7 @@ boolean validateConsultationNoteResultsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" * @generated */ boolean validateConsultationNoteSocialHistorySection(DiagnosticChain diagnostics, Map context); @@ -358,7 +354,7 @@ boolean validateConsultationNoteResultsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" * @generated */ boolean validateConsultationNoteVitalSignsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -371,7 +367,7 @@ boolean validateConsultationNoteVitalSignsSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" * @generated */ boolean validateConsultationNoteInFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -383,7 +379,7 @@ boolean validateConsultationNoteVitalSignsSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePartyAssignedEntityHasPersonOrganizationOrBoth( @@ -396,7 +392,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePartyAssignedEntity( @@ -409,7 +405,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterParticipantAssignedEntityHasPersonOrganizationOrBoth( @@ -422,7 +418,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterParticipantAssignedEntity( @@ -435,7 +431,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheDay(DiagnosticChain diagnostics, @@ -448,7 +444,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheDay * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheMinute(DiagnosticChain diagnostics, @@ -461,7 +457,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheMin * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheSecond(DiagnosticChain diagnostics, @@ -474,7 +470,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheSec * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2IfMorePreciseThanDayIncludeTimeZoneOffset( @@ -487,7 +483,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2IfMorePreciseTh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2EffectiveTime(DiagnosticChain diagnostics, @@ -500,7 +496,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2EffectiveTime(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2Id(DiagnosticChain diagnostics, @@ -513,7 +509,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2Id(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsibleParty(DiagnosticChain diagnostics, @@ -526,7 +522,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->exists(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->exists(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterParticipant(DiagnosticChain diagnostics, @@ -539,7 +535,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -552,7 +548,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateConsultationNoteInFulfillmentOfOrderId(DiagnosticChain diagnostics, Map context); @@ -564,7 +560,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" * @generated */ boolean validateConsultationNoteInFulfillmentOfOrder(DiagnosticChain diagnostics, Map context); @@ -573,7 +569,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -582,7 +578,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" * @generated */ AssessmentAndPlanSection getAssessmentAndPlanSection(); @@ -591,7 +587,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -600,7 +596,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllness(); @@ -609,7 +605,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" * @generated */ PhysicalExamSection getPhysicalExamSection(); @@ -618,7 +614,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection))->asSequence()->any(true).oclAsType(consol::ReasonForReferralSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection))->asSequence()->any(true).oclAsType(consol::ReasonForReferralSection)'" * @generated */ ReasonForReferralSection getReasonForReferralSection(); @@ -627,7 +623,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -636,7 +632,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" * @generated */ AllergiesSectionEntriesOptional getAllergiesSection(); @@ -645,7 +641,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -654,7 +650,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -663,7 +659,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" * @generated */ FamilyHistorySection getFamilyHistorySection(); @@ -672,7 +668,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" * @generated */ GeneralStatusSection getGeneralStatusSection(); @@ -681,7 +677,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" * @generated */ HistoryOfPastIllnessSection getHistoryOfPastIllnessSection(); @@ -690,7 +686,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection))->asSequence()->any(true).oclAsType(consol::ImmunizationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection))->asSequence()->any(true).oclAsType(consol::ImmunizationsSection)'" * @generated */ ImmunizationsSection getImmunizationsSection(); @@ -699,7 +695,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" * @generated */ MedicationsSectionEntriesOptional getMedicationsSectionEntriesOptional(); @@ -708,7 +704,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" * @generated */ ProblemSectionEntriesOptional getProblemSectionEntriesOptional(); @@ -717,7 +713,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" * @generated */ ProceduresSectionEntriesOptional getProceduresSectionEntriesOptional(); @@ -726,7 +722,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional)'" * @generated */ ResultsSectionEntriesOptional getResultsSectionEntriesOptional(); @@ -735,7 +731,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -744,7 +740,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" * @generated */ SocialHistorySection getSocialHistorySection(); @@ -753,7 +749,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" * @generated */ VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOptional(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote2.java index 0131a13387..1d9cafe2c8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -39,7 +35,7 @@ public interface ConsultationNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateConsultationNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( @@ -52,7 +48,7 @@ boolean validateConsultationNote2HasAnAssementAndPlanSection2OrBothAssementSecti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateConsultationNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent( @@ -65,7 +61,7 @@ boolean validateConsultationNote2DoesNotHaveAssementAndPlanSection2WhenAssementO * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateConsultationNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReasonForVisitSection( @@ -78,7 +74,7 @@ boolean validateConsultationNote2DoesNotHaveChiefComplaintWithChiefComplaintOrRe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( @@ -115,7 +111,7 @@ boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssement * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::CALLBCK)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::CALLBCK)->notEmpty()'" * @generated */ boolean validateConsultationNote2Participant(DiagnosticChain diagnostics, Map context); @@ -127,7 +123,7 @@ boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssement * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" * @generated */ boolean validateConsultationNote2InFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -139,7 +135,7 @@ boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssement * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateConsultationNote2ComponentOf(DiagnosticChain diagnostics, Map context); @@ -151,7 +147,7 @@ boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssement * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateConsultationNote2AssessmentSection(DiagnosticChain diagnostics, Map context); @@ -163,7 +159,7 @@ boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssement * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateConsultationNote2AssessmentAndPlanSection2(DiagnosticChain diagnostics, @@ -176,7 +172,7 @@ boolean validateConsultationNote2AssessmentAndPlanSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateConsultationNote2PlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -188,7 +184,7 @@ boolean validateConsultationNote2AssessmentAndPlanSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateConsultationNote2ReasonForVisitSection(DiagnosticChain diagnostics, Map context); @@ -200,7 +196,7 @@ boolean validateConsultationNote2AssessmentAndPlanSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateConsultationNote2HistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -213,7 +209,7 @@ boolean validateConsultationNote2HistoryOfPresentIllnessSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" * @generated */ boolean validateConsultationNote2PhysicalExamSection2(DiagnosticChain diagnostics, Map context); @@ -225,7 +221,7 @@ boolean validateConsultationNote2HistoryOfPresentIllnessSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" * @generated */ boolean validateConsultationNote2AllergiesSection2(DiagnosticChain diagnostics, Map context); @@ -237,7 +233,7 @@ boolean validateConsultationNote2HistoryOfPresentIllnessSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateConsultationNote2ChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -249,7 +245,7 @@ boolean validateConsultationNote2HistoryOfPresentIllnessSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateConsultationNote2ChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -262,7 +258,7 @@ boolean validateConsultationNote2ChiefComplaintAndReasonForVisitSection(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" * @generated */ boolean validateConsultationNote2GeneralStatusSection(DiagnosticChain diagnostics, Map context); @@ -274,7 +270,7 @@ boolean validateConsultationNote2ChiefComplaintAndReasonForVisitSection(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" * @generated */ boolean validateConsultationNote2HistoryOfPastIllnessSection2(DiagnosticChain diagnostics, @@ -287,7 +283,7 @@ boolean validateConsultationNote2HistoryOfPastIllnessSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" * @generated */ boolean validateConsultationNote2ImmunizationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -300,7 +296,7 @@ boolean validateConsultationNote2ImmunizationsSectionEntriesOptional2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" * @generated */ boolean validateConsultationNote2MedicationsSection2(DiagnosticChain diagnostics, Map context); @@ -312,7 +308,7 @@ boolean validateConsultationNote2ImmunizationsSectionEntriesOptional2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" * @generated */ boolean validateConsultationNote2ProblemSection2(DiagnosticChain diagnostics, Map context); @@ -324,7 +320,7 @@ boolean validateConsultationNote2ImmunizationsSectionEntriesOptional2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" * @generated */ boolean validateConsultationNote2ProceduresSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -337,7 +333,7 @@ boolean validateConsultationNote2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" * @generated */ boolean validateConsultationNote2ResultsSection2(DiagnosticChain diagnostics, Map context); @@ -349,7 +345,7 @@ boolean validateConsultationNote2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateConsultationNote2SocialHistorySection2(DiagnosticChain diagnostics, Map context); @@ -361,7 +357,7 @@ boolean validateConsultationNote2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" * @generated */ boolean validateConsultationNote2VitalSignsSection2(DiagnosticChain diagnostics, Map context); @@ -373,7 +369,7 @@ boolean validateConsultationNote2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" * @generated */ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -386,7 +382,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" * @generated */ boolean validateConsultationNote2FunctionalStatusSection2(DiagnosticChain diagnostics, Map context); @@ -398,7 +394,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateConsultationNote2ReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -410,7 +406,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" * @generated */ boolean validateConsultationNote2MedicalEquipmentSection2(DiagnosticChain diagnostics, Map context); @@ -422,7 +418,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" * @generated */ boolean validateConsultationNote2MentalStatusSection(DiagnosticChain diagnostics, Map context); @@ -434,7 +430,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" * @generated */ boolean validateConsultationNote2NutritionSection(DiagnosticChain diagnostics, Map context); @@ -446,7 +442,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" * @generated */ boolean validateConsultationNote2FamilyHistorySection2(DiagnosticChain diagnostics, Map context); @@ -458,7 +454,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityAssociatedPersonName(DiagnosticChain diagnostics, @@ -471,7 +467,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityAssociatedPersonName * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::ASSIGNED)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::ASSIGNED)'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -484,7 +480,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityClassCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityId(DiagnosticChain diagnostics, @@ -497,7 +493,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityAddr(DiagnosticChain diagnostics, @@ -510,7 +506,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityAddr(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityTelecom(DiagnosticChain diagnostics, @@ -523,7 +519,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityTelecom(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -536,7 +532,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityAssociatedPerson(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(scopingOrganization->one(scopingOrganization : cda::Organization | not scopingOrganization.oclIsUndefined() and scopingOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(scopingOrganization->one(scopingOrganization : cda::Organization | not scopingOrganization.oclIsUndefined() and scopingOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityScopingOrganization(DiagnosticChain diagnostics, @@ -549,7 +545,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityScopingOrganization( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(typeCode=vocab::ParticipationType::CALLBCK)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(typeCode=vocab::ParticipationType::CALLBCK)'" * @generated */ boolean validateConsultationNote2ParticipantTypeCode(DiagnosticChain diagnostics, Map context); @@ -561,7 +557,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityScopingOrganization( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntity(DiagnosticChain diagnostics, @@ -574,7 +570,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateConsultationNote2InFulfillmentOfOrderId(DiagnosticChain diagnostics, Map context); @@ -586,7 +582,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" * @generated */ boolean validateConsultationNote2InFulfillmentOfOrder(DiagnosticChain diagnostics, Map context); @@ -598,7 +594,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS( @@ -611,7 +607,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS( @@ -624,7 +620,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS( @@ -637,7 +633,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS( @@ -650,7 +646,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrganizationOrBoth( @@ -663,7 +659,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( @@ -676,7 +672,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrganizationOrBoth( @@ -689,7 +685,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity( @@ -702,7 +698,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterId(DiagnosticChain diagnostics, @@ -715,7 +711,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterId(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -728,7 +724,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterEffectiveTime(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsibleParty(DiagnosticChain diagnostics, @@ -741,7 +737,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->exists(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->exists(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterParticipant(DiagnosticChain diagnostics, @@ -754,7 +750,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -764,7 +760,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -773,7 +769,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" * @generated */ AssessmentAndPlanSection2 getAssessmentAndPlanSection2(); @@ -782,7 +778,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -791,7 +787,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -800,7 +796,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -809,7 +805,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" * @generated */ PhysicalExamSection2 getPhysicalExamSection2(); @@ -818,7 +814,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" * @generated */ AllergiesSection2 getAllergiesSection2(); @@ -827,7 +823,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -836,7 +832,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -845,7 +841,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" * @generated */ GeneralStatusSection getGeneralStatusSection(); @@ -854,7 +850,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" * @generated */ HistoryOfPastIllnessSection2 getHistoryOfPastIllnessSection2(); @@ -863,7 +859,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" * @generated */ ImmunizationsSectionEntriesOptional2 getImmunizationsSectionEntriesOptional2(); @@ -872,7 +868,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" * @generated */ MedicationsSection2 getMedicationsSection2(); @@ -881,7 +877,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" * @generated */ ProblemSection2 getProblemSection2(); @@ -890,7 +886,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" * @generated */ ProceduresSectionEntriesOptional2 getProceduresSectionEntriesOptional2(); @@ -899,7 +895,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" * @generated */ ResultsSection2 getResultsSection2(); @@ -908,7 +904,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); @@ -917,7 +913,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" * @generated */ VitalSignsSection2 getVitalSignsSection2(); @@ -926,7 +922,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" * @generated */ AdvanceDirectivesSectionEntriesOptional2 getAdvanceDirectivesSectionEntriesOptional2(); @@ -935,7 +931,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" * @generated */ FunctionalStatusSection2 getFunctionalStatusSection2(); @@ -944,7 +940,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -953,7 +949,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" * @generated */ MedicalEquipmentSection2 getMedicalEquipmentSection2(); @@ -962,7 +958,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" * @generated */ MentalStatusSection getMentalStatusSection(); @@ -971,7 +967,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" * @generated */ NutritionSection getNutritionSection(); @@ -980,7 +976,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" * @generated */ FamilyHistorySection2 getFamilyHistorySection2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument.java index cedead6f75..4604c42ba1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -79,7 +75,7 @@ public interface ContinuityOfCareDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -91,7 +87,7 @@ public interface ContinuityOfCareDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" * @generated */ boolean validateContinuityOfCareDocumentAuthor(DiagnosticChain diagnostics, Map context); @@ -103,7 +99,7 @@ public interface ContinuityOfCareDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection))'" * @generated */ boolean validateContinuityOfCareDocumentAllergiesSection(DiagnosticChain diagnostics, Map context); @@ -115,7 +111,7 @@ public interface ContinuityOfCareDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection))'" * @generated */ boolean validateContinuityOfCareDocumentMedicationsSection(DiagnosticChain diagnostics, @@ -128,7 +124,7 @@ boolean validateContinuityOfCareDocumentMedicationsSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection))'" * @generated */ boolean validateContinuityOfCareDocumentProblemSection(DiagnosticChain diagnostics, Map context); @@ -140,7 +136,7 @@ boolean validateContinuityOfCareDocumentMedicationsSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection))'" * @generated */ boolean validateContinuityOfCareDocumentProceduresSection(DiagnosticChain diagnostics, Map context); @@ -152,7 +148,7 @@ boolean validateContinuityOfCareDocumentMedicationsSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection))'" * @generated */ boolean validateContinuityOfCareDocumentResultsSection(DiagnosticChain diagnostics, Map context); @@ -164,7 +160,7 @@ boolean validateContinuityOfCareDocumentMedicationsSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection))'" * @generated */ boolean validateContinuityOfCareDocumentAdvanceDirectivesSection(DiagnosticChain diagnostics, @@ -177,7 +173,7 @@ boolean validateContinuityOfCareDocumentAdvanceDirectivesSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection))'" * @generated */ boolean validateContinuityOfCareDocumentEncountersSection(DiagnosticChain diagnostics, Map context); @@ -189,7 +185,7 @@ boolean validateContinuityOfCareDocumentAdvanceDirectivesSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" * @generated */ boolean validateContinuityOfCareDocumentFamilyHistorySection(DiagnosticChain diagnostics, @@ -202,7 +198,7 @@ boolean validateContinuityOfCareDocumentFamilyHistorySection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))'" * @generated */ boolean validateContinuityOfCareDocumentFunctionalStatusSection(DiagnosticChain diagnostics, @@ -215,7 +211,7 @@ boolean validateContinuityOfCareDocumentFunctionalStatusSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))'" * @generated */ boolean validateContinuityOfCareDocumentImmunizationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -228,7 +224,7 @@ boolean validateContinuityOfCareDocumentImmunizationsSectionEntriesOptional(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection))'" * @generated */ boolean validateContinuityOfCareDocumentMedicalEquipmentSection(DiagnosticChain diagnostics, @@ -241,7 +237,7 @@ boolean validateContinuityOfCareDocumentMedicalEquipmentSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection))'" * @generated */ boolean validateContinuityOfCareDocumentPayersSection(DiagnosticChain diagnostics, Map context); @@ -253,7 +249,7 @@ boolean validateContinuityOfCareDocumentMedicalEquipmentSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateContinuityOfCareDocumentPlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -265,7 +261,7 @@ boolean validateContinuityOfCareDocumentMedicalEquipmentSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" * @generated */ boolean validateContinuityOfCareDocumentSocialHistorySection(DiagnosticChain diagnostics, @@ -278,7 +274,7 @@ boolean validateContinuityOfCareDocumentSocialHistorySection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" * @generated */ boolean validateContinuityOfCareDocumentVitalSignsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -291,7 +287,7 @@ boolean validateContinuityOfCareDocumentVitalSignsSectionEntriesOptional(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTimeHigh(DiagnosticChain diagnostics, @@ -304,7 +300,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTime * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTimeLow(DiagnosticChain diagnostics, @@ -317,7 +313,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTime * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject(id->exists(root=\'2.16.840.1.113883.4.6\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject(id->exists(root=\'2.16.840.1.113883.4.6\'))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntityHasNationalProviderIdentifier( @@ -330,7 +326,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined()))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntityCode( @@ -343,7 +339,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntityId( @@ -356,7 +352,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PRF)'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerTypeCode(DiagnosticChain diagnostics, @@ -369,7 +365,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerType * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntity( @@ -382,7 +378,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventClassCode(DiagnosticChain diagnostics, @@ -395,7 +391,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventClassCode(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -408,7 +404,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTime * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->notEmpty())'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformer(DiagnosticChain diagnostics, @@ -421,7 +417,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformer(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEvent(DiagnosticChain diagnostics, @@ -434,7 +430,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEvent(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not assignedPerson.oclIsUndefined()) or (not representedOrganization.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not assignedPerson.oclIsUndefined()) or (not representedOrganization.oclIsUndefined()))'" * @generated */ boolean validateContinuityOfCareDocumentAuthorAssignedAuthorHasAssignedPersonOrRepresentedOrganization( @@ -447,7 +443,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthorHasAssignedPersonOrR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not representedOrganization.oclIsUndefined() and assignedPerson.oclIsUndefined() and assignedAuthoringDevice.oclIsUndefined()) implies id->exists(id | not id.isNullFlavorUndefined() and id.nullFlavor = vocab::NullFlavor::NA))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not representedOrganization.oclIsUndefined() and assignedPerson.oclIsUndefined() and assignedAuthoringDevice.oclIsUndefined()) implies id->exists(id | not id.isNullFlavorUndefined() and id.nullFlavor = vocab::NullFlavor::NA))'" * @generated */ boolean validateContinuityOfCareDocumentAuthorAssignedAuthorHasRepresentOrganization(DiagnosticChain diagnostics, @@ -460,7 +456,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthorHasRepresentOrganiza * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" * @generated */ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain diagnostics, @@ -470,7 +466,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection))->asSequence()->any(true).oclAsType(consol::AllergiesSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection))->asSequence()->any(true).oclAsType(consol::AllergiesSection)'" * @generated */ AllergiesSection getAllergiesSection(); @@ -479,7 +475,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection))->asSequence()->any(true).oclAsType(consol::MedicationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection))->asSequence()->any(true).oclAsType(consol::MedicationsSection)'" * @generated */ MedicationsSection getMedicationsSection(); @@ -488,7 +484,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection))->asSequence()->any(true).oclAsType(consol::ProblemSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection))->asSequence()->any(true).oclAsType(consol::ProblemSection)'" * @generated */ ProblemSection getProblemSection(); @@ -497,7 +493,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection))->asSequence()->any(true).oclAsType(consol::ProceduresSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection))->asSequence()->any(true).oclAsType(consol::ProceduresSection)'" * @generated */ ProceduresSection getProceduresSection(); @@ -506,7 +502,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection))->asSequence()->any(true).oclAsType(consol::ResultsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection))->asSequence()->any(true).oclAsType(consol::ResultsSection)'" * @generated */ ResultsSection getResultsSection(); @@ -515,7 +511,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSection)'" * @generated */ AdvanceDirectivesSection getAdvanceDirectivesSection(); @@ -524,7 +520,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection))->asSequence()->any(true).oclAsType(consol::EncountersSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection))->asSequence()->any(true).oclAsType(consol::EncountersSection)'" * @generated */ EncountersSection getEncountersSection(); @@ -533,7 +529,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" * @generated */ FamilyHistorySection getFamilyHistorySection(); @@ -542,7 +538,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection)'" * @generated */ FunctionalStatusSection getFunctionalStatusSection(); @@ -551,7 +547,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional)'" * @generated */ ImmunizationsSectionEntriesOptional getImmunizationsSectionEntriesOptional(); @@ -560,7 +556,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection)'" * @generated */ MedicalEquipmentSection getMedicalEquipmentSection(); @@ -569,7 +565,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection))->asSequence()->any(true).oclAsType(consol::PayersSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection))->asSequence()->any(true).oclAsType(consol::PayersSection)'" * @generated */ PayersSection getPayersSection(); @@ -578,7 +574,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -587,7 +583,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" * @generated */ SocialHistorySection getSocialHistorySection(); @@ -596,7 +592,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" * @generated */ VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOptional(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument2.java index 1c22567c94..91387fb02f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -61,7 +57,7 @@ public interface ContinuityOfCareDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" * @generated */ boolean validateContinuityOfCareDocument2Author(DiagnosticChain diagnostics, Map context); @@ -73,7 +69,7 @@ public interface ContinuityOfCareDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOf(DiagnosticChain diagnostics, Map context); @@ -85,7 +81,7 @@ public interface ContinuityOfCareDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" * @generated */ boolean validateContinuityOfCareDocument2AllergiesSection2(DiagnosticChain diagnostics, @@ -98,7 +94,7 @@ boolean validateContinuityOfCareDocument2AllergiesSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" * @generated */ boolean validateContinuityOfCareDocument2MedicationsSection2(DiagnosticChain diagnostics, @@ -111,7 +107,7 @@ boolean validateContinuityOfCareDocument2MedicationsSection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" * @generated */ boolean validateContinuityOfCareDocument2ProblemSection2(DiagnosticChain diagnostics, Map context); @@ -123,7 +119,7 @@ boolean validateContinuityOfCareDocument2MedicationsSection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))'" * @generated */ boolean validateContinuityOfCareDocument2ProceduresSection2(DiagnosticChain diagnostics, @@ -136,7 +132,7 @@ boolean validateContinuityOfCareDocument2ProceduresSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" * @generated */ boolean validateContinuityOfCareDocument2ResultsSection2(DiagnosticChain diagnostics, Map context); @@ -148,7 +144,7 @@ boolean validateContinuityOfCareDocument2ProceduresSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" * @generated */ boolean validateContinuityOfCareDocument2AdvanceDirectivesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -161,7 +157,7 @@ boolean validateContinuityOfCareDocument2AdvanceDirectivesSectionEntriesOptional * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSectionEntriesOptional2))'" * @generated */ boolean validateContinuityOfCareDocument2EncountersSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -174,7 +170,7 @@ boolean validateContinuityOfCareDocument2EncountersSectionEntriesOptional2(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" * @generated */ boolean validateContinuityOfCareDocument2FunctionalStatusSection2(DiagnosticChain diagnostics, @@ -187,7 +183,7 @@ boolean validateContinuityOfCareDocument2FunctionalStatusSection2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))'" * @generated */ boolean validateContinuityOfCareDocument2ImmunizationsSection2(DiagnosticChain diagnostics, @@ -200,7 +196,7 @@ boolean validateContinuityOfCareDocument2ImmunizationsSection2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" * @generated */ boolean validateContinuityOfCareDocument2MedicalEquipmentSection2(DiagnosticChain diagnostics, @@ -213,7 +209,7 @@ boolean validateContinuityOfCareDocument2MedicalEquipmentSection2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))'" * @generated */ boolean validateContinuityOfCareDocument2PayersSection2(DiagnosticChain diagnostics, Map context); @@ -225,7 +221,7 @@ boolean validateContinuityOfCareDocument2MedicalEquipmentSection2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateContinuityOfCareDocument2PlanOfTreatmentSection2(DiagnosticChain diagnostics, @@ -238,7 +234,7 @@ boolean validateContinuityOfCareDocument2PlanOfTreatmentSection2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateContinuityOfCareDocument2SocialHistorySection2(DiagnosticChain diagnostics, @@ -251,7 +247,7 @@ boolean validateContinuityOfCareDocument2SocialHistorySection2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" * @generated */ boolean validateContinuityOfCareDocument2VitalSignsSection2(DiagnosticChain diagnostics, @@ -264,7 +260,7 @@ boolean validateContinuityOfCareDocument2VitalSignsSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" * @generated */ boolean validateContinuityOfCareDocument2MentalStatusSection(DiagnosticChain diagnostics, @@ -277,7 +273,7 @@ boolean validateContinuityOfCareDocument2MentalStatusSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" * @generated */ boolean validateContinuityOfCareDocument2NutritionSection(DiagnosticChain diagnostics, Map context); @@ -289,7 +285,7 @@ boolean validateContinuityOfCareDocument2MentalStatusSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" * @generated */ boolean validateContinuityOfCareDocument2FamilyHistorySection2(DiagnosticChain diagnostics, @@ -302,7 +298,7 @@ boolean validateContinuityOfCareDocument2FamilyHistorySection2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(not assignedPerson.oclIsUndefined() or (not assignedAuthoringDevice.oclIsUndefined() and not representedOrganization.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(not assignedPerson.oclIsUndefined() or (not assignedAuthoringDevice.oclIsUndefined() and not representedOrganization.oclIsUndefined()))'" * @generated */ boolean validateContinuityOfCareDocument2AuthorAssignedAuthorHasAssignedPersonOrRepresentedOrganization( @@ -315,7 +311,7 @@ boolean validateContinuityOfCareDocument2AuthorAssignedAuthorHasAssignedPersonOr * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not representedOrganization.oclIsUndefined() and assignedPerson.oclIsUndefined() and assignedAuthoringDevice.oclIsUndefined()) implies id->exists(id | not id.isNullFlavorUndefined() and id.nullFlavor = vocab::NullFlavor::NA))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not representedOrganization.oclIsUndefined() and assignedPerson.oclIsUndefined() and assignedAuthoringDevice.oclIsUndefined()) implies id->exists(id | not id.isNullFlavorUndefined() and id.nullFlavor = vocab::NullFlavor::NA))'" * @generated */ boolean validateContinuityOfCareDocument2AuthorAssignedAuthorHasRepresentOrganization(DiagnosticChain diagnostics, @@ -328,7 +324,7 @@ boolean validateContinuityOfCareDocument2AuthorAssignedAuthorHasRepresentOrganiz * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" * @generated */ boolean validateContinuityOfCareDocument2AuthorAssignedAuthor(DiagnosticChain diagnostics, @@ -341,7 +337,7 @@ boolean validateContinuityOfCareDocument2AuthorAssignedAuthor(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventIVLTSLow(DiagnosticChain diagnostics, @@ -354,7 +350,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventIVLTSLow(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventIVLTSHigh(DiagnosticChain diagnostics, @@ -367,7 +363,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventIVLTSHigh(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((not assignedPerson.oclIsUndefined() and not id->isEmpty()) implies id->exists(id | (id.isNullFlavorDefined() and id.extension->isEmpty() and id.root->isEmpty()) or (id.isNullFlavorDefined() and id.root=\'2.16.840.1.113883.4.6\') or (id.root=\'2.16.840.1.113883.4.6\' and id.extension->size() = 1)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((not assignedPerson.oclIsUndefined() and not id->isEmpty()) implies id->exists(id | (id.isNullFlavorDefined() and id.extension->isEmpty() and id.root->isEmpty()) or (id.isNullFlavorDefined() and id.root=\'2.16.840.1.113883.4.6\') or (id.root=\'2.16.840.1.113883.4.6\' and id.extension->size() = 1)))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntityHasNationalProviderIdentifier( @@ -380,7 +376,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntityId( @@ -393,7 +389,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntityAssignedPerson( @@ -406,7 +402,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PRF)'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerTypeCode(DiagnosticChain diagnostics, @@ -419,7 +415,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerTyp * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntity( @@ -432,7 +428,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventClassCode(DiagnosticChain diagnostics, @@ -445,7 +441,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventClassCode(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -458,7 +454,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventEffectiveTim * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->notEmpty())'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformer(DiagnosticChain diagnostics, @@ -471,7 +467,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformer(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticChain diagnostics, @@ -481,7 +477,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" * @generated */ AllergiesSection2 getAllergiesSection2(); @@ -490,7 +486,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" * @generated */ MedicationsSection2 getMedicationsSection2(); @@ -499,7 +495,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" * @generated */ ProblemSection2 getProblemSection2(); @@ -508,7 +504,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))->asSequence()->any(true).oclAsType(consol::ProceduresSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))->asSequence()->any(true).oclAsType(consol::ProceduresSection2)'" * @generated */ ProceduresSection2 getProceduresSection2(); @@ -517,7 +513,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" * @generated */ ResultsSection2 getResultsSection2(); @@ -526,7 +522,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" * @generated */ AdvanceDirectivesSectionEntriesOptional2 getAdvanceDirectivesSectionEntriesOptional2(); @@ -535,7 +531,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::EncountersSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::EncountersSectionEntriesOptional2)'" * @generated */ EncountersSectionEntriesOptional2 getEncountersSectionEntriesOptional2(); @@ -544,7 +540,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" * @generated */ FunctionalStatusSection2 getFunctionalStatusSection2(); @@ -553,7 +549,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSection2)'" * @generated */ ImmunizationsSection2 getImmunizationsSection2(); @@ -562,7 +558,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" * @generated */ MedicalEquipmentSection2 getMedicalEquipmentSection2(); @@ -571,7 +567,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))->asSequence()->any(true).oclAsType(consol::PayersSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))->asSequence()->any(true).oclAsType(consol::PayersSection2)'" * @generated */ PayersSection2 getPayersSection2(); @@ -580,7 +576,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -589,7 +585,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); @@ -598,7 +594,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" * @generated */ VitalSignsSection2 getVitalSignsSection2(); @@ -607,7 +603,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" * @generated */ MentalStatusSection getMentalStatusSection(); @@ -616,7 +612,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" * @generated */ NutritionSection getNutritionSection(); @@ -625,7 +621,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" * @generated */ FamilyHistorySection2 getFamilyHistorySection2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CourseOfCareSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CourseOfCareSection.java index b106665b62..43e823d4a0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CourseOfCareSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CourseOfCareSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface CourseOfCareSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.64\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.64\')'" * @generated */ boolean validateCourseOfCareSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity.java index 0514f9f09b..145f87e112 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface CoverageActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->forAll(er : cda::EntryRelationship | not er.sequenceNumber.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->forAll(er : cda::EntryRelationship | not er.sequenceNumber.oclIsUndefined())'" * @generated */ boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber(DiagnosticChain diagnostics, @@ -46,7 +41,7 @@ boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.60\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.60\')'" * @generated */ boolean validateCoverageActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -82,7 +77,7 @@ boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateCoverageActivityId(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PolicyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PolicyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateCoverageActivityPolicyActivity(DiagnosticChain diagnostics, Map context); @@ -127,7 +122,7 @@ boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PolicyActivity)).oclAsType(consol::PolicyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PolicyActivity)).oclAsType(consol::PolicyActivity)'" * @generated */ EList getPolicyActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity2.java index c8c39dc54c..abb8381bc6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface CoverageActivity2 extends CoverageActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.60\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.60\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateCoverageActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -57,7 +53,7 @@ public interface CoverageActivity2 extends CoverageActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))'" * @generated */ boolean validateCoverageActivity2EntryRelationship(DiagnosticChain diagnostics, Map context); @@ -69,7 +65,7 @@ public interface CoverageActivity2 extends CoverageActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).sequenceNumber->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not value.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).sequenceNumber->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not value.oclIsUndefined() )))'" * @generated */ boolean validateCoverageActivity2EntryRelationshipINTValue(DiagnosticChain diagnostics, @@ -82,7 +78,7 @@ boolean validateCoverageActivity2EntryRelationshipINTValue(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateCoverageActivity2EntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -95,7 +91,7 @@ boolean validateCoverageActivity2EntryRelationshipTypeCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject((sequenceNumber.oclIsUndefined() or sequenceNumber.isNullFlavorUndefined()) implies (not sequenceNumber.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject((sequenceNumber.oclIsUndefined() or sequenceNumber.isNullFlavorUndefined()) implies (not sequenceNumber.oclIsUndefined()))'" * @generated */ boolean validateCoverageActivity2EntryRelationshipSequenceNumber(DiagnosticChain diagnostics, @@ -108,7 +104,7 @@ boolean validateCoverageActivity2EntryRelationshipSequenceNumber(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PolicyActivity2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PolicyActivity2)))'" * @generated */ boolean validateCoverageActivity2EntryRelationshipPolicyActivity2(DiagnosticChain diagnostics, @@ -118,7 +114,7 @@ boolean validateCoverageActivity2EntryRelationshipPolicyActivity2(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PolicyActivity2)).oclAsType(consol::PolicyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PolicyActivity2)).oclAsType(consol::PolicyActivity2)'" * @generated */ EList getConsolPolicyActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CriticalityObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CriticalityObservation.java index 9e8ec46ea9..addd1ccd1d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CriticalityObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CriticalityObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface CriticalityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.145\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.145\')'" * @generated */ boolean validateCriticalityObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -116,7 +111,7 @@ public interface CriticalityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1063\' and (value.code = \'CRITL\' or value.code = \'CRITH\' or value.code = \'CRITU\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1063\' and (value.code = \'CRITL\' or value.code = \'CRITH\' or value.code = \'CRITU\')))'" * @generated */ boolean validateCriticalityObservationValue(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface CriticalityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateCriticalityObservationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CulturalAndReligiousObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CulturalAndReligiousObservation.java index 4952020cb2..9909eeb82a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CulturalAndReligiousObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CulturalAndReligiousObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface CulturalAndReligiousObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateCulturalAndReligiousObservationValueOfTypeCDIsFromSnomed(DiagnosticChain diagnostics, @@ -45,7 +40,7 @@ boolean validateCulturalAndReligiousObservationValueOfTypeCDIsFromSnomed(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.111\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.111\')'" * @generated */ boolean validateCulturalAndReligiousObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ boolean validateCulturalAndReligiousObservationValueOfTypeCDIsFromSnomed(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateCulturalAndReligiousObservationId(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ boolean validateCulturalAndReligiousObservationStatusCodeP(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateCulturalAndReligiousObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DICOMObjectCatalogSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DICOMObjectCatalogSection.java index ba61637c29..acd486f204 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DICOMObjectCatalogSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DICOMObjectCatalogSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface DICOMObjectCatalogSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.1.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.1.1\')'" * @generated */ boolean validateDICOMObjectCatalogSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface DICOMObjectCatalogSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::StudyAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::StudyAct))'" * @generated */ boolean validateDICOMObjectCatalogSectionStudyAct(DiagnosticChain diagnostics, Map context); @@ -78,7 +73,7 @@ public interface DICOMObjectCatalogSection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::StudyAct)).oclAsType(consol::StudyAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::StudyAct)).oclAsType(consol::StudyAct)'" * @generated */ EList getStudyActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation.java index a38b67de24..c723614d97 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface DeceasedObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.effectiveTime.oclIsUndefined() implies self.effectiveTime.low->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.effectiveTime.oclIsUndefined() implies self.effectiveTime.low->size() = 1'" * @generated */ boolean validateDeceasedObservationEffectiveTimeLow(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface DeceasedObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.79\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.79\')'" * @generated */ boolean validateDeceasedObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -80,7 +75,7 @@ public interface DeceasedObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateDeceasedObservationId(DiagnosticChain diagnostics, Map context); @@ -152,7 +147,7 @@ public interface DeceasedObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'419099009\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'419099009\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateDeceasedObservationValue(DiagnosticChain diagnostics, Map context); @@ -164,7 +159,7 @@ public interface DeceasedObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateDeceasedObservationValueP(DiagnosticChain diagnostics, Map context); @@ -176,7 +171,7 @@ public interface DeceasedObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" * @generated */ boolean validateDeceasedObservationProblemObservation(DiagnosticChain diagnostics, Map context); @@ -185,7 +180,7 @@ public interface DeceasedObservation extends Observation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation))->asSequence()->any(true).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation))->asSequence()->any(true).oclAsType(consol::ProblemObservation)'" * @generated */ ProblemObservation getProblemObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation2.java index 86d01bd681..bd17b75869 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface DeceasedObservation2 extends DeceasedObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.79\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.79\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateDeceasedObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -37,7 +35,7 @@ public interface DeceasedObservation2 extends DeceasedObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2))->asSequence()->any(true).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2))->asSequence()->any(true).oclAsType(consol::ProblemObservation2)'" * @generated */ ProblemObservation2 getConsolProblemObservation2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport.java index 3663d916b7..8e7f6e4104 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -52,7 +48,7 @@ boolean validateDiagnosticImagingReportUseDiagnosticImagingCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->reject(section : cda::Section | section.templateId->exists(root = \'2.16.840.1.113883.10.20.6.1.1\'))->forAll(section : cda::Section | not section.title.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->reject(section : cda::Section | section.templateId->exists(root = \'2.16.840.1.113883.10.20.6.1.1\'))->forAll(section : cda::Section | not section.title.oclIsUndefined())'" * @generated */ boolean validateDiagnosticImagingReportAllSectionsHaveTitle(DiagnosticChain diagnostics, @@ -65,7 +61,7 @@ boolean validateDiagnosticImagingReportAllSectionsHaveTitle(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->reject(section : cda::Section | section.templateId->exists(root = \'2.16.840.1.113883.10.20.6.1.1\'))->forAll(section : cda::Section | not section.text.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->reject(section : cda::Section | section.templateId->exists(root = \'2.16.840.1.113883.10.20.6.1.1\'))->forAll(section : cda::Section | not section.text.oclIsUndefined())'" * @generated */ boolean validateDiagnosticImagingReportSectionsHaveText(DiagnosticChain diagnostics, Map context); @@ -89,7 +85,7 @@ boolean validateDiagnosticImagingReportAllSectionsHaveTitle(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->select(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(rim::Participation))->isEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->select(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(rim::Participation))->isEmpty()'" * @generated */ boolean validateDiagnosticImagingReportInformant(DiagnosticChain diagnostics, Map context); @@ -101,7 +97,7 @@ boolean validateDiagnosticImagingReportAllSectionsHaveTitle(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diagnostics, @@ -114,7 +110,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" * @generated */ boolean validateDiagnosticImagingReportParticipant1(DiagnosticChain diagnostics, Map context); @@ -126,7 +122,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->one(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->one(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" * @generated */ boolean validateDiagnosticImagingReportInFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -138,7 +134,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateDiagnosticImagingReportDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -150,7 +146,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->one(relatedDocument : cda::RelatedDocument | not relatedDocument.oclIsUndefined() and relatedDocument.oclIsKindOf(cda::RelatedDocument))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->one(relatedDocument : cda::RelatedDocument | not relatedDocument.oclIsUndefined() and relatedDocument.oclIsKindOf(cda::RelatedDocument))'" * @generated */ boolean validateDiagnosticImagingReportRelatedDocument(DiagnosticChain diagnostics, Map context); @@ -162,7 +158,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateDiagnosticImagingReportComponentOf(DiagnosticChain diagnostics, Map context); @@ -174,7 +170,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))'" * @generated */ boolean validateDiagnosticImagingReportFindingsSection(DiagnosticChain diagnostics, Map context); @@ -186,7 +182,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))'" * @generated */ boolean validateDiagnosticImagingReportDICOMObjectCatalogSection(DiagnosticChain diagnostics, @@ -199,7 +195,7 @@ boolean validateDiagnosticImagingReportDICOMObjectCatalogSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validateDiagnosticImagingReportParticipantAssociatedEntityPersonName(DiagnosticChain diagnostics, @@ -212,7 +208,7 @@ boolean validateDiagnosticImagingReportParticipantAssociatedEntityPersonName(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateDiagnosticImagingReportParticipantAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -225,7 +221,7 @@ boolean validateDiagnosticImagingReportParticipantAssociatedEntityAssociatedPers * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateDiagnosticImagingReportParticipantAssociatedEntity(DiagnosticChain diagnostics, @@ -238,7 +234,7 @@ boolean validateDiagnosticImagingReportParticipantAssociatedEntity(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::ACT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::ACT)'" * @generated */ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4ClassCode(DiagnosticChain diagnostics, @@ -251,7 +247,7 @@ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4ClassCode(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4Code(DiagnosticChain diagnostics, @@ -264,7 +260,7 @@ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4Code(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4Id(DiagnosticChain diagnostics, @@ -277,7 +273,7 @@ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4Id(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(consol::PhysicianReadingStudyPerformer)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(consol::PhysicianReadingStudyPerformer)))'" * @generated */ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4PhysicianReadingStudyPerformer( @@ -290,7 +286,7 @@ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4PhysicianRead * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent3(DiagnosticChain diagnostics, @@ -303,7 +299,7 @@ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent3(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->size() = 1 or representedOrganization->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->size() = 1 or representedOrganization->size() = 1)'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsiblePartyAssignedEntityHasAssignPersonOrRepresentedOrganization( @@ -316,7 +312,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Responsi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsiblePartyAssignedEntity( @@ -329,7 +325,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Responsi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheDay(DiagnosticChain diagnostics, @@ -342,7 +338,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseT * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheMinute( @@ -355,7 +351,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseT * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheSecond( @@ -368,7 +364,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseT * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7IfMorePreciseThanDayIncludeTimeZoneOffset( @@ -381,7 +377,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7IfMorePr * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7EffectiveTime(DiagnosticChain diagnostics, @@ -394,7 +390,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Effectiv * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Id(DiagnosticChain diagnostics, @@ -407,7 +403,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Id(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(consol::PhysicianofRecordParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(consol::PhysicianofRecordParticipant)))'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PhysicianofRecordParticipant( @@ -420,7 +416,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Physicia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsibleParty( @@ -433,7 +429,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Responsi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -443,7 +439,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))->asSequence()->any(true).oclAsType(consol::FindingsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))->asSequence()->any(true).oclAsType(consol::FindingsSection)'" * @generated */ FindingsSection getFindingsSection(); @@ -452,7 +448,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))->asSequence()->any(true).oclAsType(consol::DICOMObjectCatalogSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))->asSequence()->any(true).oclAsType(consol::DICOMObjectCatalogSection)'" * @generated */ DICOMObjectCatalogSection getDICOMObjectCatalogSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport2.java index d7e060d57d..2f81b1f172 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -86,7 +82,7 @@ public interface DiagnosticImagingReport2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain diagnostics, @@ -99,7 +95,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" * @generated */ boolean validateDiagnosticImagingReport2Participant(DiagnosticChain diagnostics, Map context); @@ -111,7 +107,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" * @generated */ boolean validateDiagnosticImagingReport2InFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -123,7 +119,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateDiagnosticImagingReport2DocumentationOf(DiagnosticChain diagnostics, Map context); @@ -135,7 +131,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->one(relatedDocument : cda::RelatedDocument | not relatedDocument.oclIsUndefined() and relatedDocument.oclIsKindOf(cda::RelatedDocument))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->one(relatedDocument : cda::RelatedDocument | not relatedDocument.oclIsUndefined() and relatedDocument.oclIsKindOf(cda::RelatedDocument))'" * @generated */ boolean validateDiagnosticImagingReport2RelatedDocument(DiagnosticChain diagnostics, Map context); @@ -147,7 +143,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOf(DiagnosticChain diagnostics, Map context); @@ -159,7 +155,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))'" * @generated */ boolean validateDiagnosticImagingReport2FindingsSection(DiagnosticChain diagnostics, Map context); @@ -171,7 +167,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))'" * @generated */ boolean validateDiagnosticImagingReport2DICOMObjectCatalogSection(DiagnosticChain diagnostics, @@ -184,7 +180,7 @@ boolean validateDiagnosticImagingReport2DICOMObjectCatalogSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component2 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component2 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component2))'" * @generated */ boolean validateDiagnosticImagingReport2Component2(DiagnosticChain diagnostics, Map context); @@ -196,7 +192,7 @@ boolean validateDiagnosticImagingReport2DICOMObjectCatalogSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->select(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(rim::Participation))->isEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->select(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(rim::Participation))->isEmpty()'" * @generated */ boolean validateDiagnosticImagingReport2Informant(DiagnosticChain diagnostics, Map context); @@ -208,7 +204,7 @@ boolean validateDiagnosticImagingReport2DICOMObjectCatalogSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->excluding(null)->select(isNullFlavorUndefined())->reject(id.root.size() <= 64)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->excluding(null)->select(isNullFlavorUndefined())->reject(id.root.size() <= 64)'" * @generated */ boolean validateDiagnosticImagingReport2IIRootOIDsMustBeNoMoreThan64Characters(DiagnosticChain diagnostics, @@ -221,7 +217,7 @@ boolean validateDiagnosticImagingReport2IIRootOIDsMustBeNoMoreThan64Characters(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not root.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not root.oclIsUndefined() )))'" * @generated */ boolean validateDiagnosticImagingReport2IIRoot(DiagnosticChain diagnostics, Map context); @@ -233,7 +229,7 @@ boolean validateDiagnosticImagingReport2IIRootOIDsMustBeNoMoreThan64Characters(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validateDiagnosticImagingReport2ParticipantAssociatedEntityPersonName(DiagnosticChain diagnostics, @@ -246,7 +242,7 @@ boolean validateDiagnosticImagingReport2ParticipantAssociatedEntityPersonName(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateDiagnosticImagingReport2ParticipantAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -259,7 +255,7 @@ boolean validateDiagnosticImagingReport2ParticipantAssociatedEntityAssociatedPer * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateDiagnosticImagingReport2ParticipantAssociatedEntity(DiagnosticChain diagnostics, @@ -272,7 +268,7 @@ boolean validateDiagnosticImagingReport2ParticipantAssociatedEntity(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateDiagnosticImagingReport2InFulfillmentOfOrderId(DiagnosticChain diagnostics, @@ -285,7 +281,7 @@ boolean validateDiagnosticImagingReport2InFulfillmentOfOrderId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" * @generated */ boolean validateDiagnosticImagingReport2InFulfillmentOfOrder(DiagnosticChain diagnostics, @@ -298,7 +294,7 @@ boolean validateDiagnosticImagingReport2InFulfillmentOfOrder(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::ACT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::ACT)'" * @generated */ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventClassCode(DiagnosticChain diagnostics, @@ -311,7 +307,7 @@ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventClassCode(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventId(DiagnosticChain diagnostics, @@ -324,7 +320,7 @@ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventId(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventCode(DiagnosticChain diagnostics, @@ -337,7 +333,7 @@ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventCode(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(consol::PhysicianReadingStudyPerformer2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(consol::PhysicianReadingStudyPerformer2)))'" * @generated */ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventPhysicianReadingStudyPerformer2( @@ -350,7 +346,7 @@ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventPhysicianRead * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateDiagnosticImagingReport2DocumentationOfServiceEvent(DiagnosticChain diagnostics, @@ -363,7 +359,7 @@ boolean validateDiagnosticImagingReport2DocumentationOfServiceEvent(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null).id->excluding(null)->select(isNullFlavorUndefined())->reject(not root.oclIsUndefined() implies root.size() <= 64)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null).id->excluding(null)->select(isNullFlavorUndefined())->reject(not root.oclIsUndefined() implies root.size() <= 64)'" * @generated */ boolean validateDiagnosticImagingReport2RelatedDocumentParentDocumentIIOidsLength(DiagnosticChain diagnostics, @@ -376,7 +372,7 @@ boolean validateDiagnosticImagingReport2RelatedDocumentParentDocumentIIOidsLengt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateDiagnosticImagingReport2RelatedDocumentParentDocumentId(DiagnosticChain diagnostics, @@ -389,7 +385,7 @@ boolean validateDiagnosticImagingReport2RelatedDocumentParentDocumentId(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(parentDocument->one(parentDocument : cda::ParentDocument | not parentDocument.oclIsUndefined() and parentDocument.oclIsKindOf(cda::ParentDocument)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(parentDocument->one(parentDocument : cda::ParentDocument | not parentDocument.oclIsUndefined() and parentDocument.oclIsKindOf(cda::ParentDocument)))'" * @generated */ boolean validateDiagnosticImagingReport2RelatedDocumentParentDocument(DiagnosticChain diagnostics, @@ -402,7 +398,7 @@ boolean validateDiagnosticImagingReport2RelatedDocumentParentDocument(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS( @@ -415,7 +411,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS( @@ -428,7 +424,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS( @@ -441,7 +437,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS( @@ -454,7 +450,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->size() = 1 or representedOrganization->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->size() = 1 or representedOrganization->size() = 1)'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasAssignPersonOrRepresentedOrganization( @@ -467,7 +463,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterResponsi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( @@ -480,7 +476,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterResponsi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterId(DiagnosticChain diagnostics, @@ -493,7 +489,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterId(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -506,7 +502,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterEffectiv * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterResponsibleParty( @@ -519,7 +515,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterResponsi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(consol::PhysicianofRecordParticipant2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(consol::PhysicianofRecordParticipant2)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterPhysicianofRecordParticipant2( @@ -532,7 +528,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterPhysicia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -545,7 +541,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounter(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null).subject->excluding(null)->reject(relatedSubject->one(relatedSubject : cda::RelatedSubject | not relatedSubject.oclIsUndefined() and relatedSubject.oclIsKindOf(consol::FetusSubjectContext)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null).subject->excluding(null)->reject(relatedSubject->one(relatedSubject : cda::RelatedSubject | not relatedSubject.oclIsUndefined() and relatedSubject.oclIsKindOf(consol::FetusSubjectContext)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSubjectFetusSubjectContext( @@ -558,7 +554,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(getAllSections()->forAll(section : cda::Section | not section.text.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(getAllSections()->forAll(section : cda::Section | not section.text.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSectionsHaveText( @@ -571,7 +567,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'1.2.840.10008.2.16.4\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'1.2.840.10008.2.16.4\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionCode(DiagnosticChain diagnostics, @@ -584,7 +580,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionCodeP(DiagnosticChain diagnostics, @@ -597,7 +593,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject((title.oclIsUndefined() or title.isNullFlavorUndefined()) implies (not title.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject((title.oclIsUndefined() or title.isNullFlavorUndefined()) implies (not title.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionTitle(DiagnosticChain diagnostics, @@ -610,7 +606,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(not text.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(not text.oclIsUndefined())'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionText(DiagnosticChain diagnostics, @@ -623,7 +619,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies subject->exists(subject : cda::Subject | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::Subject)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies subject->exists(subject : cda::Subject | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::Subject)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSubject(DiagnosticChain diagnostics, @@ -636,7 +632,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionAuthor(DiagnosticChain diagnostics, @@ -649,7 +645,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProcedureContext)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProcedureContext)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionProcedureContext( @@ -662,7 +658,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::TextObservation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::TextObservation)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionTextObservation( @@ -675,7 +671,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CodeObservations)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CodeObservations)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionCodeObservations( @@ -688,7 +684,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::QuantityMeasurementObservation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::QuantityMeasurementObservation)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionQuantityMeasurementObservation( @@ -701,7 +697,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SOPInstanceObservation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SOPInstanceObservation)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSOPInstanceObservation( @@ -714,7 +710,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null)->reject(section->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(cda::Section)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null)->reject(section->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(cda::Section)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section(DiagnosticChain diagnostics, @@ -727,7 +723,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null)->reject(component->exists(component : cda::Component3 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component3)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null)->reject(component->exists(component : cda::Component3 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component3)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3(DiagnosticChain diagnostics, @@ -740,7 +736,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null)->reject(structuredBody->one(structuredBody : cda::StructuredBody | not structuredBody.oclIsUndefined() and structuredBody.oclIsKindOf(cda::StructuredBody)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null)->reject(structuredBody->one(structuredBody : cda::StructuredBody | not structuredBody.oclIsUndefined() and structuredBody.oclIsKindOf(cda::StructuredBody)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBody(DiagnosticChain diagnostics, @@ -750,7 +746,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBody(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))->asSequence()->any(true).oclAsType(consol::FindingsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))->asSequence()->any(true).oclAsType(consol::FindingsSection)'" * @generated */ FindingsSection getFindingsSection(); @@ -759,7 +755,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBody(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))->asSequence()->any(true).oclAsType(consol::DICOMObjectCatalogSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))->asSequence()->any(true).oclAsType(consol::DICOMObjectCatalogSection)'" * @generated */ DICOMObjectCatalogSection getDICOMObjectCatalogSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDiagnosisSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDiagnosisSection2.java index 58a08ba422..fec23e252e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDiagnosisSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDiagnosisSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface DischargeDiagnosisSection2 extends HospitalDischargeDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.24\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.24\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateDischargeDiagnosisSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface DischargeDiagnosisSection2 extends HospitalDischargeDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'78375-3\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'78375-3\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateDischargeDiagnosisSection2CETranslation(DiagnosticChain diagnostics, Map context); @@ -55,7 +51,7 @@ public interface DischargeDiagnosisSection2 extends HospitalDischargeDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateDischargeDiagnosisSection2CETranslationP(DiagnosticChain diagnostics, Map context); @@ -64,7 +60,7 @@ public interface DischargeDiagnosisSection2 extends HospitalDischargeDiagnosisSe * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalDischargeDiagnosis2))->asSequence()->any(true).oclAsType(consol::HospitalDischargeDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalDischargeDiagnosis2))->asSequence()->any(true).oclAsType(consol::HospitalDischargeDiagnosis2)'" * @generated */ HospitalDischargeDiagnosis2 getConsolHospitalDischargeDiagnosis2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDietSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDietSection.java index 01378406df..44d8b27969 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDietSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDietSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface DischargeDietSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.33\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.33\')'" * @generated */ boolean validateDischargeDietSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication.java index 6b338b8b2f..ba8dc33f19 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface DischargeMedication extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateDischargeMedicationMedicationActivity(DiagnosticChain diagnostics, Map context); @@ -45,7 +40,7 @@ public interface DischargeMedication extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.35\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.35\')'" * @generated */ boolean validateDischargeMedicationTemplateId(DiagnosticChain diagnostics, Map context); @@ -90,7 +85,7 @@ public interface DischargeMedication extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication2.java index 642c324851..15d348180b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface DischargeMedication2 extends DischargeMedication { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.35\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.35\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateDischargeMedication2TemplateId(DiagnosticChain diagnostics, Map context); @@ -80,7 +76,7 @@ public interface DischargeMedication2 extends DischargeMedication { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75311-1\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75311-1\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateDischargeMedication2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -92,7 +88,7 @@ public interface DischargeMedication2 extends DischargeMedication { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateDischargeMedication2CDTranslationP(DiagnosticChain diagnostics, Map context); @@ -101,7 +97,7 @@ public interface DischargeMedication2 extends DischargeMedication { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSection2.java index 1d4f03d91e..17b8619735 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -91,7 +87,7 @@ public interface DischargeMedicationsSection2 extends DischargeMedicationsSectio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75311-1\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75311-1\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateDischargeMedicationsSection2CETranslation(DiagnosticChain diagnostics, Map context); @@ -103,7 +99,7 @@ public interface DischargeMedicationsSection2 extends DischargeMedicationsSectio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateDischargeMedicationsSection2CETranslationP(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSectionEntriesOptional2.java index 618ab3f35d..e7b39ce415 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSectionEntriesOptional2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface DischargeMedicationsSectionEntriesOptional2 * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75311-1\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75311-1\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateDischargeMedicationsSectionEntriesOptional2CETranslation(DiagnosticChain diagnostics, @@ -46,7 +42,7 @@ boolean validateDischargeMedicationsSectionEntriesOptional2CETranslation(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateDischargeMedicationsSectionEntriesOptional2CETranslationP(DiagnosticChain diagnostics, @@ -56,7 +52,7 @@ boolean validateDischargeMedicationsSectionEntriesOptional2CETranslationP(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DischargeMedication2)).oclAsType(consol::DischargeMedication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DischargeMedication2)).oclAsType(consol::DischargeMedication2)'" * @generated */ EList getConsolDischargeMedication2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary.java index 509991dae3..430b660a93 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -34,7 +30,7 @@ public interface DischargeSummary extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.getAllSections()->exists(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection)) ) implies not ( self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection)) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.getAllSections()->exists(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection)) ) implies not ( self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection)) )'" * @generated */ boolean validateDischargeSummaryDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( @@ -71,7 +67,7 @@ boolean validateDischargeSummaryDoesNotHaveChiefComplaintAndReasonForVisitWithCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionMedicationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionMedicationsSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryHospitalAdmissionMedicationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -84,7 +80,7 @@ boolean validateDischargeSummaryHospitalAdmissionMedicationsSectionEntriesOption * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionDiagnosisSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionDiagnosisSection))'" * @generated */ boolean validateDischargeSummaryHospitalAdmissionDiagnosisSection(DiagnosticChain diagnostics, @@ -97,7 +93,7 @@ boolean validateDischargeSummaryHospitalAdmissionDiagnosisSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeDiagnosisSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeDiagnosisSection))'" * @generated */ boolean validateDischargeSummaryHospitalDischargeDiagnosisSection(DiagnosticChain diagnostics, @@ -110,7 +106,7 @@ boolean validateDischargeSummaryHospitalDischargeDiagnosisSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))'" * @generated */ boolean validateDischargeSummaryDischargeDietSection(DiagnosticChain diagnostics, Map context); @@ -122,7 +118,7 @@ boolean validateDischargeSummaryHospitalDischargeDiagnosisSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeMedicationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeMedicationsSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryHospitalDischargeMedicationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -135,7 +131,7 @@ boolean validateDischargeSummaryHospitalDischargeMedicationsSectionEntriesOption * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))'" * @generated */ boolean validateDischargeSummaryFunctionalStatusSection(DiagnosticChain diagnostics, Map context); @@ -147,7 +143,7 @@ boolean validateDischargeSummaryHospitalDischargeMedicationsSectionEntriesOption * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateDischargeSummaryHistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -160,7 +156,7 @@ boolean validateDischargeSummaryHistoryOfPresentIllnessSection(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))'" * @generated */ boolean validateDischargeSummaryHospitalCourseSection(DiagnosticChain diagnostics, Map context); @@ -172,7 +168,7 @@ boolean validateDischargeSummaryHistoryOfPresentIllnessSection(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateDischargeSummaryPlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -184,7 +180,7 @@ boolean validateDischargeSummaryHistoryOfPresentIllnessSection(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" * @generated */ boolean validateDischargeSummaryHistoryOfPastIllnessSection(DiagnosticChain diagnostics, @@ -197,7 +193,7 @@ boolean validateDischargeSummaryHistoryOfPastIllnessSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateDischargeSummaryComponentOf(DiagnosticChain diagnostics, Map context); @@ -209,7 +205,7 @@ boolean validateDischargeSummaryHistoryOfPastIllnessSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateDischargeSummaryChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -222,7 +218,7 @@ boolean validateDischargeSummaryChiefComplaintAndReasonForVisitSection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateDischargeSummaryChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -234,7 +230,7 @@ boolean validateDischargeSummaryChiefComplaintAndReasonForVisitSection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" * @generated */ boolean validateDischargeSummaryFamilyHistorySection(DiagnosticChain diagnostics, Map context); @@ -246,7 +242,7 @@ boolean validateDischargeSummaryChiefComplaintAndReasonForVisitSection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))'" * @generated */ boolean validateDischargeSummaryHospitalConsultationsSection(DiagnosticChain diagnostics, @@ -259,7 +255,7 @@ boolean validateDischargeSummaryHospitalConsultationsSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))'" * @generated */ boolean validateDischargeSummaryHospitalDischargeInstructionsSection(DiagnosticChain diagnostics, @@ -272,7 +268,7 @@ boolean validateDischargeSummaryHospitalDischargeInstructionsSection(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))'" * @generated */ boolean validateDischargeSummaryHospitalDischargePhysicalSection(DiagnosticChain diagnostics, @@ -285,7 +281,7 @@ boolean validateDischargeSummaryHospitalDischargePhysicalSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))'" * @generated */ boolean validateDischargeSummaryHospitalDischargeStudiesSummarySection(DiagnosticChain diagnostics, @@ -298,7 +294,7 @@ boolean validateDischargeSummaryHospitalDischargeStudiesSummarySection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryImmunizationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -311,7 +307,7 @@ boolean validateDischargeSummaryImmunizationsSectionEntriesOptional(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryProblemSectionEntriesOptional(DiagnosticChain diagnostics, @@ -324,7 +320,7 @@ boolean validateDischargeSummaryProblemSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryProceduresSectionEntriesOptional(DiagnosticChain diagnostics, @@ -337,7 +333,7 @@ boolean validateDischargeSummaryProceduresSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateDischargeSummaryReasonForVisitSection(DiagnosticChain diagnostics, Map context); @@ -349,7 +345,7 @@ boolean validateDischargeSummaryProceduresSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateDischargeSummaryReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -361,7 +357,7 @@ boolean validateDischargeSummaryProceduresSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" * @generated */ boolean validateDischargeSummarySocialHistorySection(DiagnosticChain diagnostics, Map context); @@ -373,7 +369,7 @@ boolean validateDischargeSummaryProceduresSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryAllergiesSectionEntriesOptional(DiagnosticChain diagnostics, @@ -386,7 +382,7 @@ boolean validateDischargeSummaryAllergiesSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryVitalSignsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -399,7 +395,7 @@ boolean validateDischargeSummaryVitalSignsSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePartyAssignedEntityHasPersonOrOrganization( @@ -412,7 +408,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->exists(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->exists(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePartyAssignedEntity( @@ -425,7 +421,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipantAssignedEntityHasPersonOrOrganization( @@ -438,7 +434,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->exists(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->exists(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipantAssignedEntity( @@ -451,7 +447,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.low.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.low.oclIsUndefined())'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncompassingEncounterHasEffectiveTimeLow( @@ -464,7 +460,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncompassingEnc * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncompassingEncounterHasEffectiveTimeHigh( @@ -477,7 +473,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncompassingEnc * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined() implies let value : datatypes::CE = dischargeDispositionCode.oclAsType(datatypes::CE) in value.codeSystem <> \'2.16.840.1.113883.12.112\' implies value.codeSystem = \'2.16.840.1.113883.6.301.5\' and not value.code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined() implies let value : datatypes::CE = dischargeDispositionCode.oclAsType(datatypes::CE) in value.codeSystem <> \'2.16.840.1.113883.12.112\' implies value.codeSystem = \'2.16.840.1.113883.6.301.5\' and not value.code.oclIsUndefined())'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCodeValueSet( @@ -490,7 +486,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined() implies let value : datatypes::CE = dischargeDispositionCode.oclAsType(datatypes::CE) in value.codeSystem <> \'2.16.840.1.113883.6.301.5\' implies value.codeSystem = \'2.16.840.1.113883.12.112\' and not value.code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined() implies let value : datatypes::CE = dischargeDispositionCode.oclAsType(datatypes::CE) in value.codeSystem <> \'2.16.840.1.113883.6.301.5\' implies value.codeSystem = \'2.16.840.1.113883.12.112\' and not value.code.oclIsUndefined())'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCodeCodeSystem( @@ -503,7 +499,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined()) implies (not dischargeDispositionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined()) implies (not dischargeDispositionCode.oclIsUndefined()))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCode( @@ -516,7 +512,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EffectiveTime(DiagnosticChain diagnostics, @@ -529,7 +525,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EffectiveTime(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsibleParty(DiagnosticChain diagnostics, @@ -542,7 +538,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipant(DiagnosticChain diagnostics, @@ -555,7 +551,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -565,7 +561,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionMedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionMedicationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionMedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionMedicationsSectionEntriesOptional)'" * @generated */ HospitalAdmissionMedicationsSectionEntriesOptional getHospitalAdmissionMedicationsSectionEntriesOptional(); @@ -574,7 +570,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionDiagnosisSection))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionDiagnosisSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionDiagnosisSection))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionDiagnosisSection)'" * @generated */ HospitalAdmissionDiagnosisSection getHospitalAdmissionDiagnosisSection(); @@ -583,7 +579,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeDiagnosisSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeDiagnosisSection)'" * @generated */ HospitalDischargeDiagnosisSection getHospitalDischargeDiagnosisSection(); @@ -592,7 +588,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))->asSequence()->any(true).oclAsType(consol::DischargeDietSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))->asSequence()->any(true).oclAsType(consol::DischargeDietSection)'" * @generated */ DischargeDietSection getDischargeDietSection(); @@ -601,7 +597,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeMedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::HospitalDischargeMedicationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeMedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::HospitalDischargeMedicationsSectionEntriesOptional)'" * @generated */ HospitalDischargeMedicationsSectionEntriesOptional getHospitalDischargeMedicationsSectionEntriesOptional(); @@ -610,7 +606,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection)'" * @generated */ FunctionalStatusSection getFunctionalStatusSection(); @@ -619,7 +615,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -628,7 +624,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))->asSequence()->any(true).oclAsType(consol::HospitalCourseSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))->asSequence()->any(true).oclAsType(consol::HospitalCourseSection)'" * @generated */ HospitalCourseSection getHospitalCourseSection(); @@ -637,7 +633,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -646,7 +642,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" * @generated */ HistoryOfPastIllnessSection getHistoryOfPastIllnessSection(); @@ -655,7 +651,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -664,7 +660,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -673,7 +669,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" * @generated */ FamilyHistorySection getFamilyHistorySection(); @@ -682,7 +678,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))->asSequence()->any(true).oclAsType(consol::HospitalConsultationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))->asSequence()->any(true).oclAsType(consol::HospitalConsultationsSection)'" * @generated */ HospitalConsultationsSection getHospitalConsultationsSection(); @@ -691,7 +687,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeInstructionsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeInstructionsSection)'" * @generated */ HospitalDischargeInstructionsSection getHospitalDischargeInstructionsSection(); @@ -700,7 +696,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargePhysicalSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargePhysicalSection)'" * @generated */ HospitalDischargePhysicalSection getHospitalDischargePhysicalSection(); @@ -709,7 +705,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeStudiesSummarySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeStudiesSummarySection)'" * @generated */ HospitalDischargeStudiesSummarySection getHospitalDischargeStudiesSummarySection(); @@ -718,7 +714,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional)'" * @generated */ ImmunizationsSectionEntriesOptional getImmunizationsSectionEntriesOptional(); @@ -727,7 +723,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" * @generated */ ProblemSectionEntriesOptional getProblemSectionEntriesOptional(); @@ -736,7 +732,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" * @generated */ ProceduresSectionEntriesOptional getProceduresSectionEntriesOptional(); @@ -745,7 +741,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -754,7 +750,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -763,7 +759,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" * @generated */ SocialHistorySection getSocialHistorySection(); @@ -772,7 +768,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" * @generated */ AllergiesSectionEntriesOptional getAllergiesSectionEntriesOptional(); @@ -781,7 +777,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" * @generated */ VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOptional(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary2.java index c02edf029c..c7f7bfa622 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -38,7 +34,7 @@ public interface DischargeSummary2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.getAllSections()->exists(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection)) ) implies not ( self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection)) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.getAllSections()->exists(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection)) ) implies not ( self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection)) )'" * @generated */ boolean validateDischargeSummary2DoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( @@ -75,7 +71,7 @@ boolean validateDischargeSummary2DoesNotHaveChiefComplaintAndReasonForVisitWithC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" * @generated */ boolean validateDischargeSummary2Participant(DiagnosticChain diagnostics, Map context); @@ -87,7 +83,7 @@ boolean validateDischargeSummary2DoesNotHaveChiefComplaintAndReasonForVisitWithC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateDischargeSummary2ComponentOf(DiagnosticChain diagnostics, Map context); @@ -99,7 +95,7 @@ boolean validateDischargeSummary2DoesNotHaveChiefComplaintAndReasonForVisitWithC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2AllergiesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -112,7 +108,7 @@ boolean validateDischargeSummary2AllergiesSectionEntriesOptional2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))'" * @generated */ boolean validateDischargeSummary2HospitalCourseSection(DiagnosticChain diagnostics, Map context); @@ -124,7 +120,7 @@ boolean validateDischargeSummary2AllergiesSectionEntriesOptional2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateDischargeSummary2PlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -136,7 +132,7 @@ boolean validateDischargeSummary2AllergiesSectionEntriesOptional2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateDischargeSummary2ChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -148,7 +144,7 @@ boolean validateDischargeSummary2AllergiesSectionEntriesOptional2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateDischargeSummary2ChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -161,7 +157,7 @@ boolean validateDischargeSummary2ChiefComplaintAndReasonForVisitSection(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" * @generated */ boolean validateDischargeSummary2NutritionSection(DiagnosticChain diagnostics, Map context); @@ -173,7 +169,7 @@ boolean validateDischargeSummary2ChiefComplaintAndReasonForVisitSection(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" * @generated */ boolean validateDischargeSummary2FunctionalStatusSection2(DiagnosticChain diagnostics, Map context); @@ -185,7 +181,7 @@ boolean validateDischargeSummary2ChiefComplaintAndReasonForVisitSection(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" * @generated */ boolean validateDischargeSummary2HistoryOfPastIllnessSection2(DiagnosticChain diagnostics, @@ -198,7 +194,7 @@ boolean validateDischargeSummary2HistoryOfPastIllnessSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateDischargeSummary2HistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -211,7 +207,7 @@ boolean validateDischargeSummary2HistoryOfPresentIllnessSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))'" * @generated */ boolean validateDischargeSummary2HospitalConsultationsSection(DiagnosticChain diagnostics, @@ -224,7 +220,7 @@ boolean validateDischargeSummary2HospitalConsultationsSection(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))'" * @generated */ boolean validateDischargeSummary2HospitalDischargeInstructionsSection(DiagnosticChain diagnostics, @@ -237,7 +233,7 @@ boolean validateDischargeSummary2HospitalDischargeInstructionsSection(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))'" * @generated */ boolean validateDischargeSummary2HospitalDischargePhysicalSection(DiagnosticChain diagnostics, @@ -250,7 +246,7 @@ boolean validateDischargeSummary2HospitalDischargePhysicalSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))'" * @generated */ boolean validateDischargeSummary2HospitalDischargeStudiesSummarySection(DiagnosticChain diagnostics, @@ -263,7 +259,7 @@ boolean validateDischargeSummary2HospitalDischargeStudiesSummarySection(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2ImmunizationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -276,7 +272,7 @@ boolean validateDischargeSummary2ImmunizationsSectionEntriesOptional2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2ProblemSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -289,7 +285,7 @@ boolean validateDischargeSummary2ProblemSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2ProceduresSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -302,7 +298,7 @@ boolean validateDischargeSummary2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateDischargeSummary2ReasonForVisitSection(DiagnosticChain diagnostics, Map context); @@ -314,7 +310,7 @@ boolean validateDischargeSummary2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateDischargeSummary2ReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -326,7 +322,7 @@ boolean validateDischargeSummary2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateDischargeSummary2SocialHistorySection2(DiagnosticChain diagnostics, Map context); @@ -338,7 +334,7 @@ boolean validateDischargeSummary2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2VitalSignsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -351,7 +347,7 @@ boolean validateDischargeSummary2VitalSignsSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))'" * @generated */ boolean validateDischargeSummary2DischargeDiagnosisSection2(DiagnosticChain diagnostics, @@ -364,7 +360,7 @@ boolean validateDischargeSummary2DischargeDiagnosisSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2DischargeMedicationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -377,7 +373,7 @@ boolean validateDischargeSummary2DischargeMedicationsSectionEntriesOptional2(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" * @generated */ boolean validateDischargeSummary2FamilyHistorySection2(DiagnosticChain diagnostics, Map context); @@ -389,7 +385,7 @@ boolean validateDischargeSummary2DischargeMedicationsSectionEntriesOptional2(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))'" * @generated */ boolean validateDischargeSummary2AdmissionDiagnosisSection2(DiagnosticChain diagnostics, @@ -402,7 +398,7 @@ boolean validateDischargeSummary2AdmissionDiagnosisSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2AdmissionMedicationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -415,7 +411,7 @@ boolean validateDischargeSummary2AdmissionMedicationsSectionEntriesOptional2(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSection2))'" * @generated */ boolean validateDischargeSummary2DischargeMedicationsSection2(DiagnosticChain diagnostics, @@ -428,7 +424,7 @@ boolean validateDischargeSummary2DischargeMedicationsSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))'" * @generated */ boolean validateDischargeSummary2DischargeDietSection(DiagnosticChain diagnostics, Map context); @@ -440,7 +436,7 @@ boolean validateDischargeSummary2DischargeMedicationsSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(p : cda::Participant1 | p.typeCode = vocab::ParticipationType::IND and not ( p.associatedEntity.classCode = vocab::RoleClassAssociative::PRS or p.associatedEntity.classCode = vocab::RoleClassAssociative::NOK or p.associatedEntity.classCode = vocab::RoleClassAssociative::CAREGIVER or p.associatedEntity.classCode = vocab::RoleClassAssociative::AGNT or p.associatedEntity.classCode = vocab::RoleClassAssociative::GUAR or p.associatedEntity.classCode = vocab::RoleClassAssociative::ECON or p.associatedEntity.isNullFlavorDefined() ) or p.associatedEntity.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(p : cda::Participant1 | p.typeCode = vocab::ParticipationType::IND and not ( p.associatedEntity.classCode = vocab::RoleClassAssociative::PRS or p.associatedEntity.classCode = vocab::RoleClassAssociative::NOK or p.associatedEntity.classCode = vocab::RoleClassAssociative::CAREGIVER or p.associatedEntity.classCode = vocab::RoleClassAssociative::AGNT or p.associatedEntity.classCode = vocab::RoleClassAssociative::GUAR or p.associatedEntity.classCode = vocab::RoleClassAssociative::ECON or p.associatedEntity.isNullFlavorDefined() ) or p.associatedEntity.oclIsUndefined())'" * @generated */ boolean validateDischargeSummary2ParticipantIfParTypeCodeINDThenAEClassCodeIND(DiagnosticChain diagnostics, @@ -453,7 +449,7 @@ boolean validateDischargeSummary2ParticipantIfParTypeCodeINDThenAEClassCodeIND(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterIVLTSLow(DiagnosticChain diagnostics, @@ -466,7 +462,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterIVLTSLow(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterIVLTSHigh(DiagnosticChain diagnostics, @@ -479,7 +475,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterIVLTSHigh(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityAssignedPerson( @@ -492,7 +488,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityRepresentedOrganization( @@ -505,7 +501,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrOrganization( @@ -518,7 +514,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity( @@ -531,7 +527,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityAssignedPerson( @@ -544,7 +540,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityRepresentedOrganization( @@ -557,7 +553,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrOrganization( @@ -570,7 +566,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( @@ -583,7 +579,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -596,7 +592,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEffectiveTime(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined()) implies (not dischargeDispositionCode.oclIsUndefined() and dischargeDispositionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = dischargeDispositionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.301.5\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined()) implies (not dischargeDispositionCode.oclIsUndefined() and dischargeDispositionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = dischargeDispositionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.301.5\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterDischargeDispositionCode( @@ -609,7 +605,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterDischargeDispos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined()) implies (not dischargeDispositionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined()) implies (not dischargeDispositionCode.oclIsUndefined()))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterDischargeDispositionCodeP( @@ -622,7 +618,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterDischargeDispos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipant(DiagnosticChain diagnostics, @@ -635,7 +631,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsibleParty(DiagnosticChain diagnostics, @@ -648,7 +644,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -658,7 +654,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" * @generated */ AllergiesSectionEntriesOptional2 getAllergiesSectionEntriesOptional2(); @@ -667,7 +663,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))->asSequence()->any(true).oclAsType(consol::HospitalCourseSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))->asSequence()->any(true).oclAsType(consol::HospitalCourseSection)'" * @generated */ HospitalCourseSection getHospitalCourseSection(); @@ -676,7 +672,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -685,7 +681,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -694,7 +690,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -703,7 +699,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" * @generated */ NutritionSection getNutritionSection(); @@ -712,7 +708,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" * @generated */ FunctionalStatusSection2 getFunctionalStatusSection2(); @@ -721,7 +717,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" * @generated */ HistoryOfPastIllnessSection2 getHistoryOfPastIllnessSection2(); @@ -730,7 +726,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -739,7 +735,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))->asSequence()->any(true).oclAsType(consol::HospitalConsultationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))->asSequence()->any(true).oclAsType(consol::HospitalConsultationsSection)'" * @generated */ HospitalConsultationsSection getHospitalConsultationsSection(); @@ -748,7 +744,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeInstructionsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeInstructionsSection)'" * @generated */ HospitalDischargeInstructionsSection getHospitalDischargeInstructionsSection(); @@ -757,7 +753,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargePhysicalSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargePhysicalSection)'" * @generated */ HospitalDischargePhysicalSection getHospitalDischargePhysicalSection(); @@ -766,7 +762,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeStudiesSummarySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeStudiesSummarySection)'" * @generated */ HospitalDischargeStudiesSummarySection getHospitalDischargeStudiesSummarySection(); @@ -775,7 +771,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" * @generated */ ImmunizationsSectionEntriesOptional2 getImmunizationsSectionEntriesOptional2(); @@ -784,7 +780,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional2)'" * @generated */ ProblemSectionEntriesOptional2 getProblemSectionEntriesOptional2(); @@ -793,7 +789,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" * @generated */ ProceduresSectionEntriesOptional2 getProceduresSectionEntriesOptional2(); @@ -802,7 +798,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -811,7 +807,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -820,7 +816,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); @@ -829,7 +825,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional2)'" * @generated */ VitalSignsSectionEntriesOptional2 getVitalSignsSectionEntriesOptional2(); @@ -838,7 +834,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::DischargeDiagnosisSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::DischargeDiagnosisSection2)'" * @generated */ DischargeDiagnosisSection2 getDischargeDiagnosisSection2(); @@ -847,7 +843,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::DischargeMedicationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::DischargeMedicationsSectionEntriesOptional2)'" * @generated */ DischargeMedicationsSectionEntriesOptional2 getDischargeMedicationsSectionEntriesOptional2(); @@ -856,7 +852,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" * @generated */ FamilyHistorySection2 getFamilyHistorySection2(); @@ -865,7 +861,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::AdmissionDiagnosisSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::AdmissionDiagnosisSection2)'" * @generated */ AdmissionDiagnosisSection2 getAdmissionDiagnosisSection2(); @@ -874,7 +870,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdmissionMedicationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdmissionMedicationsSectionEntriesOptional2)'" * @generated */ AdmissionMedicationsSectionEntriesOptional2 getAdmissionMedicationsSectionEntriesOptional2(); @@ -883,7 +879,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSection2))->asSequence()->any(true).oclAsType(consol::DischargeMedicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSection2))->asSequence()->any(true).oclAsType(consol::DischargeMedicationsSection2)'" * @generated */ DischargeMedicationsSection2 getDischargeMedicationsSection2(); @@ -892,7 +888,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))->asSequence()->any(true).oclAsType(consol::DischargeDietSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))->asSequence()->any(true).oclAsType(consol::DischargeDietSection)'" * @generated */ DischargeDietSection getDischargeDietSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugMonitoringAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugMonitoringAct.java index 7c79f7c4fb..1cb2e57dc4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugMonitoringAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugMonitoringAct.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -35,7 +30,7 @@ public interface DrugMonitoringAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.123\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.123\')'" * @generated */ boolean validateDrugMonitoringActTemplateId(DiagnosticChain diagnostics, Map context); @@ -71,7 +66,7 @@ public interface DrugMonitoringAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateDrugMonitoringActId(DiagnosticChain diagnostics, Map context); @@ -143,7 +138,7 @@ public interface DrugMonitoringAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" * @generated */ boolean validateDrugMonitoringActParticipant(DiagnosticChain diagnostics, Map context); @@ -155,7 +150,7 @@ public interface DrugMonitoringAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::EntityClassRoot::PSN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::EntityClassRoot::PSN)'" * @generated */ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntityClassCode(DiagnosticChain diagnostics, @@ -168,7 +163,7 @@ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntityClassCod * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntityName(DiagnosticChain diagnostics, @@ -181,7 +176,7 @@ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntityName(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::ASSIGNED)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::ASSIGNED)'" * @generated */ boolean validateDrugMonitoringActParticipantParticipantRoleClassCode(DiagnosticChain diagnostics, @@ -194,7 +189,7 @@ boolean validateDrugMonitoringActParticipantParticipantRoleClassCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateDrugMonitoringActParticipantParticipantRoleId(DiagnosticChain diagnostics, @@ -207,7 +202,7 @@ boolean validateDrugMonitoringActParticipantParticipantRoleId(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntity(DiagnosticChain diagnostics, @@ -220,7 +215,7 @@ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntity(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::RESP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::RESP)'" * @generated */ boolean validateDrugMonitoringActParticipantTypeCode(DiagnosticChain diagnostics, Map context); @@ -232,7 +227,7 @@ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntity(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validateDrugMonitoringActParticipantParticipantRole(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugVehicle.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugVehicle.java index 14ebdac776..6749e2cec0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugVehicle.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugVehicle.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ParticipantRole; /** @@ -32,7 +27,7 @@ public interface DrugVehicle extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.playingEntity.oclIsUndefined() implies (self.playingEntity.code.isNullFlavorDefined() or self.playingEntity.code->size() =1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.playingEntity.oclIsUndefined() implies (self.playingEntity.code.isNullFlavorDefined() or self.playingEntity.code->size() =1)'" * @generated */ boolean validateDrugVehiclePlayingEntityCode(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface DrugVehicle extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.playingEntity.oclIsUndefined() implies self.playingEntity.name->size() =1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.playingEntity.oclIsUndefined() implies self.playingEntity.name->size() =1'" * @generated */ boolean validateDrugVehiclePlayingEntityName(DiagnosticChain diagnostics, Map context); @@ -56,7 +51,7 @@ public interface DrugVehicle extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.24\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.24\')'" * @generated */ boolean validateDrugVehicleTemplateId(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface DrugVehicle extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(rim::Entity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(rim::Entity))'" * @generated */ boolean validateDrugVehiclePlayingEntity(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivities.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivities.java index 0d639ec9a6..eec25d9012 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivities.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivities.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Encounter; /** @@ -85,7 +80,7 @@ boolean validateEncounterActivitiesCodeOriginalTextReferenceValue(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" * @generated */ boolean validateEncounterActivitiesServiceDeliveryTypeCode(DiagnosticChain diagnostics, @@ -98,7 +93,7 @@ boolean validateEncounterActivitiesServiceDeliveryTypeCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.sDTCDischargeDispositionCode->isEmpty() or self.sDTCDischargeDispositionCode->exists(element | element.isNullFlavorUndefined())) implies (self.sDTCDischargeDispositionCode->forAll( element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = element.oclAsType(datatypes::CE) in (value.codeSystem = \'2.16.840.1.113883.6.301.5\' or value.codeSystem = \'2.16.840.1.113883.12.112\') and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.sDTCDischargeDispositionCode->isEmpty() or self.sDTCDischargeDispositionCode->exists(element | element.isNullFlavorUndefined())) implies (self.sDTCDischargeDispositionCode->forAll( element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = element.oclAsType(datatypes::CE) in (value.codeSystem = \'2.16.840.1.113883.6.301.5\' or value.codeSystem = \'2.16.840.1.113883.12.112\') and not value.code.oclIsUndefined()))'" * @generated */ boolean validateEncounterActivitiesSdtcDDCFromNUBCOrDD(DiagnosticChain diagnostics, Map context); @@ -110,7 +105,7 @@ boolean validateEncounterActivitiesServiceDeliveryTypeCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.49\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.49\')'" * @generated */ boolean validateEncounterActivitiesTemplateId(DiagnosticChain diagnostics, Map context); @@ -146,7 +141,7 @@ boolean validateEncounterActivitiesServiceDeliveryTypeCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateEncounterActivitiesId(DiagnosticChain diagnostics, Map context); @@ -182,7 +177,7 @@ boolean validateEncounterActivitiesServiceDeliveryTypeCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.sDTCDischargeDispositionCode->isEmpty() or self.sDTCDischargeDispositionCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.sDTCDischargeDispositionCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.sDTCDischargeDispositionCode->isEmpty() or self.sDTCDischargeDispositionCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.sDTCDischargeDispositionCode->isEmpty()) )'" * @generated */ boolean validateEncounterActivitiesSDTCDischargeDispositionCode(DiagnosticChain diagnostics, @@ -195,7 +190,7 @@ boolean validateEncounterActivitiesSDTCDischargeDispositionCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" * @generated */ boolean validateEncounterActivitiesServiceDeliveryLocation(DiagnosticChain diagnostics, @@ -208,7 +203,7 @@ boolean validateEncounterActivitiesServiceDeliveryLocation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateEncounterActivitiesIndication(DiagnosticChain diagnostics, Map context); @@ -220,7 +215,7 @@ boolean validateEncounterActivitiesServiceDeliveryLocation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" * @generated */ boolean validateEncounterActivitiesEncounterPerformer(DiagnosticChain diagnostics, Map context); @@ -232,7 +227,7 @@ boolean validateEncounterActivitiesServiceDeliveryLocation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EncounterDiagnosis))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EncounterDiagnosis))'" * @generated */ boolean validateEncounterActivitiesEncounterDiagnosis(DiagnosticChain diagnostics, Map context); @@ -244,7 +239,7 @@ boolean validateEncounterActivitiesServiceDeliveryLocation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCode( @@ -257,7 +252,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -267,7 +262,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" * @generated */ EList getServiceDeliveryLocations(); @@ -276,7 +271,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" * @generated */ EList getIndications(); @@ -285,7 +280,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis)).oclAsType(consol::EncounterDiagnosis)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis)).oclAsType(consol::EncounterDiagnosis)'" * @generated */ EList getEncounterDiagnosiss(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivity2.java index 5f35e46dcd..c348db7e88 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivity2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -34,7 +30,7 @@ public interface EncounterActivity2 extends EncounterActivities { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.49\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.49\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateEncounterActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -58,7 +54,7 @@ public interface EncounterActivity2 extends EncounterActivities { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" * @generated */ boolean validateEncounterActivity2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -70,7 +66,7 @@ public interface EncounterActivity2 extends EncounterActivities { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCodeP( @@ -80,7 +76,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); @@ -89,7 +85,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis2)).oclAsType(consol::EncounterDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis2)).oclAsType(consol::EncounterDiagnosis2)'" * @generated */ EList getConsolEncounterDiagnosis2s(); @@ -98,7 +94,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" * @generated */ EList getConsolServiceDeliveryLocations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis.java index 00cf94e3c2..e459779ccb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface EncounterDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.80\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.80\')'" * @generated */ boolean validateEncounterDiagnosisTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface EncounterDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateEncounterDiagnosisProblemObservation(DiagnosticChain diagnostics, Map context); @@ -102,7 +97,7 @@ public interface EncounterDiagnosis extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis2.java index 680a5ac8c6..578fab2cce 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface EncounterDiagnosis2 extends EncounterDiagnosis { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.80\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.80\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateEncounterDiagnosis2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface EncounterDiagnosis2 extends EncounterDiagnosis { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection.java index 69bf34f050..32e0fd0b7c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -35,7 +31,7 @@ public interface EncountersSection extends EncountersSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.encounter.oclIsUndefined() and entry.encounter.oclIsKindOf(consol::EncounterActivities))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.encounter.oclIsUndefined() and entry.encounter.oclIsKindOf(consol::EncounterActivities))'" * @generated */ boolean validateEncountersSectionEncounterActivities(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface EncountersSection extends EncountersSectionEntriesOptional { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivities)).oclAsType(consol::EncounterActivities)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivities)).oclAsType(consol::EncounterActivities)'" * @generated */ EList getConsolEncounterActivitiess(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection2.java index c132affd2a..a63e755821 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional.java index d9b3eda9bf..b4139b8c94 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface EncountersSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.22\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.22\')'" * @generated */ boolean validateEncountersSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -98,7 +93,7 @@ boolean validateEncountersSectionEntriesOptionalTemplateId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.encounter.oclIsUndefined() and entry.encounter.oclIsKindOf(consol::EncounterActivities))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.encounter.oclIsUndefined() and entry.encounter.oclIsKindOf(consol::EncounterActivities))'" * @generated */ boolean validateEncountersSectionEntriesOptionalEncounterActivities(DiagnosticChain diagnostics, @@ -108,7 +103,7 @@ boolean validateEncountersSectionEntriesOptionalEncounterActivities(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivities)).oclAsType(consol::EncounterActivities)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivities)).oclAsType(consol::EncounterActivities)'" * @generated */ EList getEncounterActivitiess(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional2.java index 77b6d1d073..b509854f0a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface EncountersSectionEntriesOptional2 extends EncountersSectionEntr * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivity2)).oclAsType(consol::EncounterActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivity2)).oclAsType(consol::EncounterActivity2)'" * @generated */ EList getConsolEncounterActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EntryReference.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EntryReference.java index 448601498d..749f7310b8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EntryReference.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EntryReference.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -34,7 +29,7 @@ public interface EntryReference extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.122\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.122\')'" * @generated */ boolean validateEntryReferenceTemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ public interface EntryReference extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateEntryReferenceId(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ public interface EntryReference extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (nullFlavor.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (nullFlavor.oclIsUndefined() )))'" * @generated */ boolean validateEntryReferenceIINullFlavor(DiagnosticChain diagnostics, Map context); @@ -130,7 +125,7 @@ public interface EntryReference extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not nullFlavor.oclIsUndefined() and nullFlavor.oclIsKindOf(vocab::NullFlavor) and \r\nlet value : vocab::NullFlavor = nullFlavor.oclAsType(vocab::NullFlavor) in \r\nvalue = vocab::NullFlavor::NP )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not nullFlavor.oclIsUndefined() and nullFlavor.oclIsKindOf(vocab::NullFlavor) and \r\nlet value : vocab::NullFlavor = nullFlavor.oclAsType(vocab::NullFlavor) in \r\nvalue = vocab::NullFlavor::NP )))'" * @generated */ boolean validateEntryReferenceCDNullFlavor(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface EntryReference extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (isDefined(\'nullFlavor\') )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (isDefined(\'nullFlavor\') )))'" * @generated */ boolean validateEntryReferenceCDNullFlavorP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EstimatedDateOfDelivery.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EstimatedDateOfDelivery.java index c95c675682..0ca6204d82 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EstimatedDateOfDelivery.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EstimatedDateOfDelivery.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface EstimatedDateOfDelivery extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.15.3.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.15.3.1\')'" * @generated */ boolean validateEstimatedDateOfDeliveryTemplateId(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface EstimatedDateOfDelivery extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::TS)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::TS)))'" * @generated */ boolean validateEstimatedDateOfDeliveryValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ExternalDocumentReference.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ExternalDocumentReference.java index 6ffa2ce165..c75a5cb484 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ExternalDocumentReference.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ExternalDocumentReference.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ExternalDocument; /** @@ -32,7 +27,7 @@ public interface ExternalDocumentReference extends ExternalDocument { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.115\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.115\')'" * @generated */ boolean validateExternalDocumentReferenceTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface ExternalDocumentReference extends ExternalDocument { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" * @generated */ boolean validateExternalDocumentReferenceId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryDeathObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryDeathObservation.java index 6dcb2d9cbf..1d4a5c9db4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryDeathObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryDeathObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface FamilyHistoryDeathObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.47\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.47\')'" * @generated */ boolean validateFamilyHistoryDeathObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface FamilyHistoryDeathObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'419099009\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'419099009\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateFamilyHistoryDeathObservationValue(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface FamilyHistoryDeathObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateFamilyHistoryDeathObservationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation.java index c5fa878ca2..abc3a3d66f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface FamilyHistoryObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->forAll(ent : cda::EntryRelationship | ent.observation.oclIsTypeOf(consol::AgeObservation) implies ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->forAll(ent : cda::EntryRelationship | ent.observation.oclIsTypeOf(consol::AgeObservation) implies ent.inversionInd=true)'" * @generated */ boolean validateFamilyHistoryObservationAgeObservationInversion(DiagnosticChain diagnostics, @@ -45,7 +40,7 @@ boolean validateFamilyHistoryObservationAgeObservationInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.46\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.46\')'" * @generated */ boolean validateFamilyHistoryObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ boolean validateFamilyHistoryObservationAgeObservationInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateFamilyHistoryObservationId(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ boolean validateFamilyHistoryObservationAgeObservationInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateFamilyHistoryObservationValue(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ boolean validateFamilyHistoryObservationAgeObservationInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AgeObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AgeObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateFamilyHistoryObservationAgeObservation(DiagnosticChain diagnostics, Map context); @@ -177,7 +172,7 @@ boolean validateFamilyHistoryObservationAgeObservationInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::FamilyHistoryDeathObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::FamilyHistoryDeathObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" * @generated */ boolean validateFamilyHistoryObservationFamilyHistoryDeathObservation(DiagnosticChain diagnostics, @@ -187,7 +182,7 @@ boolean validateFamilyHistoryObservationFamilyHistoryDeathObservation(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AgeObservation))->asSequence()->any(true).oclAsType(consol::AgeObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AgeObservation))->asSequence()->any(true).oclAsType(consol::AgeObservation)'" * @generated */ AgeObservation getAgeObservation(); @@ -196,7 +191,7 @@ boolean validateFamilyHistoryObservationFamilyHistoryDeathObservation(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FamilyHistoryDeathObservation))->asSequence()->any(true).oclAsType(consol::FamilyHistoryDeathObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FamilyHistoryDeathObservation))->asSequence()->any(true).oclAsType(consol::FamilyHistoryDeathObservation)'" * @generated */ FamilyHistoryDeathObservation getFamilyHistoryDeathObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation2.java index 70308b1eca..2050244958 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface FamilyHistoryObservation2 extends FamilyHistoryObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.46\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.46\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateFamilyHistoryObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface FamilyHistoryObservation2 extends FamilyHistoryObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.1\' and (value.code = \'75326-9\' or value.code = \'75325-1\' or value.code = \'75324-4\' or value.code = \'75323-6\' or value.code = \'29308-4\' or value.code = \'75322-8\' or value.code = \'75275-8\' or value.code = \'75321-0\' or value.code = \'75319-4\' or value.code = \'75318-6\' or value.code = \'75317-8\' or value.code = \'75316-0\' or value.code = \'75315-2\' or value.code = \'75314-5\' or value.code = \'75313-7\' or value.code = \'75312-9\'))) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.1\' and (value.code = \'75326-9\' or value.code = \'75325-1\' or value.code = \'75324-4\' or value.code = \'75323-6\' or value.code = \'29308-4\' or value.code = \'75322-8\' or value.code = \'75275-8\' or value.code = \'75321-0\' or value.code = \'75319-4\' or value.code = \'75318-6\' or value.code = \'75317-8\' or value.code = \'75316-0\' or value.code = \'75315-2\' or value.code = \'75314-5\' or value.code = \'75313-7\' or value.code = \'75312-9\'))) )))'" * @generated */ boolean validateFamilyHistoryObservation2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -55,7 +51,7 @@ public interface FamilyHistoryObservation2 extends FamilyHistoryObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" * @generated */ boolean validateFamilyHistoryObservation2CDTranslationP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer.java index 47861bf88b..d5327ba1c8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Organizer; /** @@ -36,7 +31,7 @@ public interface FamilyHistoryOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.45\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.45\')'" * @generated */ boolean validateFamilyHistoryOrganizerTemplateId(DiagnosticChain diagnostics, Map context); @@ -96,7 +91,7 @@ public interface FamilyHistoryOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::FamilyHistoryObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::FamilyHistoryObservation))'" * @generated */ boolean validateFamilyHistoryOrganizerFamilyHistoryObservation(DiagnosticChain diagnostics, @@ -109,7 +104,7 @@ boolean validateFamilyHistoryOrganizerFamilyHistoryObservation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->one(subject : cda::Subject | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::Subject))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->one(subject : cda::Subject | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::Subject))'" * @generated */ boolean validateFamilyHistoryOrganizerSubject(DiagnosticChain diagnostics, Map context); @@ -121,7 +116,7 @@ boolean validateFamilyHistoryOrganizerFamilyHistoryObservation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((administrativeGenderCode.oclIsUndefined() or administrativeGenderCode.isNullFlavorUndefined()) implies (not administrativeGenderCode.oclIsUndefined() and administrativeGenderCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = administrativeGenderCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1\' and (value.code = \'F\' or value.code = \'M\' or value.code = \'UN\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((administrativeGenderCode.oclIsUndefined() or administrativeGenderCode.isNullFlavorUndefined()) implies (not administrativeGenderCode.oclIsUndefined() and administrativeGenderCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = administrativeGenderCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1\' and (value.code = \'F\' or value.code = \'M\' or value.code = \'UN\')))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdministrativeGenderCode( @@ -134,7 +129,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdminist * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((administrativeGenderCode.oclIsUndefined() or administrativeGenderCode.isNullFlavorUndefined()) implies (not administrativeGenderCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((administrativeGenderCode.oclIsUndefined() or administrativeGenderCode.isNullFlavorUndefined()) implies (not administrativeGenderCode.oclIsUndefined()))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdministrativeGenderCodeP( @@ -147,7 +142,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdminist * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((birthTime.oclIsUndefined() or birthTime.isNullFlavorUndefined()) implies (not birthTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((birthTime.oclIsUndefined() or birthTime.isNullFlavorUndefined()) implies (not birthTime.oclIsUndefined()))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonBirthTime(DiagnosticChain diagnostics, @@ -160,7 +155,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonBirthTim * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((sDTCDeceasedInd.oclIsUndefined() or sDTCDeceasedInd.isNullFlavorUndefined()) implies (not sDTCDeceasedInd.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((sDTCDeceasedInd.oclIsUndefined() or sDTCDeceasedInd.isNullFlavorUndefined()) implies (not sDTCDeceasedInd.oclIsUndefined()))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDeceasedInd(DiagnosticChain diagnostics, @@ -173,7 +168,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDece * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((sDTCDeceasedTime.oclIsUndefined() or sDTCDeceasedTime.isNullFlavorUndefined()) implies (not sDTCDeceasedTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((sDTCDeceasedTime.oclIsUndefined() or sDTCDeceasedTime.isNullFlavorUndefined()) implies (not sDTCDeceasedTime.oclIsUndefined()))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDeceasedTime( @@ -186,7 +181,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDece * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((sDTCId->isEmpty() or sDTCId->exists(element | element.isNullFlavorUndefined())) implies (not sDTCId->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((sDTCId->isEmpty() or sDTCId->exists(element | element.isNullFlavorUndefined())) implies (not sDTCId->isEmpty()))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCId(DiagnosticChain diagnostics, @@ -199,7 +194,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCId(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::x_DocumentSubject::PRS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::x_DocumentSubject::PRS)'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectClassCode(DiagnosticChain diagnostics, @@ -212,7 +207,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectClassCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and (value.code = \'ADOPT\' or value.code = \'AUNT\' or value.code = \'CHILD\' or value.code = \'CHLDINLAW\' or value.code = \'COUSN\' or value.code = \'DOMPART\' or value.code = \'FAMMEMB\' or value.code = \'CHLDFOST\' or value.code = \'GRNDCHILD\' or value.code = \'GPARNT\' or value.code = \'GRPRN\' or value.code = \'GGRPRN\' or value.code = \'HSIB\' or value.code = \'MAUNT\' or value.code = \'MCOUSN\' or value.code = \'MGRPRN\' or value.code = \'MGGRPRN\' or value.code = \'MUNCLE\' or value.code = \'NCHILD\' or value.code = \'NPRN\' or value.code = \'NSIB\' or value.code = \'NIENEPH\' or value.code = \'PRN\' or value.code = \'PRNINLAW\' or value.code = \'PAUNT\' or value.code = \'PCOUSN\' or value.code = \'PGRPRN\' or value.code = \'PGGRPRN\' or value.code = \'PUNCLE\' or value.code = \'SIB\' or value.code = \'SIBINLAW\' or value.code = \'SIGOTHR\' or value.code = \'SPS\' or value.code = \'STEP\' or value.code = \'STPPRN\' or value.code = \'STPSIB\' or value.code = \'UNCLE\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and (value.code = \'ADOPT\' or value.code = \'AUNT\' or value.code = \'CHILD\' or value.code = \'CHLDINLAW\' or value.code = \'COUSN\' or value.code = \'DOMPART\' or value.code = \'FAMMEMB\' or value.code = \'CHLDFOST\' or value.code = \'GRNDCHILD\' or value.code = \'GPARNT\' or value.code = \'GRPRN\' or value.code = \'GGRPRN\' or value.code = \'HSIB\' or value.code = \'MAUNT\' or value.code = \'MCOUSN\' or value.code = \'MGRPRN\' or value.code = \'MGGRPRN\' or value.code = \'MUNCLE\' or value.code = \'NCHILD\' or value.code = \'NPRN\' or value.code = \'NSIB\' or value.code = \'NIENEPH\' or value.code = \'PRN\' or value.code = \'PRNINLAW\' or value.code = \'PAUNT\' or value.code = \'PCOUSN\' or value.code = \'PGRPRN\' or value.code = \'PGGRPRN\' or value.code = \'PUNCLE\' or value.code = \'SIB\' or value.code = \'SIBINLAW\' or value.code = \'SIGOTHR\' or value.code = \'SPS\' or value.code = \'STEP\' or value.code = \'STPPRN\' or value.code = \'STPSIB\' or value.code = \'UNCLE\')))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCode(DiagnosticChain diagnostics, @@ -225,7 +220,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCodeP(DiagnosticChain diagnostics, @@ -238,7 +233,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCodeP(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject(subject->one(subject : cda::SubjectPerson | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::SubjectPerson)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject(subject->one(subject : cda::SubjectPerson | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::SubjectPerson)))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject(DiagnosticChain diagnostics, @@ -251,7 +246,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null)->reject(relatedSubject->one(relatedSubject : cda::RelatedSubject | not relatedSubject.oclIsUndefined() and relatedSubject.oclIsKindOf(cda::RelatedSubject)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null)->reject(relatedSubject->one(relatedSubject : cda::RelatedSubject | not relatedSubject.oclIsUndefined() and relatedSubject.oclIsKindOf(cda::RelatedSubject)))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubject(DiagnosticChain diagnostics, @@ -261,7 +256,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubject(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FamilyHistoryObservation)).oclAsType(consol::FamilyHistoryObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FamilyHistoryObservation)).oclAsType(consol::FamilyHistoryObservation)'" * @generated */ EList getFamilyHistoryObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer2.java index 0a12522e6c..bea6c23c8a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface FamilyHistoryOrganizer2 extends FamilyHistoryOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.45\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.45\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateFamilyHistoryOrganizer2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface FamilyHistoryOrganizer2 extends FamilyHistoryOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateFamilyHistoryOrganizer2Id(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface FamilyHistoryOrganizer2 extends FamilyHistoryOrganizer { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FamilyHistoryObservation2)).oclAsType(consol::FamilyHistoryObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FamilyHistoryObservation2)).oclAsType(consol::FamilyHistoryObservation2)'" * @generated */ EList getConsolFamilyHistoryObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection.java index 8eba4a1420..ff130b46df 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface FamilyHistorySection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.15\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.15\')'" * @generated */ boolean validateFamilyHistorySectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -97,7 +92,7 @@ public interface FamilyHistorySection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::FamilyHistoryOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::FamilyHistoryOrganizer))'" * @generated */ boolean validateFamilyHistorySectionFamilyHistory(DiagnosticChain diagnostics, Map context); @@ -106,7 +101,7 @@ public interface FamilyHistorySection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer)).oclAsType(consol::FamilyHistoryOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer)).oclAsType(consol::FamilyHistoryOrganizer)'" * @generated */ EList getFamilyHistories(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection2.java index 805e3e371b..40d5a3f732 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface FamilyHistorySection2 extends FamilyHistorySection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.15\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.15\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateFamilyHistorySection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface FamilyHistorySection2 extends FamilyHistorySection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2)).oclAsType(consol::FamilyHistoryOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2)).oclAsType(consol::FamilyHistoryOrganizer2)'" * @generated */ EList getConsolFamilyHistoryOrganizer2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FetusSubjectContext.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FetusSubjectContext.java index eb35315080..36d44771bd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FetusSubjectContext.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FetusSubjectContext.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.RelatedSubject; /** @@ -33,7 +28,7 @@ public interface FetusSubjectContext extends RelatedSubject { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.3\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.3\')'" * @generated */ boolean validateFetusSubjectContextTemplateId(DiagnosticChain diagnostics, Map context); @@ -57,7 +52,7 @@ public interface FetusSubjectContext extends RelatedSubject { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->one(subject : cda::SubjectPerson | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::SubjectPerson))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->one(subject : cda::SubjectPerson | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::SubjectPerson))'" * @generated */ boolean validateFetusSubjectContextSubject(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FindingsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FindingsSection.java index d62bbb7275..e9bda8e858 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FindingsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FindingsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface FindingsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.1.2\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.1.2\')'" * @generated */ boolean validateFindingsSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusObservation2.java index e495cdca25..a39c475321 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface FunctionalStatusObservation2 extends FunctionalStatusResultObse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.67\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.67\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateFunctionalStatusObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface FunctionalStatusObservation2 extends FunctionalStatusResultObse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateFunctionalStatusObservation2AuthorParticipation(DiagnosticChain diagnostics, @@ -54,7 +50,7 @@ boolean validateFunctionalStatusObservation2AuthorParticipation(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2))->asSequence()->any(true).oclAsType(consol::NonMedicinalSupplyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2))->asSequence()->any(true).oclAsType(consol::NonMedicinalSupplyActivity2)'" * @generated */ NonMedicinalSupplyActivity2 getConsolNonMedicinalSupplyActivity2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusOrganizer2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusOrganizer2.java index 8e72baa391..6826c3cc57 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusOrganizer2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusOrganizer2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface FunctionalStatusOrganizer2 extends FunctionalStatusResultOrgani * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.66\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.66\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateFunctionalStatusOrganizer2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface FunctionalStatusOrganizer2 extends FunctionalStatusResultOrgani * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::SelfCareActivities))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::SelfCareActivities))'" * @generated */ boolean validateFunctionalStatusOrganizer2SelfCareActivities(DiagnosticChain diagnostics, @@ -56,7 +52,7 @@ boolean validateFunctionalStatusOrganizer2SelfCareActivities(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateFunctionalStatusOrganizer2AuthorParticipation(DiagnosticChain diagnostics, @@ -66,7 +62,7 @@ boolean validateFunctionalStatusOrganizer2AuthorParticipation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" * @generated */ EList getConsolFunctionalStatusObservation2s(); @@ -75,7 +71,7 @@ boolean validateFunctionalStatusOrganizer2AuthorParticipation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" * @generated */ EList getSelfCareActivitiess(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusProblemObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusProblemObservation.java index 3c8351ffd7..f37ef9d232 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusProblemObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusProblemObservation.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface FunctionalStatusProblemObservation extends ProblemObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" * @generated */ boolean validateFunctionalStatusProblemObservationMethodCode(DiagnosticChain diagnostics, @@ -44,7 +40,7 @@ boolean validateFunctionalStatusProblemObservationMethodCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateFunctionalStatusProblemObservationNonMedicinalSupplyActivity(DiagnosticChain diagnostics, @@ -57,7 +53,7 @@ boolean validateFunctionalStatusProblemObservationNonMedicinalSupplyActivity(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateFunctionalStatusProblemObservationCaregiverCharacteristics(DiagnosticChain diagnostics, @@ -70,7 +66,7 @@ boolean validateFunctionalStatusProblemObservationCaregiverCharacteristics(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateFunctionalStatusProblemObservationAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -80,7 +76,7 @@ boolean validateFunctionalStatusProblemObservationAssessmentScaleObservation(Dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ EList getNonMedicinalSupplyActivities(); @@ -89,7 +85,7 @@ boolean validateFunctionalStatusProblemObservationAssessmentScaleObservation(Dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -98,7 +94,7 @@ boolean validateFunctionalStatusProblemObservationAssessmentScaleObservation(Dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultObservation.java index 3862f3bc1a..63053dd530 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultObservation.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface FunctionalStatusResultObservation extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateFunctionalStatusResultObservationValueDatatype(DiagnosticChain diagnostics, @@ -57,7 +53,7 @@ boolean validateFunctionalStatusResultObservationValueDatatype(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateFunctionalStatusResultObservationAuthor(DiagnosticChain diagnostics, Map context); @@ -69,7 +65,7 @@ boolean validateFunctionalStatusResultObservationValueDatatype(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateFunctionalStatusResultObservationNonMedicinalSupplyActivity(DiagnosticChain diagnostics, @@ -82,7 +78,7 @@ boolean validateFunctionalStatusResultObservationNonMedicinalSupplyActivity(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateFunctionalStatusResultObservationCaregiverCharacteristics(DiagnosticChain diagnostics, @@ -95,7 +91,7 @@ boolean validateFunctionalStatusResultObservationCaregiverCharacteristics(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateFunctionalStatusResultObservationAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -108,7 +104,7 @@ boolean validateFunctionalStatusResultObservationAssessmentScaleObservation(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" * @generated */ boolean validateFunctionalStatusResultObservationReferenceRange(DiagnosticChain diagnostics, @@ -121,7 +117,7 @@ boolean validateFunctionalStatusResultObservationReferenceRange(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(code.oclIsUndefined())'" * @generated */ boolean validateFunctionalStatusResultObservationReferenceRangeObservationRangeNoCode(DiagnosticChain diagnostics, @@ -134,7 +130,7 @@ boolean validateFunctionalStatusResultObservationReferenceRangeObservationRangeN * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" * @generated */ boolean validateFunctionalStatusResultObservationReferenceRangeObservationRange(DiagnosticChain diagnostics, @@ -144,7 +140,7 @@ boolean validateFunctionalStatusResultObservationReferenceRangeObservationRange( * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity))->asSequence()->any(true).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity))->asSequence()->any(true).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ NonMedicinalSupplyActivity getNonMedicinalSupplyActivity(); @@ -153,7 +149,7 @@ boolean validateFunctionalStatusResultObservationReferenceRangeObservationRange( * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics))->asSequence()->any(true).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics))->asSequence()->any(true).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ CaregiverCharacteristics getCaregiverCharacteristics(); @@ -162,7 +158,7 @@ boolean validateFunctionalStatusResultObservationReferenceRangeObservationRange( * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation))->asSequence()->any(true).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation))->asSequence()->any(true).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ AssessmentScaleObservation getAssessmentScaleObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultOrganizer.java index e36a1c18cb..94c71293a6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultOrganizer.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface FunctionalStatusResultOrganizer extends ResultOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::FunctionalStatusResultObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::FunctionalStatusResultObservation))'" * @generated */ boolean validateFunctionalStatusResultOrganizerFunctionalStatusResultObservation(DiagnosticChain diagnostics, @@ -41,7 +37,7 @@ boolean validateFunctionalStatusResultOrganizerFunctionalStatusResultObservation * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusResultObservation)).oclAsType(consol::FunctionalStatusResultObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusResultObservation)).oclAsType(consol::FunctionalStatusResultObservation)'" * @generated */ EList getFunctionalStatusResultObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection.java index 0e8cb665f3..3b9477d749 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -59,7 +54,7 @@ public interface FunctionalStatusSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.14\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.14\')'" * @generated */ boolean validateFunctionalStatusSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -107,7 +102,7 @@ public interface FunctionalStatusSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::FunctionalStatusResultOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::FunctionalStatusResultOrganizer))'" * @generated */ boolean validateFunctionalStatusSectionFunctionalStatusResultOrganizer(DiagnosticChain diagnostics, @@ -120,7 +115,7 @@ boolean validateFunctionalStatusSectionFunctionalStatusResultOrganizer(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::CognitiveStatusResultOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::CognitiveStatusResultOrganizer))'" * @generated */ boolean validateFunctionalStatusSectionCognitiveStatusResultOrganizer(DiagnosticChain diagnostics, @@ -133,7 +128,7 @@ boolean validateFunctionalStatusSectionCognitiveStatusResultOrganizer(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::FunctionalStatusResultObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::FunctionalStatusResultObservation))'" * @generated */ boolean validateFunctionalStatusSectionFunctionalStatusResultObservation(DiagnosticChain diagnostics, @@ -146,7 +141,7 @@ boolean validateFunctionalStatusSectionFunctionalStatusResultObservation(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CognitiveStatusResultObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CognitiveStatusResultObservation))'" * @generated */ boolean validateFunctionalStatusSectionCognitiveStatusResultObservation(DiagnosticChain diagnostics, @@ -159,7 +154,7 @@ boolean validateFunctionalStatusSectionCognitiveStatusResultObservation(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::FunctionalStatusProblemObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::FunctionalStatusProblemObservation))'" * @generated */ boolean validateFunctionalStatusSectionFunctionalStatusProblemObservation(DiagnosticChain diagnostics, @@ -172,7 +167,7 @@ boolean validateFunctionalStatusSectionFunctionalStatusProblemObservation(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CognitiveStatusProblemObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CognitiveStatusProblemObservation))'" * @generated */ boolean validateFunctionalStatusSectionCognitiveStatusProblemObservation(DiagnosticChain diagnostics, @@ -185,7 +180,7 @@ boolean validateFunctionalStatusSectionCognitiveStatusProblemObservation(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CaregiverCharacteristics))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CaregiverCharacteristics))'" * @generated */ boolean validateFunctionalStatusSectionCaregiverCharacteristics(DiagnosticChain diagnostics, @@ -198,7 +193,7 @@ boolean validateFunctionalStatusSectionCaregiverCharacteristics(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AssessmentScaleObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AssessmentScaleObservation))'" * @generated */ boolean validateFunctionalStatusSectionAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -211,7 +206,7 @@ boolean validateFunctionalStatusSectionAssessmentScaleObservation(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.supply.oclIsUndefined() and entry.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.supply.oclIsUndefined() and entry.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity))'" * @generated */ boolean validateFunctionalStatusSectionNonMedicinalSupplyActivity(DiagnosticChain diagnostics, @@ -224,7 +219,7 @@ boolean validateFunctionalStatusSectionNonMedicinalSupplyActivity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PressureUlcerObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PressureUlcerObservation))'" * @generated */ boolean validateFunctionalStatusSectionPressureUlcerObservation(DiagnosticChain diagnostics, @@ -237,7 +232,7 @@ boolean validateFunctionalStatusSectionPressureUlcerObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation))'" * @generated */ boolean validateFunctionalStatusSectionNumberOfPressureUlcersObservation(DiagnosticChain diagnostics, @@ -250,7 +245,7 @@ boolean validateFunctionalStatusSectionNumberOfPressureUlcersObservation(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HighestPressureUlcerStage))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HighestPressureUlcerStage))'" * @generated */ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain diagnostics, @@ -260,7 +255,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FunctionalStatusResultOrganizer)).oclAsType(consol::FunctionalStatusResultOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FunctionalStatusResultOrganizer)).oclAsType(consol::FunctionalStatusResultOrganizer)'" * @generated */ EList getFunctionalStatusResultOrganizers(); @@ -269,7 +264,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::CognitiveStatusResultOrganizer)).oclAsType(consol::CognitiveStatusResultOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::CognitiveStatusResultOrganizer)).oclAsType(consol::CognitiveStatusResultOrganizer)'" * @generated */ EList getCognitiveStatusResultOrganizers(); @@ -278,7 +273,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusResultObservation)).oclAsType(consol::FunctionalStatusResultObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusResultObservation)).oclAsType(consol::FunctionalStatusResultObservation)'" * @generated */ EList getFunctionalStatusResultObservations(); @@ -287,7 +282,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusResultObservation)).oclAsType(consol::CognitiveStatusResultObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusResultObservation)).oclAsType(consol::CognitiveStatusResultObservation)'" * @generated */ EList getCognitiveStatusResultObservations(); @@ -296,7 +291,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusProblemObservation)).oclAsType(consol::FunctionalStatusProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusProblemObservation)).oclAsType(consol::FunctionalStatusProblemObservation)'" * @generated */ EList getFunctionalStatusProblemObservations(); @@ -305,7 +300,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusProblemObservation)).oclAsType(consol::CognitiveStatusProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusProblemObservation)).oclAsType(consol::CognitiveStatusProblemObservation)'" * @generated */ EList getCognitiveStatusProblemObservations(); @@ -314,7 +309,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -323,7 +318,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); @@ -332,7 +327,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ EList getNonMedicinalSupplyActivities(); @@ -341,7 +336,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PressureUlcerObservation)).oclAsType(consol::PressureUlcerObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PressureUlcerObservation)).oclAsType(consol::PressureUlcerObservation)'" * @generated */ EList getPressureUlcerObservations(); @@ -350,7 +345,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" * @generated */ EList getNumberOfPressureUlcersObservations(); @@ -359,7 +354,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" * @generated */ EList getHighestPressureUlcerStages(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection2.java index 4a98ef5a74..b42201554b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface FunctionalStatusSection2 extends FunctionalStatusSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.14\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.14\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateFunctionalStatusSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -55,7 +51,7 @@ public interface FunctionalStatusSection2 extends FunctionalStatusSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SelfCareActivities))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SelfCareActivities))'" * @generated */ boolean validateFunctionalStatusSection2SelfCareActivities(DiagnosticChain diagnostics, @@ -68,7 +64,7 @@ boolean validateFunctionalStatusSection2SelfCareActivities(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SensoryStatus))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SensoryStatus))'" * @generated */ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain diagnostics, @@ -78,7 +74,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FunctionalStatusOrganizer2)).oclAsType(consol::FunctionalStatusOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FunctionalStatusOrganizer2)).oclAsType(consol::FunctionalStatusOrganizer2)'" * @generated */ EList getConsolFunctionalStatusOrganizer2s(); @@ -87,7 +83,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" * @generated */ EList getConsolFunctionalStatusObservation2s(); @@ -96,7 +92,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::CognitiveStatusResultOrganizer)).oclAsType(consol::CognitiveStatusResultOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::CognitiveStatusResultOrganizer)).oclAsType(consol::CognitiveStatusResultOrganizer)'" * @generated */ EList getConsolCognitiveStatusResultOrganizers(); @@ -105,7 +101,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusResultObservation)).oclAsType(consol::CognitiveStatusResultObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusResultObservation)).oclAsType(consol::CognitiveStatusResultObservation)'" * @generated */ EList getConsolCognitiveStatusResultObservations(); @@ -114,7 +110,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" * @generated */ EList getConsolNonMedicinalSupplyActivity2s(); @@ -123,7 +119,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" * @generated */ EList getConsolNumberOfPressureUlcersObservations(); @@ -132,7 +128,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" * @generated */ EList getConsolHighestPressureUlcerStages(); @@ -141,7 +137,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" * @generated */ EList getSelfCareActivitiess(); @@ -150,7 +146,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SensoryStatus)).oclAsType(consol::SensoryStatus)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SensoryStatus)).oclAsType(consol::SensoryStatus)'" * @generated */ EList getSensoryAndSpeechStatuss(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralHeaderConstraints.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralHeaderConstraints.java index b6ae4a7173..50ea346971 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralHeaderConstraints.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralHeaderConstraints.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ClinicalDocument; /** @@ -146,7 +141,7 @@ boolean validateGeneralHeaderConstraintsVersionNumberSetId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.1.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.1.1\')'" * @generated */ boolean validateGeneralHeaderConstraintsTemplateId(DiagnosticChain diagnostics, Map context); @@ -158,7 +153,7 @@ boolean validateGeneralHeaderConstraintsVersionNumberSetId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.realmCode->isEmpty() or self.realmCode->exists(element | element.isNullFlavorUndefined())) implies (self.realmCode->size() = 1 and self.realmCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = element.oclAsType(datatypes::CS) in \r\nvalue.code = \'US\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.realmCode->isEmpty() or self.realmCode->exists(element | element.isNullFlavorUndefined())) implies (self.realmCode->size() = 1 and self.realmCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = element.oclAsType(datatypes::CS) in \r\nvalue.code = \'US\'))'" * @generated */ boolean validateGeneralHeaderConstraintsRealmCode(DiagnosticChain diagnostics, Map context); @@ -304,7 +299,7 @@ boolean validateGeneralHeaderConstraintsConfidentialityCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthor(DiagnosticChain diagnostics, Map context); @@ -316,7 +311,7 @@ boolean validateGeneralHeaderConstraintsConfidentialityCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->one(dataEnterer : cda::DataEnterer | not dataEnterer.oclIsUndefined() and dataEnterer.oclIsKindOf(cda::DataEnterer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->one(dataEnterer : cda::DataEnterer | not dataEnterer.oclIsUndefined() and dataEnterer.oclIsKindOf(cda::DataEnterer))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEnterer(DiagnosticChain diagnostics, Map context); @@ -328,7 +323,7 @@ boolean validateGeneralHeaderConstraintsConfidentialityCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodian(DiagnosticChain diagnostics, Map context); @@ -340,7 +335,7 @@ boolean validateGeneralHeaderConstraintsConfidentialityCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" * @generated */ boolean validateGeneralHeaderConstraintsInformationRecipient(DiagnosticChain diagnostics, @@ -353,7 +348,7 @@ boolean validateGeneralHeaderConstraintsInformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->one(legalAuthenticator : cda::LegalAuthenticator | not legalAuthenticator.oclIsUndefined() and legalAuthenticator.oclIsKindOf(cda::LegalAuthenticator))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->one(legalAuthenticator : cda::LegalAuthenticator | not legalAuthenticator.oclIsUndefined() and legalAuthenticator.oclIsKindOf(cda::LegalAuthenticator))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticator(DiagnosticChain diagnostics, @@ -366,7 +361,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticator(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->exists(authenticator : cda::Authenticator | not authenticator.oclIsUndefined() and authenticator.oclIsKindOf(cda::Authenticator))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->exists(authenticator : cda::Authenticator | not authenticator.oclIsUndefined() and authenticator.oclIsKindOf(cda::Authenticator))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticator(DiagnosticChain diagnostics, Map context); @@ -378,7 +373,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticator(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->exists(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->exists(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTarget(DiagnosticChain diagnostics, Map context); @@ -390,7 +385,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticator(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateGeneralHeaderConstraintsComponentOf(DiagnosticChain diagnostics, Map context); @@ -402,7 +397,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticator(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->exists(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(cda::Informant12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->exists(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(cda::Informant12))'" * @generated */ boolean validateGeneralHeaderConstraintsInformant(DiagnosticChain diagnostics, Map context); @@ -414,7 +409,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticator(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::IND)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::IND)->notEmpty()'" * @generated */ boolean validateGeneralHeaderConstraintsSupportParticipant(DiagnosticChain diagnostics, @@ -427,7 +422,7 @@ boolean validateGeneralHeaderConstraintsSupportParticipant(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" * @generated */ boolean validateGeneralHeaderConstraintsInFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -439,7 +434,7 @@ boolean validateGeneralHeaderConstraintsSupportParticipant(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -451,7 +446,7 @@ boolean validateGeneralHeaderConstraintsSupportParticipant(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->exists(authorization : cda::Authorization | not authorization.oclIsUndefined() and authorization.oclIsKindOf(cda::Authorization))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->exists(authorization : cda::Authorization | not authorization.oclIsUndefined() and authorization.oclIsKindOf(cda::Authorization))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorization(DiagnosticChain diagnostics, Map context); @@ -463,7 +458,7 @@ boolean validateGeneralHeaderConstraintsSupportParticipant(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 8))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 8))'" * @generated */ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS(DiagnosticChain diagnostics, @@ -476,7 +471,7 @@ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 12))'" * @generated */ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteTS(DiagnosticChain diagnostics, @@ -489,7 +484,7 @@ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteT * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 14))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 14))'" * @generated */ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondTS(DiagnosticChain diagnostics, @@ -502,7 +497,7 @@ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondT * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15)'" * @generated */ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDayIncludeTimeZoneOffsetTS( @@ -515,7 +510,7 @@ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -528,7 +523,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -541,7 +536,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -554,7 +549,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUseP( @@ -567,7 +562,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUse( @@ -580,7 +575,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressCountry( @@ -593,7 +588,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressState( @@ -606,7 +601,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressCity( @@ -619,7 +614,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -632,7 +627,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -645,7 +640,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleTELUse(DiagnosticChain diagnostics, @@ -658,7 +653,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleTELUse(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject(getText(true)=\'\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject(getText(true)=\'\')'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUSRealmPatientNameMixedContent( @@ -671,7 +666,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUseP( @@ -684,7 +679,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::EntityNameUse) and \r\nlet value : vocab::EntityNameUse = element.oclAsType(vocab::EntityNameUse) in \r\nvalue = vocab::EntityNameUse::A or value = vocab::EntityNameUse::ABC or value = vocab::EntityNameUse::ASGN or value = vocab::EntityNameUse::C or value = vocab::EntityNameUse::I or value = vocab::EntityNameUse::IDE or value = vocab::EntityNameUse::L or value = vocab::EntityNameUse::P or value = vocab::EntityNameUse::PHON or value = vocab::EntityNameUse::R or value = vocab::EntityNameUse::SNDX or value = vocab::EntityNameUse::SRCH or value = vocab::EntityNameUse::SYL) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::EntityNameUse) and \r\nlet value : vocab::EntityNameUse = element.oclAsType(vocab::EntityNameUse) in \r\nvalue = vocab::EntityNameUse::A or value = vocab::EntityNameUse::ABC or value = vocab::EntityNameUse::ASGN or value = vocab::EntityNameUse::C or value = vocab::EntityNameUse::I or value = vocab::EntityNameUse::IDE or value = vocab::EntityNameUse::L or value = vocab::EntityNameUse::P or value = vocab::EntityNameUse::PHON or value = vocab::EntityNameUse::R or value = vocab::EntityNameUse::SNDX or value = vocab::EntityNameUse::SRCH or value = vocab::EntityNameUse::SYL) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUse( @@ -697,7 +692,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((family->isEmpty() or family->exists(element | element.isNullFlavorUndefined())) implies (family->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((family->isEmpty() or family->exists(element | element.isNullFlavorUndefined())) implies (family->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameFamily( @@ -710,7 +705,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((given->isEmpty() or given->exists(element | element.isNullFlavorUndefined())) implies (( not given->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((given->isEmpty() or given->exists(element | element.isNullFlavorUndefined())) implies (( not given->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameGiven( @@ -723,7 +718,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((prefix->isEmpty() or prefix->exists(element | element.isNullFlavorUndefined())) implies (not prefix->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((prefix->isEmpty() or prefix->exists(element | element.isNullFlavorUndefined())) implies (not prefix->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNamePrefix( @@ -736,7 +731,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((suffix->isEmpty() or suffix->exists(element | element.isNullFlavorUndefined())) implies (( not suffix->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((suffix->isEmpty() or suffix->exists(element | element.isNullFlavorUndefined())) implies (( not suffix->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameSuffix( @@ -749,7 +744,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() >= 4)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() >= 4)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToYear( @@ -762,7 +757,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTim * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() >= 8)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() >= 8)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToDay( @@ -775,7 +770,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTim * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not value.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not value.oclIsUndefined() )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSValue(DiagnosticChain diagnostics, @@ -788,7 +783,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSValue(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -801,7 +796,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -814,7 +809,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -827,7 +822,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUseP( @@ -840,7 +835,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUse( @@ -853,7 +848,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressCountry( @@ -866,7 +861,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressState( @@ -879,7 +874,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressCity( @@ -892,7 +887,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -905,7 +900,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -918,7 +913,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTELUse(DiagnosticChain diagnostics, @@ -931,7 +926,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).guardianPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).guardianPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianPersonName( @@ -944,7 +939,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianPe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((not code.oclIsUndefined()) and code.isNullFlavorUndefined() implies\r\n(code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and (value.code = \'ADOPT\' or value.code = \'AUNT\' or value.code = \'CHILD\' or value.code = \'CHLDINLAW\' or value.code = \'COUSN\' or value.code = \'DOMPART\' or value.code = \'FAMMEMB\' or value.code = \'CHLDFOST\' or value.code = \'GRNDCHILD\' or value.code = \'GPARNT\' or value.code = \'GRPRN\' or value.code = \'GGRPRN\' or value.code = \'HSIB\' or value.code = \'MAUNT\' or value.code = \'MCOUSN\' or value.code = \'MGRPRN\' or value.code = \'MGGRPRN\' or value.code = \'MUNCLE\' or value.code = \'NCHILD\' or value.code = \'NPRN\' or value.code = \'NSIB\' or value.code = \'NBOR\' or value.code = \'NIENEPH\' or value.code = \'PRN\' or value.code = \'PRNINLAW\' or value.code = \'PAUNT\' or value.code = \'PCOUSN\' or value.code = \'PGRPRN\' or value.code = \'PGGRPRN\' or value.code = \'PUNCLE\' or value.code = \'ROOM\' or value.code = \'SIB\' or value.code = \'SIBINLAW\' or value.code = \'SIGOTHR\' or value.code = \'SPS\' or value.code = \'STEP\' or value.code = \'STPPRN\' or value.code = \'STPSIB\' or value.code = \'UNCLE\' or value.code = \'FRND\' or value.code = \'RESPRSN\' or value.code = \'EXCEST\' or value.code = \'GUADLTM\' or value.code = \'GUARD\' or value.code = \'POWATT\' or value.code = \'DPOWATT\' or value.code = \'HPOWATT\' or value.code = \'SPOWATT\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((not code.oclIsUndefined()) and code.isNullFlavorUndefined() implies\r\n(code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and (value.code = \'ADOPT\' or value.code = \'AUNT\' or value.code = \'CHILD\' or value.code = \'CHLDINLAW\' or value.code = \'COUSN\' or value.code = \'DOMPART\' or value.code = \'FAMMEMB\' or value.code = \'CHLDFOST\' or value.code = \'GRNDCHILD\' or value.code = \'GPARNT\' or value.code = \'GRPRN\' or value.code = \'GGRPRN\' or value.code = \'HSIB\' or value.code = \'MAUNT\' or value.code = \'MCOUSN\' or value.code = \'MGRPRN\' or value.code = \'MGGRPRN\' or value.code = \'MUNCLE\' or value.code = \'NCHILD\' or value.code = \'NPRN\' or value.code = \'NSIB\' or value.code = \'NBOR\' or value.code = \'NIENEPH\' or value.code = \'PRN\' or value.code = \'PRNINLAW\' or value.code = \'PAUNT\' or value.code = \'PCOUSN\' or value.code = \'PGRPRN\' or value.code = \'PGGRPRN\' or value.code = \'PUNCLE\' or value.code = \'ROOM\' or value.code = \'SIB\' or value.code = \'SIBINLAW\' or value.code = \'SIGOTHR\' or value.code = \'SPS\' or value.code = \'STEP\' or value.code = \'STPPRN\' or value.code = \'STPSIB\' or value.code = \'UNCLE\' or value.code = \'FRND\' or value.code = \'RESPRSN\' or value.code = \'EXCEST\' or value.code = \'GUADLTM\' or value.code = \'GUARD\' or value.code = \'POWATT\' or value.code = \'DPOWATT\' or value.code = \'HPOWATT\' or value.code = \'SPOWATT\')))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCodeFromPersonalRelationshipOrResponsibleParty( @@ -957,7 +952,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCode(DiagnosticChain diagnostics, @@ -970,7 +965,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianAddr(DiagnosticChain diagnostics, @@ -983,7 +978,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianAd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTelecom(DiagnosticChain diagnostics, @@ -996,7 +991,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject(guardianPerson->one(guardianPerson : cda::Person | not guardianPerson.oclIsUndefined() and guardianPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject(guardianPerson->one(guardianPerson : cda::Person | not guardianPerson.oclIsUndefined() and guardianPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGuardianPerson( @@ -1009,7 +1004,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthplace->excluding(null).place->excluding(null)->reject((addr.country->exists(curCountry | not curCountry.oclIsUndefined() and curCountry.getText() = \'US\')) implies (addr.state->size() = 1) and ((addr.state->exists(curState | (curState.getText() = \'AL\' or curState.getText() = \'AK\' or curState.getText() = \'AS\' or curState.getText() = \'AZ\' or curState.getText() = \'AR\' or curState.getText() = \'CA\' or curState.getText() = \'CO\' or curState.getText() = \'CT\' or curState.getText() = \'DE\' or curState.getText() = \'DC\' or curState.getText() = \'FL\' or curState.getText() = \'FM\' or curState.getText() = \'GA\' or curState.getText() = \'GU\' or curState.getText() = \'HI\' or curState.getText() = \'ID\' or curState.getText() = \'IL\' or curState.getText() = \'IN\' or curState.getText() = \'IA\' or curState.getText() = \'KS\' or curState.getText() = \'KY\' or curState.getText() = \'LA\' or curState.getText() = \'ME\' or curState.getText() = \'MH\' or curState.getText() = \'MD\' or curState.getText() = \'MA\' or curState.getText() = \'MI\' or curState.getText() = \'MN\' or curState.getText() = \'MS\' or curState.getText() = \'MO\' or curState.getText() = \'MT\' or curState.getText() = \'NE\' or curState.getText() = \'NV\' or curState.getText() = \'NH\' or curState.getText() = \'NJ\' or curState.getText() = \'NM\' or curState.getText() = \'NY\' or curState.getText() = \'NC\' or curState.getText() = \'ND\' or curState.getText() = \'MP\' or curState.getText() = \'OH\' or curState.getText() = \'OK\' or curState.getText() = \'OR\' or curState.getText() = \'PW\' or curState.getText() = \'PA\' or curState.getText() = \'PR\' or curState.getText() = \'RI\' or curState.getText() = \'SC\' or curState.getText() = \'SD\' or curState.getText() = \'TN\' or curState.getText() = \'TX\' or curState.getText() = \'UM\' or curState.getText() = \'UT\' or curState.getText() = \'VT\' or curState.getText() = \'VA\' or curState.getText() = \'VI\' or curState.getText() = \'WA\' or curState.getText() = \'WV\' or curState.getText() = \'WI\' or curState.getText() = \'WY\' ))) or (addr.state->exists(curState | curState.isNullFlavorDefined()))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthplace->excluding(null).place->excluding(null)->reject((addr.country->exists(curCountry | not curCountry.oclIsUndefined() and curCountry.getText() = \'US\')) implies (addr.state->size() = 1) and ((addr.state->exists(curState | (curState.getText() = \'AL\' or curState.getText() = \'AK\' or curState.getText() = \'AS\' or curState.getText() = \'AZ\' or curState.getText() = \'AR\' or curState.getText() = \'CA\' or curState.getText() = \'CO\' or curState.getText() = \'CT\' or curState.getText() = \'DE\' or curState.getText() = \'DC\' or curState.getText() = \'FL\' or curState.getText() = \'FM\' or curState.getText() = \'GA\' or curState.getText() = \'GU\' or curState.getText() = \'HI\' or curState.getText() = \'ID\' or curState.getText() = \'IL\' or curState.getText() = \'IN\' or curState.getText() = \'IA\' or curState.getText() = \'KS\' or curState.getText() = \'KY\' or curState.getText() = \'LA\' or curState.getText() = \'ME\' or curState.getText() = \'MH\' or curState.getText() = \'MD\' or curState.getText() = \'MA\' or curState.getText() = \'MI\' or curState.getText() = \'MN\' or curState.getText() = \'MS\' or curState.getText() = \'MO\' or curState.getText() = \'MT\' or curState.getText() = \'NE\' or curState.getText() = \'NV\' or curState.getText() = \'NH\' or curState.getText() = \'NJ\' or curState.getText() = \'NM\' or curState.getText() = \'NY\' or curState.getText() = \'NC\' or curState.getText() = \'ND\' or curState.getText() = \'MP\' or curState.getText() = \'OH\' or curState.getText() = \'OK\' or curState.getText() = \'OR\' or curState.getText() = \'PW\' or curState.getText() = \'PA\' or curState.getText() = \'PR\' or curState.getText() = \'RI\' or curState.getText() = \'SC\' or curState.getText() = \'SD\' or curState.getText() = \'TN\' or curState.getText() = \'TX\' or curState.getText() = \'UM\' or curState.getText() = \'UT\' or curState.getText() = \'VT\' or curState.getText() = \'VA\' or curState.getText() = \'VI\' or curState.getText() = \'WA\' or curState.getText() = \'WV\' or curState.getText() = \'WI\' or curState.getText() = \'WY\' ))) or (addr.state->exists(curState | curState.isNullFlavorDefined()))))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceHasState( @@ -1022,7 +1017,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthplace->excluding(null).place->excluding(null)->reject((addr.oclIsUndefined() or addr.isNullFlavorUndefined()) implies (not addr.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthplace->excluding(null).place->excluding(null)->reject((addr.oclIsUndefined() or addr.isNullFlavorUndefined()) implies (not addr.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceAddr( @@ -1035,7 +1030,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthplace->excluding(null)->reject(place->one(place : cda::Place | not place.oclIsUndefined() and place.oclIsKindOf(cda::Place)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthplace->excluding(null)->reject(place->one(place : cda::Place | not place.oclIsUndefined() and place.oclIsKindOf(cda::Place)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlace(DiagnosticChain diagnostics, @@ -1048,7 +1043,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((languageCode.oclIsUndefined() or languageCode.isNullFlavorUndefined()) implies (not languageCode.oclIsUndefined() and languageCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = languageCode.oclAsType(datatypes::CS) in \r\nnot value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((languageCode.oclIsUndefined() or languageCode.isNullFlavorUndefined()) implies (not languageCode.oclIsUndefined() and languageCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = languageCode.oclAsType(datatypes::CS) in \r\nnot value.code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCode( @@ -1061,7 +1056,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((languageCode.oclIsUndefined() or languageCode.isNullFlavorUndefined()) implies (not languageCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((languageCode.oclIsUndefined() or languageCode.isNullFlavorUndefined()) implies (not languageCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCodeP( @@ -1074,7 +1069,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((modeCode.oclIsUndefined() or modeCode.isNullFlavorUndefined()) implies (not modeCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((modeCode.oclIsUndefined() or modeCode.isNullFlavorUndefined()) implies (not modeCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationModeCodeP( @@ -1087,7 +1082,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((modeCode.oclIsUndefined() or modeCode.isNullFlavorUndefined()) implies (not modeCode.oclIsUndefined() and modeCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = modeCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.60\' and (value.code = \'ESGN\' or value.code = \'ESP\' or value.code = \'EWR\' or value.code = \'RSGN\' or value.code = \'RSP\' or value.code = \'RWR\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((modeCode.oclIsUndefined() or modeCode.isNullFlavorUndefined()) implies (not modeCode.oclIsUndefined() and modeCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = modeCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.60\' and (value.code = \'ESGN\' or value.code = \'ESP\' or value.code = \'EWR\' or value.code = \'RSGN\' or value.code = \'RSP\' or value.code = \'RWR\')))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationModeCode( @@ -1100,7 +1095,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((proficiencyLevelCode.oclIsUndefined() or proficiencyLevelCode.isNullFlavorUndefined()) implies (not proficiencyLevelCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((proficiencyLevelCode.oclIsUndefined() or proficiencyLevelCode.isNullFlavorUndefined()) implies (not proficiencyLevelCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationProficiencyLevelCodeP( @@ -1113,7 +1108,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((proficiencyLevelCode.oclIsUndefined() or proficiencyLevelCode.isNullFlavorUndefined()) implies (not proficiencyLevelCode.oclIsUndefined() and proficiencyLevelCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = proficiencyLevelCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.61\' and (value.code = \'E\' or value.code = \'F\' or value.code = \'G\' or value.code = \'P\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((proficiencyLevelCode.oclIsUndefined() or proficiencyLevelCode.isNullFlavorUndefined()) implies (not proficiencyLevelCode.oclIsUndefined() and proficiencyLevelCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = proficiencyLevelCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.61\' and (value.code = \'E\' or value.code = \'F\' or value.code = \'G\' or value.code = \'P\')))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationProficiencyLevelCode( @@ -1126,7 +1121,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((preferenceInd.oclIsUndefined() or preferenceInd.isNullFlavorUndefined()) implies (not preferenceInd.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((preferenceInd.oclIsUndefined() or preferenceInd.isNullFlavorUndefined()) implies (not preferenceInd.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd( @@ -1139,7 +1134,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(sDTCRaceCode->notEmpty() implies not raceCode.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(sDTCRaceCode->notEmpty() implies not raceCode.oclIsUndefined())'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientIfSdtcEnforceRaceCode( @@ -1152,7 +1147,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientIfSdtcEnfo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientName(DiagnosticChain diagnostics, @@ -1165,7 +1160,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientName(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((administrativeGenderCode.oclIsUndefined() or administrativeGenderCode.isNullFlavorUndefined()) implies (not administrativeGenderCode.oclIsUndefined() and administrativeGenderCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = administrativeGenderCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1\' and (value.code = \'F\' or value.code = \'M\' or value.code = \'UN\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((administrativeGenderCode.oclIsUndefined() or administrativeGenderCode.isNullFlavorUndefined()) implies (not administrativeGenderCode.oclIsUndefined() and administrativeGenderCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = administrativeGenderCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1\' and (value.code = \'F\' or value.code = \'M\' or value.code = \'UN\')))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientAdministrativeGenderCode( @@ -1178,7 +1173,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientAdministra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((birthTime.oclIsUndefined() or birthTime.isNullFlavorUndefined()) implies (not birthTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((birthTime.oclIsUndefined() or birthTime.isNullFlavorUndefined()) implies (not birthTime.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthTime(DiagnosticChain diagnostics, @@ -1191,7 +1186,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthTime( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((maritalStatusCode.oclIsUndefined() or maritalStatusCode.isNullFlavorUndefined()) implies (not maritalStatusCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((maritalStatusCode.oclIsUndefined() or maritalStatusCode.isNullFlavorUndefined()) implies (not maritalStatusCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalStatusCodeP( @@ -1204,7 +1199,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalSta * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((maritalStatusCode.oclIsUndefined() or maritalStatusCode.isNullFlavorUndefined()) implies (not maritalStatusCode.oclIsUndefined() and maritalStatusCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = maritalStatusCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.2\' and (value.code = \'A\' or value.code = \'D\' or value.code = \'I\' or value.code = \'L\' or value.code = \'M\' or value.code = \'P\' or value.code = \'S\' or value.code = \'T\' or value.code = \'W\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((maritalStatusCode.oclIsUndefined() or maritalStatusCode.isNullFlavorUndefined()) implies (not maritalStatusCode.oclIsUndefined() and maritalStatusCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = maritalStatusCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.2\' and (value.code = \'A\' or value.code = \'D\' or value.code = \'I\' or value.code = \'L\' or value.code = \'M\' or value.code = \'P\' or value.code = \'S\' or value.code = \'T\' or value.code = \'W\')))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalStatusCode(DiagnosticChain diagnostics, @@ -1217,7 +1212,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalSta * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((religiousAffiliationCode.oclIsUndefined() or religiousAffiliationCode.isNullFlavorUndefined()) implies (not religiousAffiliationCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((religiousAffiliationCode.oclIsUndefined() or religiousAffiliationCode.isNullFlavorUndefined()) implies (not religiousAffiliationCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousAffiliationCodeP( @@ -1230,7 +1225,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousA * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((religiousAffiliationCode.oclIsUndefined() or religiousAffiliationCode.isNullFlavorUndefined()) implies (not religiousAffiliationCode.oclIsUndefined() and religiousAffiliationCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = religiousAffiliationCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1076\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((religiousAffiliationCode.oclIsUndefined() or religiousAffiliationCode.isNullFlavorUndefined()) implies (not religiousAffiliationCode.oclIsUndefined() and religiousAffiliationCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = religiousAffiliationCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1076\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousAffiliationCode( @@ -1243,7 +1238,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousA * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((raceCode.oclIsUndefined() or raceCode.isNullFlavorUndefined()) implies (not raceCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((raceCode.oclIsUndefined() or raceCode.isNullFlavorUndefined()) implies (not raceCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCodeP(DiagnosticChain diagnostics, @@ -1256,7 +1251,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCodeP( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((raceCode.oclIsUndefined() or raceCode.isNullFlavorUndefined()) implies (not raceCode.oclIsUndefined() and raceCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = raceCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((raceCode.oclIsUndefined() or raceCode.isNullFlavorUndefined()) implies (not raceCode.oclIsUndefined() and raceCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = raceCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCode(DiagnosticChain diagnostics, @@ -1269,7 +1264,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCode(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCRaceCode->isEmpty() or sDTCRaceCode->exists(element | element.isNullFlavorUndefined())) implies (not sDTCRaceCode->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCRaceCode->isEmpty() or sDTCRaceCode->exists(element | element.isNullFlavorUndefined())) implies (not sDTCRaceCode->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCodeP(DiagnosticChain diagnostics, @@ -1282,7 +1277,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCRaceCode->isEmpty() or sDTCRaceCode->exists(element | element.isNullFlavorUndefined())) implies (sDTCRaceCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and not value.code.oclIsUndefined())))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCRaceCode->isEmpty() or sDTCRaceCode->exists(element | element.isNullFlavorUndefined())) implies (sDTCRaceCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and not value.code.oclIsUndefined())))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCode(DiagnosticChain diagnostics, @@ -1295,7 +1290,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((ethnicGroupCode.oclIsUndefined() or ethnicGroupCode.isNullFlavorUndefined()) implies (not ethnicGroupCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((ethnicGroupCode.oclIsUndefined() or ethnicGroupCode.isNullFlavorUndefined()) implies (not ethnicGroupCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCodeP(DiagnosticChain diagnostics, @@ -1308,7 +1303,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGrou * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((ethnicGroupCode.oclIsUndefined() or ethnicGroupCode.isNullFlavorUndefined()) implies (not ethnicGroupCode.oclIsUndefined() and ethnicGroupCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = ethnicGroupCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and (value.code = \'2135-2\' or value.code = \'2186-5\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((ethnicGroupCode.oclIsUndefined() or ethnicGroupCode.isNullFlavorUndefined()) implies (not ethnicGroupCode.oclIsUndefined() and ethnicGroupCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = ethnicGroupCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and (value.code = \'2135-2\' or value.code = \'2186-5\')))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCode(DiagnosticChain diagnostics, @@ -1321,7 +1316,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGrou * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(guardian->exists(guardian : cda::Guardian | not guardian.oclIsUndefined() and guardian.oclIsKindOf(cda::Guardian)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(guardian->exists(guardian : cda::Guardian | not guardian.oclIsUndefined() and guardian.oclIsKindOf(cda::Guardian)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardian(DiagnosticChain diagnostics, @@ -1334,7 +1329,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardian(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(birthplace->one(birthplace : cda::Birthplace | not birthplace.oclIsUndefined() and birthplace.oclIsKindOf(cda::Birthplace)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(birthplace->one(birthplace : cda::Birthplace | not birthplace.oclIsUndefined() and birthplace.oclIsKindOf(cda::Birthplace)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace(DiagnosticChain diagnostics, @@ -1347,7 +1342,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(languageCommunication->exists(languageCommunication : cda::LanguageCommunication | not languageCommunication.oclIsUndefined() and languageCommunication.oclIsKindOf(cda::LanguageCommunication)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(languageCommunication->exists(languageCommunication : cda::LanguageCommunication | not languageCommunication.oclIsUndefined() and languageCommunication.oclIsKindOf(cda::LanguageCommunication)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunication( @@ -1360,7 +1355,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationTELUse( @@ -1373,7 +1368,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -1386,7 +1381,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -1399,7 +1394,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -1412,7 +1407,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUseP( @@ -1425,7 +1420,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUse( @@ -1438,7 +1433,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressCountry( @@ -1451,7 +1446,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressState( @@ -1464,7 +1459,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressCity( @@ -1477,7 +1472,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -1490,7 +1485,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -1503,7 +1498,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationHasNationalProviderIdentifier( @@ -1516,7 +1511,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationId(DiagnosticChain diagnostics, @@ -1529,7 +1524,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationName(DiagnosticChain diagnostics, @@ -1542,7 +1537,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationTelecom( @@ -1555,7 +1550,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationAddr(DiagnosticChain diagnostics, @@ -1568,7 +1563,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleId(DiagnosticChain diagnostics, @@ -1581,7 +1576,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleId(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleAddr(DiagnosticChain diagnostics, @@ -1594,7 +1589,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleAddr(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleTelecom(DiagnosticChain diagnostics, @@ -1607,7 +1602,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleTelecom(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(patient->one(patient : cda::Patient | not patient.oclIsUndefined() and patient.oclIsKindOf(cda::Patient)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(patient->one(patient : cda::Patient | not patient.oclIsUndefined() and patient.oclIsKindOf(cda::Patient)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatient(DiagnosticChain diagnostics, @@ -1620,7 +1615,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatient(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(providerOrganization->one(providerOrganization : cda::Organization | not providerOrganization.oclIsUndefined() and providerOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(providerOrganization->one(providerOrganization : cda::Organization | not providerOrganization.oclIsUndefined() and providerOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganization(DiagnosticChain diagnostics, @@ -1633,7 +1628,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRole(DiagnosticChain diagnostics, @@ -1646,7 +1641,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRole(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounterId(DiagnosticChain diagnostics, @@ -1659,7 +1654,7 @@ boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounterId(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -1672,7 +1667,7 @@ boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounterEffectiv * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -1685,7 +1680,7 @@ boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounter(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 8))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 8))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS( @@ -1698,7 +1693,7 @@ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 12))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteTS( @@ -1711,7 +1706,7 @@ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 14))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 14))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondTS( @@ -1724,7 +1719,7 @@ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15)'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDayIncludeTimeZoneOffsetTS( @@ -1737,7 +1732,7 @@ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -1750,7 +1745,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -1763,7 +1758,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -1776,7 +1771,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUseP( @@ -1789,7 +1784,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUse( @@ -1802,7 +1797,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressCountry( @@ -1815,7 +1810,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressState( @@ -1828,7 +1823,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressCity( @@ -1841,7 +1836,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -1854,7 +1849,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -1867,7 +1862,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTELUse(DiagnosticChain diagnostics, @@ -1880,7 +1875,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTELUse(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).assignedAuthoringDevice->excluding(null)->reject((manufacturerModelName.oclIsUndefined() or manufacturerModelName.isNullFlavorUndefined()) implies (not manufacturerModelName.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).assignedAuthoringDevice->excluding(null)->reject((manufacturerModelName.oclIsUndefined() or manufacturerModelName.isNullFlavorUndefined()) implies (not manufacturerModelName.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceManufacturerModelName( @@ -1893,7 +1888,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceManuf * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).assignedAuthoringDevice->excluding(null)->reject((softwareName.oclIsUndefined() or softwareName.isNullFlavorUndefined()) implies (not softwareName.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).assignedAuthoringDevice->excluding(null)->reject((softwareName.oclIsUndefined() or softwareName.isNullFlavorUndefined()) implies (not softwareName.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceSoftwareName(DiagnosticChain diagnostics, @@ -1906,7 +1901,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceSoftw * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorPersonName(DiagnosticChain diagnostics, @@ -1919,7 +1914,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorPersonName(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(assignedPerson->one(element | not element.oclIsUndefined() implies (element.isNullFlavorDefined() or element->size() = 1) ) xor assignedAuthoringDevice->one(element | not element.oclIsUndefined() implies (element.isNullFlavorDefined() or element->size() = 1) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(assignedPerson->one(element | not element.oclIsUndefined() implies (element.isNullFlavorDefined() or element->size() = 1) ) xor assignedAuthoringDevice->one(element | not element.oclIsUndefined() implies (element.isNullFlavorDefined() or element->size() = 1) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorHasOneAssignedPersonOrOneAssignedAuthoringDevice( @@ -1932,7 +1927,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorHasOneAssignedPerson * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not assignedPerson.oclIsUndefined() and not id->isEmpty()) implies id->exists(id | (id.isNullFlavorDefined() and id.extension->isEmpty() and id.root->isEmpty()) or (id.isNullFlavorDefined() and id.root=\'2.16.840.1.113883.4.6\') or (id.root=\'2.16.840.1.113883.4.6\' and id.extension->size() = 1)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not assignedPerson.oclIsUndefined() and not id->isEmpty()) implies id->exists(id | (id.isNullFlavorDefined() and id.extension->isEmpty() and id.root->isEmpty()) or (id.isNullFlavorDefined() and id.root=\'2.16.840.1.113883.4.6\') or (id.root=\'2.16.840.1.113883.4.6\' and id.extension->size() = 1)))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorHasNationalProviderIdentifier( @@ -1945,7 +1940,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorHasNationalProviderI * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorId(DiagnosticChain diagnostics, @@ -1958,7 +1953,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCodeP(DiagnosticChain diagnostics, @@ -1971,7 +1966,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCodeP(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCode(DiagnosticChain diagnostics, @@ -1984,7 +1979,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAddr(DiagnosticChain diagnostics, @@ -1997,7 +1992,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAddr(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTelecom(DiagnosticChain diagnostics, @@ -2010,7 +2005,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTelecom(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorTime(DiagnosticChain diagnostics, Map context); @@ -2022,7 +2017,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTelecom(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthor(DiagnosticChain diagnostics, @@ -2035,7 +2030,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthor(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -2048,7 +2043,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -2061,7 +2056,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -2074,7 +2069,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -2087,7 +2082,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -2100,7 +2095,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -2113,7 +2108,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -2126,7 +2121,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -2139,7 +2134,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -2152,7 +2147,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -2165,7 +2160,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityTELUse(DiagnosticChain diagnostics, @@ -2178,7 +2173,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityTELUse(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityPersonName(DiagnosticChain diagnostics, @@ -2191,7 +2186,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityPersonName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityHasNationalProviderIdentifier( @@ -2204,7 +2199,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityHasNationalProv * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityId(DiagnosticChain diagnostics, @@ -2217,7 +2212,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityId(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -2230,7 +2225,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityCodeP(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\'))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityCode(DiagnosticChain diagnostics, @@ -2243,7 +2238,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityAddr(DiagnosticChain diagnostics, @@ -2256,7 +2251,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityAddr(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityTelecom(DiagnosticChain diagnostics, @@ -2269,7 +2264,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityTelecom(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityAssignedPerson(DiagnosticChain diagnostics, @@ -2282,7 +2277,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityAssignedPerson( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntity(DiagnosticChain diagnostics, @@ -2295,7 +2290,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationTELUse( @@ -2308,7 +2303,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -2321,7 +2316,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -2334,7 +2329,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -2347,7 +2342,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUseP( @@ -2360,7 +2355,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUse( @@ -2373,7 +2368,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressCountry( @@ -2386,7 +2381,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressState( @@ -2399,7 +2394,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressCity( @@ -2412,7 +2407,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -2425,7 +2420,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -2438,7 +2433,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationHasNationalProviderIdentifier( @@ -2451,7 +2446,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationId( @@ -2464,7 +2459,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationName( @@ -2477,7 +2472,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((telecom.oclIsUndefined() or telecom.isNullFlavorUndefined()) implies (not telecom.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((telecom.oclIsUndefined() or telecom.isNullFlavorUndefined()) implies (not telecom.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationTelecom( @@ -2490,7 +2485,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((addr.oclIsUndefined() or addr.isNullFlavorUndefined()) implies (not addr.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((addr.oclIsUndefined() or addr.isNullFlavorUndefined()) implies (not addr.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationAddr( @@ -2503,7 +2498,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(cda::CustodianOrganization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(cda::CustodianOrganization)))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianRepresentedCustodianOrganization( @@ -2516,7 +2511,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianRepresentedCus * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian(DiagnosticChain diagnostics, @@ -2529,7 +2524,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).informationRecipient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).informationRecipient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientPersonName(DiagnosticChain diagnostics, @@ -2542,7 +2537,7 @@ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientPer * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientOrganizationName( @@ -2555,7 +2550,7 @@ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientOrg * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(informationRecipient->one(informationRecipient : cda::Person | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(informationRecipient->one(informationRecipient : cda::Person | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientInformationRecipient( @@ -2568,7 +2563,7 @@ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientInf * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(receivedOrganization->one(receivedOrganization : cda::Organization | not receivedOrganization.oclIsUndefined() and receivedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(receivedOrganization->one(receivedOrganization : cda::Organization | not receivedOrganization.oclIsUndefined() and receivedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientRecievedOrganization( @@ -2581,7 +2576,7 @@ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientRec * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" * @generated */ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipient(DiagnosticChain diagnostics, @@ -2594,7 +2589,7 @@ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipient(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -2607,7 +2602,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -2620,7 +2615,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -2633,7 +2628,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -2646,7 +2641,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -2659,7 +2654,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -2672,7 +2667,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -2685,7 +2680,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -2698,7 +2693,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -2711,7 +2706,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -2724,7 +2719,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTELUse(DiagnosticChain diagnostics, @@ -2737,7 +2732,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTELUse(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityPersonName(DiagnosticChain diagnostics, @@ -2750,7 +2745,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityPersonNa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityHasNationalProviderIdentifier( @@ -2763,7 +2758,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityHasNatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityId(DiagnosticChain diagnostics, @@ -2776,7 +2771,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityId(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -2789,7 +2784,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCodeP(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCode(DiagnosticChain diagnostics, @@ -2802,7 +2797,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCode(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAddr(DiagnosticChain diagnostics, @@ -2815,7 +2810,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAddr(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTelecom(DiagnosticChain diagnostics, @@ -2828,7 +2823,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTelecom( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAssignedPerson(DiagnosticChain diagnostics, @@ -2841,7 +2836,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAssigned * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorTime(DiagnosticChain diagnostics, @@ -2854,7 +2849,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorTime(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorSignatureCodeP(DiagnosticChain diagnostics, @@ -2867,7 +2862,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorSignatureCodeP(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined() and signatureCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = signatureCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'S\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined() and signatureCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = signatureCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'S\'))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorSignatureCode(DiagnosticChain diagnostics, @@ -2880,7 +2875,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorSignatureCode(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntity(DiagnosticChain diagnostics, @@ -2893,7 +2888,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntity(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -2906,7 +2901,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -2919,7 +2914,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -2932,7 +2927,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -2945,7 +2940,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -2958,7 +2953,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -2971,7 +2966,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -2984,7 +2979,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -2997,7 +2992,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -3010,7 +3005,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -3023,7 +3018,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityTELUse(DiagnosticChain diagnostics, @@ -3036,7 +3031,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityTELUse(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityPersonName(DiagnosticChain diagnostics, @@ -3049,7 +3044,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityPersonName(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityHasNationalProviderIdentifier( @@ -3062,7 +3057,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityHasNationalPr * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityId(DiagnosticChain diagnostics, @@ -3075,7 +3070,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityId(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -3088,7 +3083,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityCodeP(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityCode(DiagnosticChain diagnostics, @@ -3101,7 +3096,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityCode(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAddr(DiagnosticChain diagnostics, @@ -3114,7 +3109,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAddr(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityTelecom(DiagnosticChain diagnostics, @@ -3127,7 +3122,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityTelecom(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAssignedPerson(DiagnosticChain diagnostics, @@ -3140,7 +3135,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAssignedPerso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorTime(DiagnosticChain diagnostics, Map context); @@ -3152,7 +3147,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAssignedPerso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorSignatureCodeP(DiagnosticChain diagnostics, @@ -3165,7 +3160,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorSignatureCodeP(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined() and signatureCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = signatureCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'S\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined() and signatureCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = signatureCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'S\'))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorSignatureCode(DiagnosticChain diagnostics, @@ -3178,7 +3173,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorSignatureCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntity(DiagnosticChain diagnostics, @@ -3191,7 +3186,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntity(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -3204,7 +3199,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -3217,7 +3212,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -3230,7 +3225,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -3243,7 +3238,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -3256,7 +3251,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -3269,7 +3264,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -3282,7 +3277,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -3295,7 +3290,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -3308,7 +3303,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -3321,7 +3316,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityPersonName(DiagnosticChain diagnostics, @@ -3334,7 +3329,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityPersonName(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityHasNationalProviderIdentifier( @@ -3347,7 +3342,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityHasNationalProvid * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityId(DiagnosticChain diagnostics, @@ -3360,7 +3355,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityId(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -3373,7 +3368,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityCodeP(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\'))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityCode(DiagnosticChain diagnostics, @@ -3386,7 +3381,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityAddr(DiagnosticChain diagnostics, @@ -3399,7 +3394,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityAddr(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityAssignedPerson(DiagnosticChain diagnostics, @@ -3412,7 +3407,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityAssignedPerson(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -3425,7 +3420,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -3438,7 +3433,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -3451,7 +3446,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -3464,7 +3459,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -3477,7 +3472,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -3490,7 +3485,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -3503,7 +3498,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -3516,7 +3511,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -3529,7 +3524,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -3542,7 +3537,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityAddr(DiagnosticChain diagnostics, @@ -3555,7 +3550,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityAddr(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject(relatedPerson->one(relatedPerson : cda::Person | not relatedPerson.oclIsUndefined() and relatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject(relatedPerson->one(relatedPerson : cda::Person | not relatedPerson.oclIsUndefined() and relatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityPerson(DiagnosticChain diagnostics, @@ -3568,7 +3563,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityPerson(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(assignedEntity.oclIsUndefined() xor relatedEntity.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(assignedEntity.oclIsUndefined() xor relatedEntity.oclIsUndefined())'" * @generated */ boolean validateGeneralHeaderConstraintsInformantHasAssignedEntityOrRelatedEntity(DiagnosticChain diagnostics, @@ -3581,7 +3576,7 @@ boolean validateGeneralHeaderConstraintsInformantHasAssignedEntityOrRelatedEntit * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((not associatedEntity.associatedPerson.oclIsUndefined()) or (not associatedEntity.scopingOrganization.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((not associatedEntity.associatedPerson.oclIsUndefined()) or (not associatedEntity.scopingOrganization.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsParticipantSupportAssociatedEntityHasAssociatedPersonOrScopingOrganization( @@ -3594,7 +3589,7 @@ boolean validateGeneralHeaderConstraintsParticipantSupportAssociatedEntityHasAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsParticipantSupportTime(DiagnosticChain diagnostics, @@ -3607,7 +3602,7 @@ boolean validateGeneralHeaderConstraintsParticipantSupportTime(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsInFulfillmentOfOrderId(DiagnosticChain diagnostics, @@ -3620,7 +3615,7 @@ boolean validateGeneralHeaderConstraintsInFulfillmentOfOrderId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" * @generated */ boolean validateGeneralHeaderConstraintsInFulfillmentOfOrder(DiagnosticChain diagnostics, @@ -3633,7 +3628,7 @@ boolean validateGeneralHeaderConstraintsInFulfillmentOfOrder(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityHasNationalProviderIdentifier( @@ -3646,7 +3641,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Ass * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityId( @@ -3659,7 +3654,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Ass * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCodeP( @@ -3672,7 +3667,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Ass * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\'))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCode( @@ -3685,7 +3680,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Ass * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(isDefined(\'typeCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(isDefined(\'typeCode\'))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1TypeCode(DiagnosticChain diagnostics, @@ -3698,7 +3693,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Typ * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCodeP( @@ -3711,7 +3706,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Fun * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.88\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.88\'))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCode( @@ -3724,7 +3719,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Fun * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntity( @@ -3737,7 +3732,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Ass * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(effectiveTime->forAll(not low.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(effectiveTime->forAll(not low.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTimeLow(DiagnosticChain diagnostics, @@ -3750,7 +3745,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTime * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -3763,7 +3758,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTime * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1)))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer(DiagnosticChain diagnostics, @@ -3776,7 +3771,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEvent(DiagnosticChain diagnostics, @@ -3789,7 +3784,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEvent(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorizationConsentId(DiagnosticChain diagnostics, @@ -3802,7 +3797,7 @@ boolean validateGeneralHeaderConstraintsAuthorizationConsentId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorizationConsentCode(DiagnosticChain diagnostics, @@ -3815,7 +3810,7 @@ boolean validateGeneralHeaderConstraintsAuthorizationConsentCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorizationConsentStatusCodeP(DiagnosticChain diagnostics, @@ -3828,7 +3823,7 @@ boolean validateGeneralHeaderConstraintsAuthorizationConsentStatusCodeP(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined() and statusCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = statusCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'completed\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined() and statusCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = statusCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'completed\'))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorizationConsentStatusCode(DiagnosticChain diagnostics, @@ -3841,7 +3836,7 @@ boolean validateGeneralHeaderConstraintsAuthorizationConsentStatusCode(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(consent->one(consent : cda::Consent | not consent.oclIsUndefined() and consent.oclIsKindOf(cda::Consent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(consent->one(consent : cda::Consent | not consent.oclIsUndefined() and consent.oclIsKindOf(cda::Consent)))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorizationConsent(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralStatusSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralStatusSection.java index e6df2976b5..53508c47f2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralStatusSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralStatusSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface GeneralStatusSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.2.5\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.2.5\')'" * @generated */ boolean validateGeneralStatusSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalObservation.java index fd37137a0a..b1d47f06ce 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -34,7 +29,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.121\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.121\')'" * @generated */ boolean validateGoalObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateGoalObservationId(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" * @generated */ boolean validateGoalObservationValue(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::GoalObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::GoalObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateGoalObservationGoalObservation(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateGoalObservationActReferenceER(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateGoalObservationAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateGoalObservationHealthConcernActER(DiagnosticChain diagnostics, Map context); @@ -202,7 +197,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateGoalObservationPriorityPreference(DiagnosticChain diagnostics, Map context); @@ -214,7 +209,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateGoalObservationPlannedERs(DiagnosticChain diagnostics, Map context); @@ -226,7 +221,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validateGoalObservationReference(DiagnosticChain diagnostics, Map context); @@ -238,7 +233,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validateGoalObservationReferenceTypeCode(DiagnosticChain diagnostics, Map context); @@ -250,7 +245,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" * @generated */ boolean validateGoalObservationReferenceExternalDocumentReference(DiagnosticChain diagnostics, @@ -260,7 +255,7 @@ boolean validateGoalObservationReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::GoalObservation)).oclAsType(consol::GoalObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::GoalObservation)).oclAsType(consol::GoalObservation)'" * @generated */ EList getGoalObservations(); @@ -269,7 +264,7 @@ boolean validateGoalObservationReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getActReferenceERs(); @@ -278,7 +273,7 @@ boolean validateGoalObservationReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getHealthConcernActERs(); @@ -287,7 +282,7 @@ boolean validateGoalObservationReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference))->asSequence()->any(true).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference))->asSequence()->any(true).oclAsType(consol::PriorityPreference)'" * @generated */ PriorityPreference getPriorityPreference(); @@ -296,7 +291,7 @@ boolean validateGoalObservationReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getPlannedERss(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalsSection.java index 6f5dc3d41e..4a1f81b92a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalsSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface GoalsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.60\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.60\')'" * @generated */ boolean validateGoalsSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -105,7 +100,7 @@ public interface GoalsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::GoalObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::GoalObservation))'" * @generated */ boolean validateGoalsSectionGoalObservation(DiagnosticChain diagnostics, Map context); @@ -114,7 +109,7 @@ public interface GoalsSection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::GoalObservation)).oclAsType(consol::GoalObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::GoalObservation)).oclAsType(consol::GoalObservation)'" * @generated */ EList getGoalObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HandoffCommunicationParticipants.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HandoffCommunicationParticipants.java index 238a401e91..5e259975e2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HandoffCommunicationParticipants.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HandoffCommunicationParticipants.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -35,7 +30,7 @@ public interface HandoffCommunicationParticipants extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.141\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.141\')'" * @generated */ boolean validateHandoffCommunicationParticipantsTemplateId(DiagnosticChain diagnostics, @@ -135,7 +130,7 @@ boolean validateHandoffCommunicationParticipantsEffectiveTime(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipant(DiagnosticChain diagnostics, @@ -148,7 +143,7 @@ boolean validateHandoffCommunicationParticipantsParticipant(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateHandoffCommunicationParticipantsAuthorParticipation(DiagnosticChain diagnostics, @@ -161,7 +156,7 @@ boolean validateHandoffCommunicationParticipantsAuthorParticipation(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRolePlayingEntityName( @@ -174,7 +169,7 @@ boolean validateHandoffCommunicationParticipantsParticipantParticipantRolePlayin * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleId(DiagnosticChain diagnostics, @@ -187,7 +182,7 @@ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleId(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleCodeP(DiagnosticChain diagnostics, @@ -200,7 +195,7 @@ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleCodeP( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleCode(DiagnosticChain diagnostics, @@ -213,7 +208,7 @@ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleCode(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleAddr(DiagnosticChain diagnostics, @@ -226,7 +221,7 @@ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleAddr(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRolePlayingEntity(DiagnosticChain diagnostics, @@ -239,7 +234,7 @@ boolean validateHandoffCommunicationParticipantsParticipantParticipantRolePlayin * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::IRCP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::IRCP)'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantTypeCode(DiagnosticChain diagnostics, @@ -252,7 +247,7 @@ boolean validateHandoffCommunicationParticipantsParticipantTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRole(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernAct.java index 7d912cea08..bab1748c07 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -34,7 +29,7 @@ public interface HealthConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.132\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.132\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validateHealthConcernActTemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ public interface HealthConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateHealthConcernActId(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface HealthConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActHealthConcernActErRefr(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface HealthConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateHealthConcernActHealthConcernActErComp(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ public interface HealthConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -179,7 +174,7 @@ boolean validateHealthConcernActAssessmentScaleObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActFamilyHistoryOrganizer2(DiagnosticChain diagnostics, Map context); @@ -191,7 +186,7 @@ boolean validateHealthConcernActAssessmentScaleObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActNutritionAssessment(DiagnosticChain diagnostics, Map context); @@ -203,7 +198,7 @@ boolean validateHealthConcernActAssessmentScaleObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PregnancyObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PregnancyObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActPregnancyObservation(DiagnosticChain diagnostics, Map context); @@ -215,7 +210,7 @@ boolean validateHealthConcernActAssessmentScaleObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActCaregiverCharacteristics(DiagnosticChain diagnostics, Map context); @@ -227,7 +222,7 @@ boolean validateHealthConcernActAssessmentScaleObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CulturalAndReligiousObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CulturalAndReligiousObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActCulturalAndReligiousObservation(DiagnosticChain diagnostics, @@ -240,7 +235,7 @@ boolean validateHealthConcernActCulturalAndReligiousObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActCharacteristicsOfHomeEnvironment(DiagnosticChain diagnostics, @@ -253,7 +248,7 @@ boolean validateHealthConcernActCharacteristicsOfHomeEnvironment(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionalStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionalStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActNutritionalStatusObservation(DiagnosticChain diagnostics, @@ -266,7 +261,7 @@ boolean validateHealthConcernActNutritionalStatusObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActEntryReferenceGeneral(DiagnosticChain diagnostics, Map context); @@ -278,7 +273,7 @@ boolean validateHealthConcernActNutritionalStatusObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateHealthConcernActAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -290,7 +285,7 @@ boolean validateHealthConcernActNutritionalStatusObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SelfCareActivities) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SelfCareActivities) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActSelfCareActivities(DiagnosticChain diagnostics, Map context); @@ -302,7 +297,7 @@ boolean validateHealthConcernActNutritionalStatusObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SensoryStatus) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SensoryStatus) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActSensoryStatus(DiagnosticChain diagnostics, Map context); @@ -314,7 +309,7 @@ boolean validateHealthConcernActNutritionalStatusObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActLongitudinalCareWoundObservation(DiagnosticChain diagnostics, @@ -327,7 +322,7 @@ boolean validateHealthConcernActLongitudinalCareWoundObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActPriorityPreference(DiagnosticChain diagnostics, Map context); @@ -339,7 +334,7 @@ boolean validateHealthConcernActLongitudinalCareWoundObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActProblemObservation2(DiagnosticChain diagnostics, Map context); @@ -351,7 +346,7 @@ boolean validateHealthConcernActLongitudinalCareWoundObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActAllergyObservation2(DiagnosticChain diagnostics, Map context); @@ -363,7 +358,7 @@ boolean validateHealthConcernActLongitudinalCareWoundObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActMentalStatusObservation2(DiagnosticChain diagnostics, Map context); @@ -375,7 +370,7 @@ boolean validateHealthConcernActLongitudinalCareWoundObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActSmokingStatusMeaningfulUse2(DiagnosticChain diagnostics, @@ -388,7 +383,7 @@ boolean validateHealthConcernActSmokingStatusMeaningfulUse2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EncounterDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EncounterDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActEncounterDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -400,7 +395,7 @@ boolean validateHealthConcernActSmokingStatusMeaningfulUse2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::FunctionalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::FunctionalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActFunctionalStatusObservation2(DiagnosticChain diagnostics, @@ -413,7 +408,7 @@ boolean validateHealthConcernActFunctionalStatusObservation2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diagnostics, @@ -426,7 +421,7 @@ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PostprocedureDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PostprocedureDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActPostprocedureDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -438,7 +433,7 @@ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PreoperativeDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PreoperativeDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActPreoperativeDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -450,7 +445,7 @@ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActReactionObservation2(DiagnosticChain diagnostics, Map context); @@ -462,7 +457,7 @@ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ResultObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ResultObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActResultObservation2(DiagnosticChain diagnostics, Map context); @@ -474,7 +469,7 @@ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SocialHistoryObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SocialHistoryObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActSocialHistoryObservation2(DiagnosticChain diagnostics, Map context); @@ -486,7 +481,7 @@ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticChain diagnostics, @@ -499,7 +494,7 @@ boolean validateHealthConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::TobaccoUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::TobaccoUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActTobaccoUse2(DiagnosticChain diagnostics, Map context); @@ -511,7 +506,7 @@ boolean validateHealthConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::VitalSignObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::VitalSignObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActVitalSignObservation2(DiagnosticChain diagnostics, Map context); @@ -523,7 +518,7 @@ boolean validateHealthConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateHealthConcernActProblemObservation2Support(DiagnosticChain diagnostics, @@ -536,7 +531,7 @@ boolean validateHealthConcernActProblemObservation2Support(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::ResultOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::ResultOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActResultOrganizer2(DiagnosticChain diagnostics, Map context); @@ -548,7 +543,7 @@ boolean validateHealthConcernActProblemObservation2Support(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProblemConcernAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProblemConcernAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActProblemConcernAct2(DiagnosticChain diagnostics, Map context); @@ -560,7 +555,7 @@ boolean validateHealthConcernActProblemObservation2Support(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validateHealthConcernActReference(DiagnosticChain diagnostics, Map context); @@ -572,7 +567,7 @@ boolean validateHealthConcernActProblemObservation2Support(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validateHealthConcernActReferenceTypeCode(DiagnosticChain diagnostics, Map context); @@ -584,7 +579,7 @@ boolean validateHealthConcernActProblemObservation2Support(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" * @generated */ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticChain diagnostics, @@ -594,7 +589,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); @@ -603,7 +598,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2)).oclAsType(consol::FamilyHistoryOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2)).oclAsType(consol::FamilyHistoryOrganizer2)'" * @generated */ EList getFamilyHistoryOrganizer2s(); @@ -612,7 +607,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" * @generated */ EList getNutritionAssessments(); @@ -621,7 +616,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PregnancyObservation)).oclAsType(consol::PregnancyObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PregnancyObservation)).oclAsType(consol::PregnancyObservation)'" * @generated */ EList getPregnancyObservations(); @@ -630,7 +625,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -639,7 +634,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CulturalAndReligiousObservation)).oclAsType(consol::CulturalAndReligiousObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CulturalAndReligiousObservation)).oclAsType(consol::CulturalAndReligiousObservation)'" * @generated */ EList getCulturalAndReligiousObservations(); @@ -648,7 +643,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment)).oclAsType(consol::CharacteristicsOfHomeEnvironment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment)).oclAsType(consol::CharacteristicsOfHomeEnvironment)'" * @generated */ EList getCharacteristicsOfHomeEnvironments(); @@ -657,7 +652,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionalStatusObservation)).oclAsType(consol::NutritionalStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionalStatusObservation)).oclAsType(consol::NutritionalStatusObservation)'" * @generated */ EList getNutritionalStatusObservations(); @@ -666,7 +661,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceGenerals(); @@ -675,7 +670,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" * @generated */ EList getSelfCareActivitiess(); @@ -684,7 +679,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SensoryStatus)).oclAsType(consol::SensoryStatus)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SensoryStatus)).oclAsType(consol::SensoryStatus)'" * @generated */ EList getSensoryStatuss(); @@ -693,7 +688,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" * @generated */ EList getLongitudinalCareWoundObservations(); @@ -702,7 +697,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -711,7 +706,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getProblemObservation2s(); @@ -720,7 +715,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation2)).oclAsType(consol::AllergyObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation2)).oclAsType(consol::AllergyObservation2)'" * @generated */ EList getAllergyObservation2s(); @@ -729,7 +724,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" * @generated */ EList getMentalStatusObservation2s(); @@ -738,7 +733,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2)).oclAsType(consol::SmokingStatusMeaningfulUse2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2)).oclAsType(consol::SmokingStatusMeaningfulUse2)'" * @generated */ EList getSmokingStatusMeaningfulUse2s(); @@ -747,7 +742,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis2)).oclAsType(consol::EncounterDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis2)).oclAsType(consol::EncounterDiagnosis2)'" * @generated */ EList getEncounterDiagnosis2s(); @@ -756,7 +751,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" * @generated */ EList getFunctionalStatusObservation2s(); @@ -765,7 +760,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2)).oclAsType(consol::HospitalAdmissionDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2)).oclAsType(consol::HospitalAdmissionDiagnosis2)'" * @generated */ EList getHospitalAdmissionDiagnosis2s(); @@ -774,7 +769,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis2)).oclAsType(consol::PostprocedureDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis2)).oclAsType(consol::PostprocedureDiagnosis2)'" * @generated */ EList getPostprocedureDiagnosis2s(); @@ -783,7 +778,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis2)).oclAsType(consol::PreoperativeDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis2)).oclAsType(consol::PreoperativeDiagnosis2)'" * @generated */ EList getPreoperativeDiagnosis2s(); @@ -792,7 +787,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" * @generated */ EList getReactionObservation2s(); @@ -801,7 +796,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation2)).oclAsType(consol::ResultObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation2)).oclAsType(consol::ResultObservation2)'" * @generated */ EList getResultObservation2s(); @@ -810,7 +805,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation2)).oclAsType(consol::SocialHistoryObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation2)).oclAsType(consol::SocialHistoryObservation2)'" * @generated */ EList getSocialHistoryObservation2s(); @@ -819,7 +814,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2)).oclAsType(consol::SubstanceOrDeviceAllergyObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2)).oclAsType(consol::SubstanceOrDeviceAllergyObservation2)'" * @generated */ EList getSubstanceOrDeviceAllergyObservation2s(); @@ -828,7 +823,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse2)).oclAsType(consol::TobaccoUse2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse2)).oclAsType(consol::TobaccoUse2)'" * @generated */ EList getTobaccoUse2s(); @@ -837,7 +832,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation2)).oclAsType(consol::VitalSignObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation2)).oclAsType(consol::VitalSignObservation2)'" * @generated */ EList getVitalSignObservation2s(); @@ -846,7 +841,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getProblemObservation2Supports(); @@ -855,7 +850,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer2)).oclAsType(consol::ResultOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer2)).oclAsType(consol::ResultOrganizer2)'" * @generated */ EList getResultOrganizer2s(); @@ -864,7 +859,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct2)).oclAsType(consol::ProblemConcernAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct2)).oclAsType(consol::ProblemConcernAct2)'" * @generated */ EList getProblemConcernAct2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernsSection.java index ad9a3c87fe..e048bea2be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernsSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface HealthConcernsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.58\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.58\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validateHealthConcernsSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -105,7 +100,7 @@ public interface HealthConcernsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HealthConcernAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HealthConcernAct))'" * @generated */ boolean validateHealthConcernsSectionHealthConcernAct(DiagnosticChain diagnostics, Map context); @@ -117,7 +112,7 @@ public interface HealthConcernsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HealthStatusObservation2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HealthStatusObservation2))'" * @generated */ boolean validateHealthConcernsSectionHealthStatusObservation2(DiagnosticChain diagnostics, @@ -130,7 +125,7 @@ boolean validateHealthConcernsSectionHealthStatusObservation2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::RiskConcernAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::RiskConcernAct))'" * @generated */ boolean validateHealthConcernsSectionRiskConcernAct(DiagnosticChain diagnostics, Map context); @@ -139,7 +134,7 @@ boolean validateHealthConcernsSectionHealthStatusObservation2(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HealthConcernAct)).oclAsType(consol::HealthConcernAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HealthConcernAct)).oclAsType(consol::HealthConcernAct)'" * @generated */ EList getHealthConcernActs(); @@ -148,7 +143,7 @@ boolean validateHealthConcernsSectionHealthStatusObservation2(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation2)).oclAsType(consol::HealthStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation2)).oclAsType(consol::HealthStatusObservation2)'" * @generated */ EList getHealthStatusObservation2s(); @@ -157,7 +152,7 @@ boolean validateHealthConcernsSectionHealthStatusObservation2(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::RiskConcernAct)).oclAsType(consol::RiskConcernAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::RiskConcernAct)).oclAsType(consol::RiskConcernAct)'" * @generated */ EList getRiskConcernActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusEvaluationsAndOutcomesSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusEvaluationsAndOutcomesSection.java index 188bbf03c5..f06fbe3c3a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusEvaluationsAndOutcomesSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusEvaluationsAndOutcomesSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface HealthStatusEvaluationsAndOutcomesSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.61\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.61\')'" * @generated */ boolean validateHealthStatusEvaluationsAndOutcomesSectionTemplateId(DiagnosticChain diagnostics, @@ -111,7 +106,7 @@ boolean validateHealthStatusEvaluationsAndOutcomesSectionText(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::OutcomeObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::OutcomeObservation))'" * @generated */ boolean validateHealthStatusEvaluationsAndOutcomesSectionOutcomeObservation(DiagnosticChain diagnostics, @@ -121,7 +116,7 @@ boolean validateHealthStatusEvaluationsAndOutcomesSectionOutcomeObservation(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::OutcomeObservation)).oclAsType(consol::OutcomeObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::OutcomeObservation)).oclAsType(consol::OutcomeObservation)'" * @generated */ EList getOutcomeObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation.java index fcbb697d32..2409561bea 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -36,7 +31,7 @@ public interface HealthStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateHealthStatusObservationHasTextReference(DiagnosticChain diagnostics, Map context); @@ -48,7 +43,7 @@ public interface HealthStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateHealthStatusObservationTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -73,7 +68,7 @@ boolean validateHealthStatusObservationHasTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.5\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.5\')'" * @generated */ boolean validateHealthStatusObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -145,7 +140,7 @@ boolean validateHealthStatusObservationHasTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'81323004\' or value.code = \'313386006\' or value.code = \'162467007\' or value.code = \'161901003\' or value.code = \'271593001\' or value.code = \'21134002\' or value.code = \'161045001\' or value.code = \'419099009\' or value.code = \'135818000\' or value.code = \'135815002\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'81323004\' or value.code = \'313386006\' or value.code = \'162467007\' or value.code = \'161901003\' or value.code = \'271593001\' or value.code = \'21134002\' or value.code = \'161045001\' or value.code = \'419099009\' or value.code = \'135818000\' or value.code = \'135815002\')))'" * @generated */ boolean validateHealthStatusObservationValue(DiagnosticChain diagnostics, Map context); @@ -157,7 +152,7 @@ boolean validateHealthStatusObservationHasTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateHealthStatusObservationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation2.java index c0a9d8b85d..871d8dc17c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +26,7 @@ public interface HealthStatusObservation2 extends HealthStatusObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.5\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.5\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateHealthStatusObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -42,7 +38,7 @@ public interface HealthStatusObservation2 extends HealthStatusObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateHealthStatusObservation2Id(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HighestPressureUlcerStage.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HighestPressureUlcerStage.java index 16cb4e9e99..9eb6852bdd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HighestPressureUlcerStage.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HighestPressureUlcerStage.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface HighestPressureUlcerStage extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.77\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.77\')'" * @generated */ boolean validateHighestPressureUlcerStageTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface HighestPressureUlcerStage extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateHighestPressureUlcerStageId(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface HighestPressureUlcerStage extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateHighestPressureUlcerStageValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote.java index cfa63daa22..33c03babe8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -34,7 +30,7 @@ public interface HistoryAndPhysicalNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( @@ -47,7 +43,7 @@ boolean validateHistoryAndPhysicalNoteHasAnAssementAndPlanSectionOrIndividualAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( @@ -60,7 +56,7 @@ boolean validateHistoryAndPhysicalNoteDoesNotHaveIndividualAssementAndPlanSectio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteHasChiefComplaintAndReasonForVisitChiefComplaintOrReasonForVisit( @@ -73,7 +69,7 @@ boolean validateHistoryAndPhysicalNoteHasChiefComplaintAndReasonForVisitChiefCom * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( @@ -98,7 +94,7 @@ boolean validateHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAndReasonForVisit * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(rim::ActRelationship))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(rim::ActRelationship))'" * @generated */ boolean validateHistoryAndPhysicalNoteInFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -110,7 +106,7 @@ boolean validateHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAndReasonForVisit * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOf(DiagnosticChain diagnostics, Map context); @@ -122,7 +118,7 @@ boolean validateHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAndReasonForVisit * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteAllergiesSectionEntriesOptional(DiagnosticChain diagnostics, @@ -135,7 +131,7 @@ boolean validateHistoryAndPhysicalNoteAllergiesSectionEntriesOptional(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteAssessmentSection(DiagnosticChain diagnostics, Map context); @@ -147,7 +143,7 @@ boolean validateHistoryAndPhysicalNoteAllergiesSectionEntriesOptional(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateHistoryAndPhysicalNotePlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -159,7 +155,7 @@ boolean validateHistoryAndPhysicalNoteAllergiesSectionEntriesOptional(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteAssessmentAndPlanSection(DiagnosticChain diagnostics, @@ -172,7 +168,7 @@ boolean validateHistoryAndPhysicalNoteAssessmentAndPlanSection(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteChiefComplaintSection(DiagnosticChain diagnostics, @@ -185,7 +181,7 @@ boolean validateHistoryAndPhysicalNoteChiefComplaintSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -198,7 +194,7 @@ boolean validateHistoryAndPhysicalNoteChiefComplaintAndReasonForVisitSection(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" * @generated */ boolean validateHistoryAndPhysicalNoteFamilyHistorySection(DiagnosticChain diagnostics, @@ -211,7 +207,7 @@ boolean validateHistoryAndPhysicalNoteFamilyHistorySection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteGeneralStatusSection(DiagnosticChain diagnostics, @@ -224,7 +220,7 @@ boolean validateHistoryAndPhysicalNoteGeneralStatusSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteHistoryOfPastIllnessSection(DiagnosticChain diagnostics, @@ -237,7 +233,7 @@ boolean validateHistoryAndPhysicalNoteHistoryOfPastIllnessSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteMedicationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -250,7 +246,7 @@ boolean validateHistoryAndPhysicalNoteMedicationsSectionEntriesOptional(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" * @generated */ boolean validateHistoryAndPhysicalNotePhysicalExamSection(DiagnosticChain diagnostics, Map context); @@ -262,7 +258,7 @@ boolean validateHistoryAndPhysicalNoteMedicationsSectionEntriesOptional(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteReasonForVisitSection(DiagnosticChain diagnostics, @@ -275,7 +271,7 @@ boolean validateHistoryAndPhysicalNoteReasonForVisitSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteResultsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -288,7 +284,7 @@ boolean validateHistoryAndPhysicalNoteResultsSectionEntriesOptional(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteReviewOfSystemsSection(DiagnosticChain diagnostics, @@ -301,7 +297,7 @@ boolean validateHistoryAndPhysicalNoteReviewOfSystemsSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" * @generated */ boolean validateHistoryAndPhysicalNoteSocialHistorySection(DiagnosticChain diagnostics, @@ -314,7 +310,7 @@ boolean validateHistoryAndPhysicalNoteSocialHistorySection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteHistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -327,7 +323,7 @@ boolean validateHistoryAndPhysicalNoteHistoryOfPresentIllnessSection(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteImmunizationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -340,7 +336,7 @@ boolean validateHistoryAndPhysicalNoteImmunizationsSectionEntriesOptional(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteProblemSectionEntriesOptional(DiagnosticChain diagnostics, @@ -353,7 +349,7 @@ boolean validateHistoryAndPhysicalNoteProblemSectionEntriesOptional(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteProceduresSectionEntriesOptional(DiagnosticChain diagnostics, @@ -366,7 +362,7 @@ boolean validateHistoryAndPhysicalNoteProceduresSectionEntriesOptional(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteVitalSignsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -379,7 +375,7 @@ boolean validateHistoryAndPhysicalNoteVitalSignsSectionEntriesOptional(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteInstructionsSection(DiagnosticChain diagnostics, Map context); @@ -391,7 +387,7 @@ boolean validateHistoryAndPhysicalNoteVitalSignsSectionEntriesOptional(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsiblePartyAssignedEntityHasPersonOrOrganization( @@ -404,7 +400,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Responsib * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsiblePartyAssignedEntity( @@ -417,7 +413,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Responsib * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipantAssignedEntityHasPersonOrOrganization( @@ -430,7 +426,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Encounter * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipantAssignedEntity( @@ -443,7 +439,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Encounter * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheDay(DiagnosticChain diagnostics, @@ -456,7 +452,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseTo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheMinute( @@ -469,7 +465,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseTo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheSecond( @@ -482,7 +478,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseTo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4IfMorePreciseThanDayIncludeTimeZoneOffset( @@ -495,7 +491,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4IfMorePre * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EffectiveTime(DiagnosticChain diagnostics, @@ -508,7 +504,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Effective * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Id(DiagnosticChain diagnostics, @@ -521,7 +517,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Id(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(rim::Participation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(rim::Participation)))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Location(DiagnosticChain diagnostics, @@ -534,7 +530,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Location( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsibleParty(DiagnosticChain diagnostics, @@ -547,7 +543,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Responsib * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipant( @@ -560,7 +556,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Encounter * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -570,7 +566,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" * @generated */ AllergiesSectionEntriesOptional getAllergiesSectionEntriesOptional(); @@ -579,7 +575,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -588,7 +584,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -597,7 +593,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" * @generated */ AssessmentAndPlanSection getAssessmentAndPlanSection(); @@ -606,7 +602,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -615,7 +611,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -624,7 +620,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" * @generated */ FamilyHistorySection getFamilyHistorySection(); @@ -633,7 +629,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" * @generated */ GeneralStatusSection getGeneralStatusSection(); @@ -642,7 +638,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" * @generated */ HistoryOfPastIllnessSection getHistoryOfPastIllnessSection(); @@ -651,7 +647,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" * @generated */ MedicationsSectionEntriesOptional getMedicationsSectionEntriesOptional(); @@ -660,7 +656,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" * @generated */ PhysicalExamSection getPhysicalExamSection(); @@ -669,7 +665,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -678,7 +674,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional)'" * @generated */ ResultsSectionEntriesOptional getResultsSectionEntriesOptional(); @@ -687,7 +683,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -696,7 +692,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" * @generated */ SocialHistorySection getSocialHistorySection(); @@ -705,7 +701,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -714,7 +710,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional)'" * @generated */ ImmunizationsSectionEntriesOptional getImmunizationsSectionEntriesOptional(); @@ -723,7 +719,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" * @generated */ ProblemSectionEntriesOptional getProblemSectionEntriesOptional(); @@ -732,7 +728,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" * @generated */ ProceduresSectionEntriesOptional getProceduresSectionEntriesOptional(); @@ -741,7 +737,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" * @generated */ VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOptional(); @@ -750,7 +746,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))->asSequence()->any(true).oclAsType(consol::InstructionsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))->asSequence()->any(true).oclAsType(consol::InstructionsSection)'" * @generated */ InstructionsSection getInstructionsSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote2.java index 37ad6fc04f..3c7e15b4a8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface HistoryAndPhysicalNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2HasChiefComplaintAndReasonForVisitChiefComplaintOrReasonForVisit( @@ -49,7 +45,7 @@ boolean validateHistoryAndPhysicalNote2HasChiefComplaintAndReasonForVisitChiefCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( @@ -62,7 +58,7 @@ boolean validateHistoryAndPhysicalNote2HasAnAssementAndPlanSection2OrBothAssemen * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2DoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent( @@ -75,7 +71,7 @@ boolean validateHistoryAndPhysicalNote2DoesNotHaveAssementAndPlanSection2WhenAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2DoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( @@ -112,7 +108,7 @@ boolean validateHistoryAndPhysicalNote2DoesNotHaveChiefComplaintAndReasonForVisi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" * @generated */ boolean validateHistoryAndPhysicalNote2InformationRecipient(DiagnosticChain diagnostics, @@ -125,7 +121,7 @@ boolean validateHistoryAndPhysicalNote2InformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" * @generated */ boolean validateHistoryAndPhysicalNote2Participant(DiagnosticChain diagnostics, Map context); @@ -137,7 +133,7 @@ boolean validateHistoryAndPhysicalNote2InformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(rim::ActRelationship))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(rim::ActRelationship))'" * @generated */ boolean validateHistoryAndPhysicalNote2InFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -149,7 +145,7 @@ boolean validateHistoryAndPhysicalNote2InformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOf(DiagnosticChain diagnostics, Map context); @@ -161,7 +157,7 @@ boolean validateHistoryAndPhysicalNote2InformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2AllergiesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -174,7 +170,7 @@ boolean validateHistoryAndPhysicalNote2AllergiesSectionEntriesOptional2(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2AssessmentSection(DiagnosticChain diagnostics, Map context); @@ -186,7 +182,7 @@ boolean validateHistoryAndPhysicalNote2AllergiesSectionEntriesOptional2(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2PlanOfTreatmentSection2(DiagnosticChain diagnostics, @@ -199,7 +195,7 @@ boolean validateHistoryAndPhysicalNote2PlanOfTreatmentSection2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2AssessmentAndPlanSection2(DiagnosticChain diagnostics, @@ -212,7 +208,7 @@ boolean validateHistoryAndPhysicalNote2AssessmentAndPlanSection2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2ChiefComplaintSection(DiagnosticChain diagnostics, @@ -225,7 +221,7 @@ boolean validateHistoryAndPhysicalNote2ChiefComplaintSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2ChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -238,7 +234,7 @@ boolean validateHistoryAndPhysicalNote2ChiefComplaintAndReasonForVisitSection(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2GeneralStatusSection(DiagnosticChain diagnostics, @@ -251,7 +247,7 @@ boolean validateHistoryAndPhysicalNote2GeneralStatusSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2HistoryOfPastIllnessSection2(DiagnosticChain diagnostics, @@ -264,7 +260,7 @@ boolean validateHistoryAndPhysicalNote2HistoryOfPastIllnessSection2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2HistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -277,7 +273,7 @@ boolean validateHistoryAndPhysicalNote2HistoryOfPresentIllnessSection(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2ImmunizationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -290,7 +286,7 @@ boolean validateHistoryAndPhysicalNote2ImmunizationsSectionEntriesOptional2(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2InstructionsSection2(DiagnosticChain diagnostics, @@ -303,7 +299,7 @@ boolean validateHistoryAndPhysicalNote2InstructionsSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2MedicationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -316,7 +312,7 @@ boolean validateHistoryAndPhysicalNote2MedicationsSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2PhysicalExamSection2(DiagnosticChain diagnostics, @@ -329,7 +325,7 @@ boolean validateHistoryAndPhysicalNote2PhysicalExamSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2ProblemSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -342,7 +338,7 @@ boolean validateHistoryAndPhysicalNote2ProblemSectionEntriesOptional2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2ProceduresSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -355,7 +351,7 @@ boolean validateHistoryAndPhysicalNote2ProceduresSectionEntriesOptional2(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2ReasonForVisitSection(DiagnosticChain diagnostics, @@ -368,7 +364,7 @@ boolean validateHistoryAndPhysicalNote2ReasonForVisitSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2ResultsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -381,7 +377,7 @@ boolean validateHistoryAndPhysicalNote2ResultsSectionEntriesOptional2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2ReviewOfSystemsSection(DiagnosticChain diagnostics, @@ -394,7 +390,7 @@ boolean validateHistoryAndPhysicalNote2ReviewOfSystemsSection(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2SocialHistorySection2(DiagnosticChain diagnostics, @@ -407,7 +403,7 @@ boolean validateHistoryAndPhysicalNote2SocialHistorySection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2VitalSignsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -420,7 +416,7 @@ boolean validateHistoryAndPhysicalNote2VitalSignsSectionEntriesOptional2(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2FamilyHistorySection2(DiagnosticChain diagnostics, @@ -433,7 +429,7 @@ boolean validateHistoryAndPhysicalNote2FamilyHistorySection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateHistoryAndPhysicalNote2InformationRecipientIntendedRecipient(DiagnosticChain diagnostics, @@ -446,7 +442,7 @@ boolean validateHistoryAndPhysicalNote2InformationRecipientIntendedRecipient(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(p : cda::Participant1 | p.typeCode = vocab::ParticipationType::IND and not ( p.associatedEntity.classCode = vocab::RoleClassAssociative::PRS or p.associatedEntity.classCode = vocab::RoleClassAssociative::NOK or p.associatedEntity.classCode = vocab::RoleClassAssociative::CAREGIVER or p.associatedEntity.classCode = vocab::RoleClassAssociative::AGNT or p.associatedEntity.classCode = vocab::RoleClassAssociative::GUAR or p.associatedEntity.classCode = vocab::RoleClassAssociative::ECON or p.associatedEntity.isNullFlavorDefined() ) or p.associatedEntity.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(p : cda::Participant1 | p.typeCode = vocab::ParticipationType::IND and not ( p.associatedEntity.classCode = vocab::RoleClassAssociative::PRS or p.associatedEntity.classCode = vocab::RoleClassAssociative::NOK or p.associatedEntity.classCode = vocab::RoleClassAssociative::CAREGIVER or p.associatedEntity.classCode = vocab::RoleClassAssociative::AGNT or p.associatedEntity.classCode = vocab::RoleClassAssociative::GUAR or p.associatedEntity.classCode = vocab::RoleClassAssociative::ECON or p.associatedEntity.isNullFlavorDefined() ) or p.associatedEntity.oclIsUndefined())'" * @generated */ boolean validateHistoryAndPhysicalNote2ParticipantIfParTypeCodeINDThenAEClassCodeIND(DiagnosticChain diagnostics, @@ -459,7 +455,7 @@ boolean validateHistoryAndPhysicalNote2ParticipantIfParTypeCodeINDThenAEClassCod * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS( @@ -472,7 +468,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS( @@ -485,7 +481,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS( @@ -498,7 +494,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS( @@ -511,7 +507,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrOrganization( @@ -524,7 +520,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsib * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( @@ -537,7 +533,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsib * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrOrganization( @@ -550,7 +546,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounter * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity( @@ -563,7 +559,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounter * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterId(DiagnosticChain diagnostics, @@ -576,7 +572,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterId(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -589,7 +585,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEffective * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsibleParty(DiagnosticChain diagnostics, @@ -602,7 +598,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsib * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->exists(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->exists(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipant( @@ -615,7 +611,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounter * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(rim::Participation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(rim::Participation)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterLocation(DiagnosticChain diagnostics, @@ -628,7 +624,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterLocation( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -638,7 +634,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" * @generated */ AllergiesSectionEntriesOptional2 getAllergiesSectionEntriesOptional2(); @@ -647,7 +643,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -656,7 +652,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -665,7 +661,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" * @generated */ AssessmentAndPlanSection2 getAssessmentAndPlanSection2(); @@ -674,7 +670,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -683,7 +679,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -692,7 +688,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" * @generated */ GeneralStatusSection getGeneralStatusSection(); @@ -701,7 +697,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" * @generated */ HistoryOfPastIllnessSection2 getHistoryOfPastIllnessSection2(); @@ -710,7 +706,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -719,7 +715,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" * @generated */ ImmunizationsSectionEntriesOptional2 getImmunizationsSectionEntriesOptional2(); @@ -728,7 +724,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))->asSequence()->any(true).oclAsType(consol::InstructionsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))->asSequence()->any(true).oclAsType(consol::InstructionsSection2)'" * @generated */ InstructionsSection2 getInstructionsSection2(); @@ -737,7 +733,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional2)'" * @generated */ MedicationsSectionEntriesOptional2 getMedicationsSectionEntriesOptional2(); @@ -746,7 +742,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" * @generated */ PhysicalExamSection2 getPhysicalExamSection2(); @@ -755,7 +751,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional2)'" * @generated */ ProblemSectionEntriesOptional2 getProblemSectionEntriesOptional2(); @@ -764,7 +760,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" * @generated */ ProceduresSectionEntriesOptional2 getProceduresSectionEntriesOptional2(); @@ -773,7 +769,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -782,7 +778,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional2)'" * @generated */ ResultsSectionEntriesOptional2 getResultsSectionEntriesOptional2(); @@ -791,7 +787,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -800,7 +796,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); @@ -809,7 +805,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional2)'" * @generated */ VitalSignsSectionEntriesOptional2 getVitalSignsSectionEntriesOptional2(); @@ -818,7 +814,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" * @generated */ FamilyHistorySection2 getFamilyHistorySection2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection.java index 4e9ed8a1b9..f6a01baf50 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface HistoryOfPastIllnessSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.20\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.20\')'" * @generated */ boolean validateHistoryOfPastIllnessSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -97,7 +92,7 @@ public interface HistoryOfPastIllnessSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProblemObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProblemObservation))'" * @generated */ boolean validateHistoryOfPastIllnessSectionProblemObservation(DiagnosticChain diagnostics, @@ -107,7 +102,7 @@ boolean validateHistoryOfPastIllnessSectionProblemObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection2.java index 2b77a7b699..c0ebfa81de 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface HistoryOfPastIllnessSection2 extends HistoryOfPastIllnessSectio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.20\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.20\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateHistoryOfPastIllnessSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface HistoryOfPastIllnessSection2 extends HistoryOfPastIllnessSectio * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPresentIllnessSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPresentIllnessSection.java index 39d7ce92e3..60cffbc999 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPresentIllnessSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPresentIllnessSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface HistoryOfPresentIllnessSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.4\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.4\')'" * @generated */ boolean validateHistoryOfPresentIllnessSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis.java index 30a86edafc..73cbb23bb5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface HospitalAdmissionDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.34\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.34\')'" * @generated */ boolean validateHospitalAdmissionDiagnosisTemplateId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ public interface HospitalAdmissionDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateHospitalAdmissionDiagnosisProblemObservation(DiagnosticChain diagnostics, @@ -91,7 +86,7 @@ boolean validateHospitalAdmissionDiagnosisProblemObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis2.java index 2d77eb6c28..3c400ec443 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface HospitalAdmissionDiagnosis2 extends HospitalAdmissionDiagnosis * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.34\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.34\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateHospitalAdmissionDiagnosis2TemplateId(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface HospitalAdmissionDiagnosis2 extends HospitalAdmissionDiagnosis * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosisSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosisSection.java index e0ad7e63fe..4f41758314 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosisSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosisSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface HospitalAdmissionDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.43\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.43\')'" * @generated */ boolean validateHospitalAdmissionDiagnosisSectionTemplateId(DiagnosticChain diagnostics, @@ -97,7 +92,7 @@ boolean validateHospitalAdmissionDiagnosisSectionTemplateId(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HospitalAdmissionDiagnosis))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HospitalAdmissionDiagnosis))'" * @generated */ boolean validateHospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosis(DiagnosticChain diagnostics, @@ -107,7 +102,7 @@ boolean validateHospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosis(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionDiagnosis)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionDiagnosis)'" * @generated */ HospitalAdmissionDiagnosis getHospitalAdmissionDiagnosis(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionMedicationsSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionMedicationsSectionEntriesOptional.java index d3ddc480b9..5e514eaaca 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionMedicationsSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionMedicationsSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface HospitalAdmissionMedicationsSectionEntriesOptional extends Sect * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.44\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.44\')'" * @generated */ boolean validateHospitalAdmissionMedicationsSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -102,7 +97,7 @@ boolean validateHospitalAdmissionMedicationsSectionEntriesOptionalText(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::AdmissionMedication))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::AdmissionMedication))'" * @generated */ boolean validateHospitalAdmissionMedicationsSectionEntriesOptionalAdmissionMedication(DiagnosticChain diagnostics, @@ -112,7 +107,7 @@ boolean validateHospitalAdmissionMedicationsSectionEntriesOptionalAdmissionMedic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AdmissionMedication)).oclAsType(consol::AdmissionMedication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AdmissionMedication)).oclAsType(consol::AdmissionMedication)'" * @generated */ EList getAdmissionMedications(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalConsultationsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalConsultationsSection.java index 1125f42464..065838699a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalConsultationsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalConsultationsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface HospitalConsultationsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.42\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.42\')'" * @generated */ boolean validateHospitalConsultationsSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalCourseSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalCourseSection.java index 41e2424ae1..f4b8856992 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalCourseSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalCourseSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface HospitalCourseSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.5\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.5\')'" * @generated */ boolean validateHospitalCourseSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis.java index bcbbabbbcf..add537c114 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface HospitalDischargeDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateHospitalDischargeDiagnosisProblemObservation(DiagnosticChain diagnostics, @@ -46,7 +41,7 @@ boolean validateHospitalDischargeDiagnosisProblemObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.33\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.33\')'" * @generated */ boolean validateHospitalDischargeDiagnosisTemplateId(DiagnosticChain diagnostics, Map context); @@ -91,7 +86,7 @@ boolean validateHospitalDischargeDiagnosisProblemObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis2.java index 2a7fd944b0..37efb338cc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface HospitalDischargeDiagnosis2 extends HospitalDischargeDiagnosis * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.33\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.33\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateHospitalDischargeDiagnosis2TemplateId(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface HospitalDischargeDiagnosis2 extends HospitalDischargeDiagnosis * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosisSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosisSection.java index 9238e89110..f77c9a6a5d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosisSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosisSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface HospitalDischargeDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.24\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.24\')'" * @generated */ boolean validateHospitalDischargeDiagnosisSectionTemplateId(DiagnosticChain diagnostics, @@ -97,7 +92,7 @@ boolean validateHospitalDischargeDiagnosisSectionTemplateId(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HospitalDischargeDiagnosis))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HospitalDischargeDiagnosis))'" * @generated */ boolean validateHospitalDischargeDiagnosisSectionHospitalDischargeDiagnosis(DiagnosticChain diagnostics, @@ -107,7 +102,7 @@ boolean validateHospitalDischargeDiagnosisSectionHospitalDischargeDiagnosis(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalDischargeDiagnosis))->asSequence()->any(true).oclAsType(consol::HospitalDischargeDiagnosis)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalDischargeDiagnosis))->asSequence()->any(true).oclAsType(consol::HospitalDischargeDiagnosis)'" * @generated */ HospitalDischargeDiagnosis getHospitalDischargeDiagnosis(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeInstructionsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeInstructionsSection.java index bb7e10c26d..59fe3786e0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeInstructionsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeInstructionsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface HospitalDischargeInstructionsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.41\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.41\')'" * @generated */ boolean validateHospitalDischargeInstructionsSectionTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSection.java index 363916e5cc..7d076ff9d2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSection.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface HospitalDischargeMedicationsSection extends HospitalDischargeMe * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DischargeMedication)).oclAsType(consol::DischargeMedication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DischargeMedication)).oclAsType(consol::DischargeMedication)'" * @generated */ EList getConsolDischargeMedications(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSectionEntriesOptional.java index 22a9ee4e78..a7bbde011e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface HospitalDischargeMedicationsSectionEntriesOptional extends Sect * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.11\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.11\')'" * @generated */ boolean validateHospitalDischargeMedicationsSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -102,7 +97,7 @@ boolean validateHospitalDischargeMedicationsSectionEntriesOptionalText(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::DischargeMedication))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::DischargeMedication))'" * @generated */ boolean validateHospitalDischargeMedicationsSectionEntriesOptionalDischargeMedication(DiagnosticChain diagnostics, @@ -112,7 +107,7 @@ boolean validateHospitalDischargeMedicationsSectionEntriesOptionalDischargeMedic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DischargeMedication)).oclAsType(consol::DischargeMedication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DischargeMedication)).oclAsType(consol::DischargeMedication)'" * @generated */ EList getDischargeMedications(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargePhysicalSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargePhysicalSection.java index 5e739af6bc..a403abc32f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargePhysicalSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargePhysicalSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface HospitalDischargePhysicalSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.26\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.26\')'" * @generated */ boolean validateHospitalDischargePhysicalSectionTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeStudiesSummarySection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeStudiesSummarySection.java index 13f9deb45e..6cf7a5e386 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeStudiesSummarySection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeStudiesSummarySection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface HospitalDischargeStudiesSummarySection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.16\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.16\')'" * @generated */ boolean validateHospitalDischargeStudiesSummarySectionTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity.java index aa470ce52e..f6355d00b0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.SubstanceAdministration; /** @@ -53,7 +48,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateImmunizationActivityTextReference(DiagnosticChain diagnostics, Map context); @@ -65,7 +60,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateImmunizationActivityReferenceValue(DiagnosticChain diagnostics, Map context); @@ -101,7 +96,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateImmunizationActivityInstructionInversion(DiagnosticChain diagnostics, Map context); @@ -113,7 +108,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::DrugVehicle))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::CSM)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::DrugVehicle))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::CSM)'" * @generated */ boolean validateImmunizationActivityDrugVehicleTypeCode(DiagnosticChain diagnostics, Map context); @@ -125,7 +120,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.52\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.52\')'" * @generated */ boolean validateImmunizationActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -173,7 +168,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateImmunizationActivityId(DiagnosticChain diagnostics, Map context); @@ -221,7 +216,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (self.effectiveTime->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (self.effectiveTime->size() = 1)'" * @generated */ boolean validateImmunizationActivityEffectiveTime(DiagnosticChain diagnostics, Map context); @@ -269,7 +264,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.approachSiteCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.approachSiteCode->isEmpty()) )'" * @generated */ boolean validateImmunizationActivityApproachSiteCodeP(DiagnosticChain diagnostics, Map context); @@ -281,7 +276,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateImmunizationActivityApproachSiteCode(DiagnosticChain diagnostics, Map context); @@ -331,7 +326,7 @@ boolean validateImmunizationActivityAdministrationUnitCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::DrugVehicle))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::DrugVehicle))'" * @generated */ boolean validateImmunizationActivityDrugVehicle(DiagnosticChain diagnostics, Map context); @@ -343,7 +338,7 @@ boolean validateImmunizationActivityAdministrationUnitCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateImmunizationActivityIndication(DiagnosticChain diagnostics, Map context); @@ -355,7 +350,7 @@ boolean validateImmunizationActivityAdministrationUnitCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateImmunizationActivityInstructions(DiagnosticChain diagnostics, Map context); @@ -367,7 +362,7 @@ boolean validateImmunizationActivityAdministrationUnitCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationDispense) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationDispense) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateImmunizationActivityMedicationDispense(DiagnosticChain diagnostics, Map context); @@ -379,7 +374,7 @@ boolean validateImmunizationActivityAdministrationUnitCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" * @generated */ boolean validateImmunizationActivityReactionObservation(DiagnosticChain diagnostics, Map context); @@ -391,7 +386,7 @@ boolean validateImmunizationActivityAdministrationUnitCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ImmunizationRefusalReason) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ImmunizationRefusalReason) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateImmunizationActivityImmunizationRefusalReason(DiagnosticChain diagnostics, @@ -404,7 +399,7 @@ boolean validateImmunizationActivityImmunizationRefusalReason(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" * @generated */ boolean validateImmunizationActivityConsumable(DiagnosticChain diagnostics, Map context); @@ -416,7 +411,7 @@ boolean validateImmunizationActivityImmunizationRefusalReason(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->one(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->one(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateImmunizationActivityPerformer(DiagnosticChain diagnostics, Map context); @@ -428,7 +423,7 @@ boolean validateImmunizationActivityImmunizationRefusalReason(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationSupplyOrder) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationSupplyOrder) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateImmunizationActivityMedicationSupplyOrder(DiagnosticChain diagnostics, Map context); @@ -440,7 +435,7 @@ boolean validateImmunizationActivityImmunizationRefusalReason(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" * @generated */ boolean validateImmunizationActivityPrecondition(DiagnosticChain diagnostics, Map context); @@ -452,7 +447,7 @@ boolean validateImmunizationActivityImmunizationRefusalReason(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::ImmunizationMedicationInformation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::ImmunizationMedicationInformation)))'" * @generated */ boolean validateImmunizationActivityConsumableImmunizationMedicationInformation(DiagnosticChain diagnostics, @@ -465,7 +460,7 @@ boolean validateImmunizationActivityConsumableImmunizationMedicationInformation( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" * @generated */ boolean validateImmunizationActivityPreconditionTypeCode(DiagnosticChain diagnostics, Map context); @@ -477,7 +472,7 @@ boolean validateImmunizationActivityConsumableImmunizationMedicationInformation( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration)))'" * @generated */ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdministration(DiagnosticChain diagnostics, @@ -487,7 +482,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::DrugVehicle))->asSequence()->any(true).oclAsType(consol::DrugVehicle)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::DrugVehicle))->asSequence()->any(true).oclAsType(consol::DrugVehicle)'" * @generated */ DrugVehicle getDrugVehicle(); @@ -496,7 +491,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication))->asSequence()->any(true).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication))->asSequence()->any(true).oclAsType(consol::Indication)'" * @generated */ Indication getIndication(); @@ -505,7 +500,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" * @generated */ Instructions getInstructions(); @@ -514,7 +509,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense))->asSequence()->any(true).oclAsType(consol::MedicationDispense)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense))->asSequence()->any(true).oclAsType(consol::MedicationDispense)'" * @generated */ MedicationDispense getMedicationDispense(); @@ -523,7 +518,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation))->asSequence()->any(true).oclAsType(consol::ReactionObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation))->asSequence()->any(true).oclAsType(consol::ReactionObservation)'" * @generated */ ReactionObservation getReactionObservation(); @@ -532,7 +527,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ImmunizationRefusalReason))->asSequence()->any(true).oclAsType(consol::ImmunizationRefusalReason)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ImmunizationRefusalReason))->asSequence()->any(true).oclAsType(consol::ImmunizationRefusalReason)'" * @generated */ ImmunizationRefusalReason getImmunizationRefusalReason(); @@ -541,7 +536,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder)'" * @generated */ MedicationSupplyOrder getMedicationSupplyOrder(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity2.java index 96b7837d62..3fb4ce7f29 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -35,7 +31,7 @@ public interface ImmunizationActivity2 extends ImmunizationActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.52\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.52\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateImmunizationActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -59,7 +55,7 @@ public interface ImmunizationActivity2 extends ImmunizationActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateImmunizationActivity2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -71,7 +67,7 @@ public interface ImmunizationActivity2 extends ImmunizationActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->notEmpty()'" * @generated */ boolean validateImmunizationActivity2EntryRelationshipForSubAdminAct(DiagnosticChain diagnostics, @@ -84,7 +80,7 @@ boolean validateImmunizationActivity2EntryRelationshipForSubAdminAct(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateImmunizationActivity2EntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -97,7 +93,7 @@ boolean validateImmunizationActivity2EntryRelationshipTypeCode(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject(not inversionInd.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject(not inversionInd.oclIsUndefined())'" * @generated */ boolean validateImmunizationActivity2EntryRelationshipInversionInd(DiagnosticChain diagnostics, @@ -110,7 +106,7 @@ boolean validateImmunizationActivity2EntryRelationshipInversionInd(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject((sequenceNumber.oclIsUndefined() or sequenceNumber.isNullFlavorUndefined()) implies (not sequenceNumber.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject((sequenceNumber.oclIsUndefined() or sequenceNumber.isNullFlavorUndefined()) implies (not sequenceNumber.oclIsUndefined()))'" * @generated */ boolean validateImmunizationActivity2EntryRelationshipSequenceNumber(DiagnosticChain diagnostics, @@ -123,7 +119,7 @@ boolean validateImmunizationActivity2EntryRelationshipSequenceNumber(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::SubstanceAdministeredAct)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::SubstanceAdministeredAct)))'" * @generated */ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(DiagnosticChain diagnostics, @@ -136,7 +132,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validateImmunizationActivity2CETranslationP(DiagnosticChain diagnostics, Map context); @@ -148,7 +144,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" * @generated */ boolean validateImmunizationActivity2CETranslation(DiagnosticChain diagnostics, Map context); @@ -157,7 +153,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::DrugVehicle)).oclAsType(consol::DrugVehicle)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::DrugVehicle)).oclAsType(consol::DrugVehicle)'" * @generated */ EList getConsolDrugVehicles(); @@ -166,7 +162,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); @@ -175,7 +171,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder2))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder2))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder2)'" * @generated */ MedicationSupplyOrder2 getConsolMedicationSupplyOrder2(); @@ -184,7 +180,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense2))->asSequence()->any(true).oclAsType(consol::MedicationDispense2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense2))->asSequence()->any(true).oclAsType(consol::MedicationDispense2)'" * @generated */ MedicationDispense2 getConsolMedicationDispense2(); @@ -193,7 +189,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2))->asSequence()->any(true).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2))->asSequence()->any(true).oclAsType(consol::ReactionObservation2)'" * @generated */ ReactionObservation2 getConsolReactionObservation2(); @@ -202,7 +198,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getConsolInstruction2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation.java index 40c75ae5b1..3644be2f1f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ManufacturedProduct; /** @@ -33,7 +28,7 @@ public interface ImmunizationMedicationInformation extends ManufacturedProduct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.54\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.54\')'" * @generated */ boolean validateImmunizationMedicationInformationTemplateId(DiagnosticChain diagnostics, @@ -59,7 +54,7 @@ boolean validateImmunizationMedicationInformationClassCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())'" * @generated */ boolean validateImmunizationMedicationInformationId(DiagnosticChain diagnostics, Map context); @@ -71,7 +66,7 @@ boolean validateImmunizationMedicationInformationClassCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturerOrganization->one(manufacturerOrganization : cda::Organization | not manufacturerOrganization.oclIsUndefined() and manufacturerOrganization.oclIsKindOf(rim::Entity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturerOrganization->one(manufacturerOrganization : cda::Organization | not manufacturerOrganization.oclIsUndefined() and manufacturerOrganization.oclIsKindOf(rim::Entity))'" * @generated */ boolean validateImmunizationMedicationInformationManufacturerOrganization(DiagnosticChain diagnostics, @@ -84,7 +79,7 @@ boolean validateImmunizationMedicationInformationManufacturerOrganization(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->one(manufacturedMaterial : cda::Material | not manufacturedMaterial.oclIsUndefined() and manufacturedMaterial.oclIsKindOf(cda::Material))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->one(manufacturedMaterial : cda::Material | not manufacturedMaterial.oclIsUndefined() and manufacturedMaterial.oclIsKindOf(cda::Material))'" * @generated */ boolean validateImmunizationMedicationInformationManufacturedMaterial(DiagnosticChain diagnostics, @@ -97,7 +92,7 @@ boolean validateImmunizationMedicationInformationManufacturedMaterial(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1)'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeOriginalText( @@ -110,7 +105,7 @@ boolean validateImmunizationMedicationInformationImmunizationMedicationInformati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1 implies code.originalText->one(reference->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1 implies code.originalText->one(reference->size() = 1))'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialOriginalTextReference( @@ -123,7 +118,7 @@ boolean validateImmunizationMedicationInformationImmunizationMedicationInformati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText.reference->size() = 1 implies code.originalText.reference.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText.reference->size() = 1 implies code.originalText.reference.value->size() = 1)'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialTextReferenceValue( @@ -136,7 +131,7 @@ boolean validateImmunizationMedicationInformationImmunizationMedicationInformati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code->size() = 1 implies code.translation->size() > 0)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code->size() = 1 implies code.translation->size() > 0)'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeTranslation( @@ -149,7 +144,7 @@ boolean validateImmunizationMedicationInformationImmunizationMedicationInformati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.12.292\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.12.292\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCode( @@ -162,7 +157,7 @@ boolean validateImmunizationMedicationInformationImmunizationMedicationInformati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((lotNumberText.oclIsUndefined() or lotNumberText.isNullFlavorUndefined()) implies (not lotNumberText.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((lotNumberText.oclIsUndefined() or lotNumberText.isNullFlavorUndefined()) implies (not lotNumberText.oclIsUndefined()))'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialLotNumberText( diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation2.java index 907395c2e4..d4fb3fde6d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface ImmunizationMedicationInformation2 extends ImmunizationMedicati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.54\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.54\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateImmunizationMedicationInformation2TemplateId(DiagnosticChain diagnostics, @@ -45,7 +41,7 @@ boolean validateImmunizationMedicationInformation2TemplateId(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validateImmunizationMedicationInformation2ImmunizationMedicationInformationManufacturedMaterialCETranslationP( @@ -58,7 +54,7 @@ boolean validateImmunizationMedicationInformation2ImmunizationMedicationInformat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined())) )))'" * @generated */ boolean validateImmunizationMedicationInformation2ImmunizationMedicationInformationManufacturedMaterialCETranslation( @@ -71,7 +67,7 @@ boolean validateImmunizationMedicationInformation2ImmunizationMedicationInformat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(true)'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialOriginalTextReferenceValue( @@ -84,7 +80,7 @@ boolean validateImmunizationMedicationInformationImmunizationMedicationInformati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeP( diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationRefusalReason.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationRefusalReason.java index 39d8f021c2..c5ce6ccdb7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationRefusalReason.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationRefusalReason.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface ImmunizationRefusalReason extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.53\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.53\')'" * @generated */ boolean validateImmunizationRefusalReasonTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface ImmunizationRefusalReason extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateImmunizationRefusalReasonId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection.java index c528ab4e2b..19635c0859 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -79,7 +75,7 @@ public interface ImmunizationsSection extends ImmunizationsSectionEntriesOptiona * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity))'" * @generated */ boolean validateImmunizationsSectionImmunization(DiagnosticChain diagnostics, Map context); @@ -88,7 +84,7 @@ public interface ImmunizationsSection extends ImmunizationsSectionEntriesOptiona * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity)).oclAsType(consol::ImmunizationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity)).oclAsType(consol::ImmunizationActivity)'" * @generated */ EList getImmunizations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection2.java index d78b35ecc6..65692ffc5a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional.java index a70f481cd0..29057ad2a4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface ImmunizationsSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.2\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.2\')'" * @generated */ boolean validateImmunizationsSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -94,7 +89,7 @@ boolean validateImmunizationsSectionEntriesOptionalTemplateId(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity))'" * @generated */ boolean validateImmunizationsSectionEntriesOptionalImmunizationActivity(DiagnosticChain diagnostics, @@ -104,7 +99,7 @@ boolean validateImmunizationsSectionEntriesOptionalImmunizationActivity(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity)).oclAsType(consol::ImmunizationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity)).oclAsType(consol::ImmunizationActivity)'" * @generated */ EList getImmunizationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional2.java index 22b34e5334..2dbf987497 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface ImmunizationsSectionEntriesOptional2 extends ImmunizationsSecti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2)).oclAsType(consol::ImmunizationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2)).oclAsType(consol::ImmunizationActivity2)'" * @generated */ EList getConsolImmunizationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication.java index 384a93ff11..34c8e1311f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface Indication extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.nullFlavor->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.nullFlavor->size() = 1'" * @generated */ boolean validateIndicationCodeNullFlavor(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface Indication extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.19\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.19\')'" * @generated */ boolean validateIndicationTemplateId(DiagnosticChain diagnostics, Map context); @@ -80,7 +75,7 @@ public interface Indication extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" * @generated */ boolean validateIndicationId(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface Indication extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateIndicationValue(DiagnosticChain diagnostics, Map context); @@ -152,7 +147,7 @@ public interface Indication extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateIndicationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication2.java index 27f37e52ab..3996706501 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -54,7 +50,7 @@ public interface Indication2 extends Indication { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.19\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.19\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateIndication2TemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instruction2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instruction2.java index 10bb2e9b2d..8cf773f6b8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instruction2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instruction2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface Instruction2 extends Instructions { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.20\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.20\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateInstruction2TemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instructions.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instructions.java index afb687593f..48f2548f88 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instructions.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instructions.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -32,7 +27,7 @@ public interface Instructions extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateInstructionsTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface Instructions extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateInstructionsReferenceValue(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface Instructions extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.20\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.20\')'" * @generated */ boolean validateInstructionsTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection.java index efd27694f6..6fc41ffc2a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface InstructionsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.45\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.45\')'" * @generated */ boolean validateInstructionsSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface InstructionsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::Instructions))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::Instructions))'" * @generated */ boolean validateInstructionsSectionInstructions(DiagnosticChain diagnostics, Map context); @@ -102,7 +97,7 @@ public interface InstructionsSection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions)).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions)).oclAsType(consol::Instructions)'" * @generated */ EList getInstructionss(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection2.java index 9dca290ccf..db3ba71182 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface InstructionsSection2 extends InstructionsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.45\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.45\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateInstructionsSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface InstructionsSection2 extends InstructionsSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getConsolInstruction2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionAct.java index f9e086a4de..2c0825e311 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -34,7 +29,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.131\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.131\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validateInterventionActTemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateInterventionActId(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::InterventionAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::InterventionAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActInterventionAct(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::NutritionRecommendation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::NutritionRecommendation))'" * @generated */ boolean validateInterventionActNutritionRecommendation(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActInterventionEntryReference(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateInterventionActGoalObsEntryReference(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateInterventionActAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -202,7 +197,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AdvanceDirectiveObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AdvanceDirectiveObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActAdvanceDirectiveObservation2(DiagnosticChain diagnostics, @@ -215,7 +210,7 @@ boolean validateInterventionActAdvanceDirectiveObservation2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActImmunizationActivity2(DiagnosticChain diagnostics, Map context); @@ -227,7 +222,7 @@ boolean validateInterventionActAdvanceDirectiveObservation2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActMedicationActivity2(DiagnosticChain diagnostics, Map context); @@ -239,7 +234,7 @@ boolean validateInterventionActAdvanceDirectiveObservation2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProcedureActivityAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProcedureActivityAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActProcedureActivityAct2(DiagnosticChain diagnostics, Map context); @@ -251,7 +246,7 @@ boolean validateInterventionActAdvanceDirectiveObservation2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProcedureActivityObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProcedureActivityObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActProcedureActivityObservation2(DiagnosticChain diagnostics, @@ -264,7 +259,7 @@ boolean validateInterventionActProcedureActivityObservation2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActProcedureActivityProcedure2(DiagnosticChain diagnostics, @@ -277,7 +272,7 @@ boolean validateInterventionActProcedureActivityProcedure2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::EncounterActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::EncounterActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActEncounterActivity2(DiagnosticChain diagnostics, Map context); @@ -289,7 +284,7 @@ boolean validateInterventionActProcedureActivityProcedure2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActNonMedicinalSupplyActivity2(DiagnosticChain diagnostics, @@ -302,7 +297,7 @@ boolean validateInterventionActNonMedicinalSupplyActivity2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActInstruction2(DiagnosticChain diagnostics, Map context); @@ -314,7 +309,7 @@ boolean validateInterventionActNonMedicinalSupplyActivity2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HandoffCommunicationParticipants) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HandoffCommunicationParticipants) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActHandoffCommunicationParticipants(DiagnosticChain diagnostics, @@ -327,7 +322,7 @@ boolean validateInterventionActHandoffCommunicationParticipants(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedInterventionAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedInterventionAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActPlannedInterventionAct(DiagnosticChain diagnostics, Map context); @@ -339,7 +334,7 @@ boolean validateInterventionActHandoffCommunicationParticipants(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validateInterventionActReference(DiagnosticChain diagnostics, Map context); @@ -351,7 +346,7 @@ boolean validateInterventionActHandoffCommunicationParticipants(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validateInterventionActReferenceTypeCode(DiagnosticChain diagnostics, Map context); @@ -363,7 +358,7 @@ boolean validateInterventionActHandoffCommunicationParticipants(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" * @generated */ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChain diagnostics, @@ -373,7 +368,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::InterventionAct)).oclAsType(consol::InterventionAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::InterventionAct)).oclAsType(consol::InterventionAct)'" * @generated */ EList getInterventionActs(); @@ -382,7 +377,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::NutritionRecommendation)).oclAsType(consol::NutritionRecommendation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::NutritionRecommendation)).oclAsType(consol::NutritionRecommendation)'" * @generated */ EList getNutritionRecommendations(); @@ -391,7 +386,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getInterventionEntryReferences(); @@ -400,7 +395,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" * @generated */ EList getAdvanceDirectiveObservation2s(); @@ -409,7 +404,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2)).oclAsType(consol::ImmunizationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2)).oclAsType(consol::ImmunizationActivity2)'" * @generated */ EList getImmunizationActivity2s(); @@ -418,7 +413,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getMedicationActivity2s(); @@ -427,7 +422,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)).oclAsType(consol::ProcedureActivityAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)).oclAsType(consol::ProcedureActivityAct2)'" * @generated */ EList getProcedureActivityAct2s(); @@ -436,7 +431,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)).oclAsType(consol::ProcedureActivityObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)).oclAsType(consol::ProcedureActivityObservation2)'" * @generated */ EList getProcedureActivityObservation2s(); @@ -445,7 +440,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getProcedureActivityProcedure2s(); @@ -454,7 +449,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivity2)).oclAsType(consol::EncounterActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivity2)).oclAsType(consol::EncounterActivity2)'" * @generated */ EList getEncounterActivity2s(); @@ -463,7 +458,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" * @generated */ EList getNonMedicinalSupplyActivity2s(); @@ -472,7 +467,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); @@ -481,7 +476,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" * @generated */ EList getHandoffCommunicationParticipantss(); @@ -490,7 +485,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedInterventionAct)).oclAsType(consol::PlannedInterventionAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedInterventionAct)).oclAsType(consol::PlannedInterventionAct)'" * @generated */ EList getPlannedInterventionActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection.java index b2d4441bc8..df77039376 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface InterventionsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.3\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.3\')'" * @generated */ boolean validateInterventionsSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection2.java index 55917628b9..4a0081491d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface InterventionsSection2 extends InterventionsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.3\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.3\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateInterventionsSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface InterventionsSection2 extends InterventionsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::InterventionAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::InterventionAct))'" * @generated */ boolean validateInterventionsSection2InterventionAct(DiagnosticChain diagnostics, Map context); @@ -55,7 +51,7 @@ public interface InterventionsSection2 extends InterventionsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HandoffCommunicationParticipants))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HandoffCommunicationParticipants))'" * @generated */ boolean validateInterventionsSection2HandoffCommunication(DiagnosticChain diagnostics, Map context); @@ -67,7 +63,7 @@ public interface InterventionsSection2 extends InterventionsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PlannedInterventionAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PlannedInterventionAct))'" * @generated */ boolean validateInterventionsSection2PlannedInterventionAct(DiagnosticChain diagnostics, @@ -77,7 +73,7 @@ boolean validateInterventionsSection2PlannedInterventionAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::InterventionAct)).oclAsType(consol::InterventionAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::InterventionAct)).oclAsType(consol::InterventionAct)'" * @generated */ EList getInterventionActs(); @@ -86,7 +82,7 @@ boolean validateInterventionsSection2PlannedInterventionAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" * @generated */ EList getHandoffCommunications(); @@ -95,7 +91,7 @@ boolean validateInterventionsSection2PlannedInterventionAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedInterventionAct)).oclAsType(consol::PlannedInterventionAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedInterventionAct)).oclAsType(consol::PlannedInterventionAct)'" * @generated */ EList getPlannedInterventionActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/LongitudinalCareWoundObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/LongitudinalCareWoundObservation.java index fb787567e9..d3c3e74683 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/LongitudinalCareWoundObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/LongitudinalCareWoundObservation.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -82,7 +78,7 @@ public interface LongitudinalCareWoundObservation extends ProblemObservation2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (not self.value->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (not self.value->isEmpty())'" * @generated */ boolean validateLongitudinalCareWoundObservationValueP(DiagnosticChain diagnostics, Map context); @@ -94,7 +90,7 @@ public interface LongitudinalCareWoundObservation extends ProblemObservation2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateLongitudinalCareWoundObservationValue(DiagnosticChain diagnostics, Map context); @@ -106,7 +102,7 @@ public interface LongitudinalCareWoundObservation extends ProblemObservation2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.targetSiteCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.targetSiteCode->isEmpty()) )'" * @generated */ boolean validateLongitudinalCareWoundObservationTargetSiteCodeP(DiagnosticChain diagnostics, @@ -119,7 +115,7 @@ boolean validateLongitudinalCareWoundObservationTargetSiteCodeP(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateLongitudinalCareWoundObservationTargetSiteCode(DiagnosticChain diagnostics, @@ -132,7 +128,7 @@ boolean validateLongitudinalCareWoundObservationTargetSiteCode(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::WoundMeasurementObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::WoundMeasurementObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateLongitudinalCareWoundObservationWoundMeasurementObservation(DiagnosticChain diagnostics, @@ -145,7 +141,7 @@ boolean validateLongitudinalCareWoundObservationWoundMeasurementObservation(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::WoundCharacteristic) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::WoundCharacteristic) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateLongitudinalCareWoundObservationWoundCharacteristics(DiagnosticChain diagnostics, @@ -158,7 +154,7 @@ boolean validateLongitudinalCareWoundObservationWoundCharacteristics(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::HighestPressureUlcerStage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::HighestPressureUlcerStage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateLongitudinalCareWoundObservationHighestPressureUlcerStage(DiagnosticChain diagnostics, @@ -171,7 +167,7 @@ boolean validateLongitudinalCareWoundObservationHighestPressureUlcerStage(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateLongitudinalCareWoundObservationAuthorParticipation(DiagnosticChain diagnostics, @@ -184,7 +180,7 @@ boolean validateLongitudinalCareWoundObservationAuthorParticipation(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateLongitudinalCareWoundObservationNumberOfPressureUlcersObservation2(DiagnosticChain diagnostics, @@ -197,7 +193,7 @@ boolean validateLongitudinalCareWoundObservationNumberOfPressureUlcersObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined()).value->excluding(null)->select(isNullFlavorUndefined())->reject(code = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined()).value->excluding(null)->select(isNullFlavorUndefined())->reject(code = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validateLongitudinalCareWoundObservationCDCRCDValueTerminology(DiagnosticChain diagnostics, @@ -210,7 +206,7 @@ boolean validateLongitudinalCareWoundObservationCDCRCDValueTerminology(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined()).value->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined()).value->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateLongitudinalCareWoundObservationCDCRCDCode(DiagnosticChain diagnostics, @@ -223,7 +219,7 @@ boolean validateLongitudinalCareWoundObservationCDCRCDCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined() and name.oclIsKindOf(datatypes::CV) and \r\nlet value : datatypes::CV = name.oclAsType(datatypes::CV) in \r\nvalue.code = \'272741003\') )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined() and name.oclIsKindOf(datatypes::CV) and \r\nlet value : datatypes::CV = name.oclAsType(datatypes::CV) in \r\nvalue.code = \'272741003\') )))'" * @generated */ boolean validateLongitudinalCareWoundObservationCDCRName(DiagnosticChain diagnostics, Map context); @@ -235,7 +231,7 @@ boolean validateLongitudinalCareWoundObservationCDCRCDCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined()) )))'" * @generated */ boolean validateLongitudinalCareWoundObservationCDCRNameP(DiagnosticChain diagnostics, Map context); @@ -247,7 +243,7 @@ boolean validateLongitudinalCareWoundObservationCDCRCDCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((value.oclIsUndefined() or value.isNullFlavorUndefined()) implies (not value.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((value.oclIsUndefined() or value.isNullFlavorUndefined()) implies (not value.oclIsUndefined()) )))'" * @generated */ boolean validateLongitudinalCareWoundObservationCDCRValue(DiagnosticChain diagnostics, Map context); @@ -259,7 +255,7 @@ boolean validateLongitudinalCareWoundObservationCDCRCDCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((qualifier->isEmpty() or qualifier->exists(element | element.isNullFlavorUndefined())) implies (not qualifier->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((qualifier->isEmpty() or qualifier->exists(element | element.isNullFlavorUndefined())) implies (not qualifier->isEmpty()) )))'" * @generated */ boolean validateLongitudinalCareWoundObservationCDQualifier(DiagnosticChain diagnostics, @@ -269,7 +265,7 @@ boolean validateLongitudinalCareWoundObservationCDQualifier(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::WoundMeasurementObservation)).oclAsType(consol::WoundMeasurementObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::WoundMeasurementObservation)).oclAsType(consol::WoundMeasurementObservation)'" * @generated */ EList getWoundMeasurementObservations(); @@ -278,7 +274,7 @@ boolean validateLongitudinalCareWoundObservationCDQualifier(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::WoundCharacteristic)).oclAsType(consol::WoundCharacteristic)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::WoundCharacteristic)).oclAsType(consol::WoundCharacteristic)'" * @generated */ EList getWoundCharacteristicss(); @@ -287,7 +283,7 @@ boolean validateLongitudinalCareWoundObservationCDQualifier(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage))->asSequence()->any(true).oclAsType(consol::HighestPressureUlcerStage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage))->asSequence()->any(true).oclAsType(consol::HighestPressureUlcerStage)'" * @generated */ HighestPressureUlcerStage getHighestPressureUlcerStage(); @@ -296,7 +292,7 @@ boolean validateLongitudinalCareWoundObservationCDQualifier(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation2)).oclAsType(consol::NumberOfPressureUlcersObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation2)).oclAsType(consol::NumberOfPressureUlcersObservation2)'" * @generated */ EList getNumberOfPressureUlcersObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentOrganizer.java index ff7d51e347..f4593132be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentOrganizer.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Organizer; /** @@ -34,7 +29,7 @@ public interface MedicalEquipmentOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.supply.oclIsUndefined() and component.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)) or self.component->exists(component : cda::Component4 | not component.procedure.oclIsUndefined() and component.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.supply.oclIsUndefined() and component.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)) or self.component->exists(component : cda::Component4 | not component.procedure.oclIsUndefined() and component.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2))'" * @generated */ boolean validateMedicalEquipmentOrganizerHasNonMedSupActOrProcActProc(DiagnosticChain diagnostics, @@ -47,7 +42,7 @@ boolean validateMedicalEquipmentOrganizerHasNonMedSupActOrProcActProc(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.135\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.135\')'" * @generated */ boolean validateMedicalEquipmentOrganizerTemplateId(DiagnosticChain diagnostics, Map context); @@ -83,7 +78,7 @@ boolean validateMedicalEquipmentOrganizerHasNonMedSupActOrProcActProc(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateMedicalEquipmentOrganizerId(DiagnosticChain diagnostics, Map context); @@ -143,7 +138,7 @@ boolean validateMedicalEquipmentOrganizerHasNonMedSupActOrProcActProc(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.supply.oclIsUndefined() and component.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.supply.oclIsUndefined() and component.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2))'" * @generated */ boolean validateMedicalEquipmentOrganizerNonMedicinalSupplyActivity2(DiagnosticChain diagnostics, @@ -156,7 +151,7 @@ boolean validateMedicalEquipmentOrganizerNonMedicinalSupplyActivity2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.procedure.oclIsUndefined() and component.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.procedure.oclIsUndefined() and component.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2))'" * @generated */ boolean validateMedicalEquipmentOrganizerProcedureActivityProcedure2(DiagnosticChain diagnostics, @@ -169,7 +164,7 @@ boolean validateMedicalEquipmentOrganizerProcedureActivityProcedure2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateMedicalEquipmentOrganizerIVLTSLow(DiagnosticChain diagnostics, Map context); @@ -181,7 +176,7 @@ boolean validateMedicalEquipmentOrganizerProcedureActivityProcedure2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateMedicalEquipmentOrganizerIVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ boolean validateMedicalEquipmentOrganizerProcedureActivityProcedure2(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" * @generated */ EList getNonMedicinalSupplyActivity2s(); @@ -199,7 +194,7 @@ boolean validateMedicalEquipmentOrganizerProcedureActivityProcedure2(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getProcedureActivityProcedure2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection.java index 743dad6b62..f2b638e6a0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface MedicalEquipmentSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.23\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.23\')'" * @generated */ boolean validateMedicalEquipmentSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface MedicalEquipmentSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.supply.oclIsUndefined() and entry.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.supply.oclIsUndefined() and entry.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity))'" * @generated */ boolean validateMedicalEquipmentSectionNonMedicinalSupplyActivity(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validateMedicalEquipmentSectionNonMedicinalSupplyActivity(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ EList getNonMedicinalSupplyActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection2.java index c4681bbbaf..0d21b9be2d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface MedicalEquipmentSection2 extends MedicalEquipmentSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.23\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.23\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMedicalEquipmentSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface MedicalEquipmentSection2 extends MedicalEquipmentSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::MedicalEquipmentOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::MedicalEquipmentOrganizer))'" * @generated */ boolean validateMedicalEquipmentSection2MedicalEquipmentOrganizer(DiagnosticChain diagnostics, @@ -56,7 +52,7 @@ boolean validateMedicalEquipmentSection2MedicalEquipmentOrganizer(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2))'" * @generated */ boolean validateMedicalEquipmentSection2ProcedureActivityProcedure2(DiagnosticChain diagnostics, @@ -66,7 +62,7 @@ boolean validateMedicalEquipmentSection2ProcedureActivityProcedure2(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" * @generated */ EList getConsolNonMedicinalSupplyActivity2s(); @@ -75,7 +71,7 @@ boolean validateMedicalEquipmentSection2ProcedureActivityProcedure2(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::MedicalEquipmentOrganizer)).oclAsType(consol::MedicalEquipmentOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::MedicalEquipmentOrganizer)).oclAsType(consol::MedicalEquipmentOrganizer)'" * @generated */ EList getMedicalEquipmentOrganizers(); @@ -84,7 +80,7 @@ boolean validateMedicalEquipmentSection2ProcedureActivityProcedure2(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getProcedureActivityProcedure2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalHistorySection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalHistorySection.java index b510396a40..c9308b2f53 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalHistorySection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalHistorySection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface MedicalHistorySection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.39\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.39\')'" * @generated */ boolean validateMedicalHistorySectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity.java index 7d0aab33b7..75080d2ec4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.SubstanceAdministration; /** @@ -35,7 +30,7 @@ public interface MedicationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->size() = 1 or self.rateQuantity->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->size() = 1 or self.rateQuantity->size() = 1'" * @generated */ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain diagnostics, @@ -48,7 +43,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateMedicationActivityTextReference(DiagnosticChain diagnostics, Map context); @@ -60,7 +55,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateMedicationActivityReferenceValue(DiagnosticChain diagnostics, Map context); @@ -84,7 +79,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->size() = 1 xor self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->size() = 1 xor self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->size() = 1'" * @generated */ boolean validateMedicationActivityEffectiveTimeIVLTSorTS(DiagnosticChain diagnostics, Map context); @@ -96,7 +91,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1)'" * @generated */ boolean validateMedicationActivityEffectiveTimeIVLTSLow(DiagnosticChain diagnostics, Map context); @@ -108,7 +103,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).high->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).high->size() = 1)'" * @generated */ boolean validateMedicationActivityEffectiveTimeIVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -120,7 +115,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes:: SXCM_TS))->forAll( eff | eff.oclAsType(datatypes:: SXCM_TS).value->size() = 1 or eff.oclAsType(datatypes:: SXCM_TS).isNullFlavorDefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes:: SXCM_TS))->forAll( eff | eff.oclAsType(datatypes:: SXCM_TS).value->size() = 1 or eff.oclAsType(datatypes:: SXCM_TS).isNullFlavorDefined())'" * @generated */ boolean validateMedicationActivityEffectiveTimeTSValue(DiagnosticChain diagnostics, Map context); @@ -132,7 +127,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::PIVL_TS) or ef.oclIsTypeOf(datatypes::EIVL_TS))->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::PIVL_TS) or ef.oclIsTypeOf(datatypes::EIVL_TS))->size() = 1'" * @generated */ boolean validateMedicationActivityEffectiveTimePIVLTS(DiagnosticChain diagnostics, Map context); @@ -144,7 +139,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::PIVL_TS) or ef.oclIsTypeOf(datatypes::EIVL_TS))->forAll(eff | eff.operator = vocab::SetOperator::A and eff.operator->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::PIVL_TS) or ef.oclIsTypeOf(datatypes::EIVL_TS))->forAll(eff | eff.operator = vocab::SetOperator::A and eff.operator->size() = 1)'" * @generated */ boolean validateMedicationActivityEffectiveTimeOperator(DiagnosticChain diagnostics, Map context); @@ -168,7 +163,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::DrugVehicle))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::CSM)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::DrugVehicle))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::CSM)'" * @generated */ boolean validateMedicationActivityDrugVehicleTypeCode(DiagnosticChain diagnostics, Map context); @@ -180,7 +175,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagnostics, @@ -193,7 +188,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.rateQuantity.oclIsUndefined() implies self.rateQuantity.oclAsType(datatypes::PQ).unit->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.rateQuantity.oclIsUndefined() implies self.rateQuantity.oclAsType(datatypes::PQ).unit->size() = 1'" * @generated */ boolean validateMedicationActivityRateQuantityUnit(DiagnosticChain diagnostics, Map context); @@ -205,7 +200,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.16\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.16\')'" * @generated */ boolean validateMedicationActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -241,7 +236,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateMedicationActivityId(DiagnosticChain diagnostics, Map context); @@ -301,7 +296,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.approachSiteCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.approachSiteCode->isEmpty()) )'" * @generated */ boolean validateMedicationActivityApproachSiteCodeP(DiagnosticChain diagnostics, Map context); @@ -313,7 +308,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateMedicationActivityApproachSiteCode(DiagnosticChain diagnostics, Map context); @@ -409,7 +404,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationSupplyOrder) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationSupplyOrder) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateMedicationActivityMedicationSupplyOrder(DiagnosticChain diagnostics, Map context); @@ -421,7 +416,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" * @generated */ boolean validateMedicationActivityReactionObservation(DiagnosticChain diagnostics, Map context); @@ -433,7 +428,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->one(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->one(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateMedicationActivityPerformer(DiagnosticChain diagnostics, Map context); @@ -445,7 +440,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateMedicationActivityInstructions(DiagnosticChain diagnostics, Map context); @@ -457,7 +452,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateMedicationActivityIndication(DiagnosticChain diagnostics, Map context); @@ -469,7 +464,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationDispense) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationDispense) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateMedicationActivityMedicationDispense(DiagnosticChain diagnostics, Map context); @@ -481,7 +476,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::DrugVehicle))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::DrugVehicle))'" * @generated */ boolean validateMedicationActivityDrugVehicle(DiagnosticChain diagnostics, Map context); @@ -493,7 +488,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" * @generated */ boolean validateMedicationActivityConsumable(DiagnosticChain diagnostics, Map context); @@ -505,7 +500,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" * @generated */ boolean validateMedicationActivityPrecondition(DiagnosticChain diagnostics, Map context); @@ -517,7 +512,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::MedicationInformation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::MedicationInformation)))'" * @generated */ boolean validateMedicationActivityConsumableMedicationInformation(DiagnosticChain diagnostics, @@ -530,7 +525,7 @@ boolean validateMedicationActivityConsumableMedicationInformation(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" * @generated */ boolean validateMedicationActivityPreconditionTypeCode(DiagnosticChain diagnostics, Map context); @@ -542,7 +537,7 @@ boolean validateMedicationActivityConsumableMedicationInformation(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration)))'" * @generated */ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministration(DiagnosticChain diagnostics, @@ -552,7 +547,7 @@ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministra * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder)'" * @generated */ MedicationSupplyOrder getMedicationSupplyOrder(); @@ -561,7 +556,7 @@ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministra * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation))->asSequence()->any(true).oclAsType(consol::ReactionObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation))->asSequence()->any(true).oclAsType(consol::ReactionObservation)'" * @generated */ ReactionObservation getReactionObservation(); @@ -570,7 +565,7 @@ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministra * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" * @generated */ Instructions getInstructions(); @@ -579,7 +574,7 @@ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministra * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" * @generated */ EList getIndications(); @@ -588,7 +583,7 @@ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministra * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense)).oclAsType(consol::MedicationDispense)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense)).oclAsType(consol::MedicationDispense)'" * @generated */ EList getMedicationDispenses(); @@ -597,7 +592,7 @@ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministra * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::DrugVehicle)).oclAsType(consol::DrugVehicle)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::DrugVehicle)).oclAsType(consol::DrugVehicle)'" * @generated */ EList getDrugVehicles(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity2.java index 4a728f313f..5a5fd5460d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -34,7 +30,7 @@ public interface MedicationActivity2 extends MedicationActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::SubstanceAdministeredAct))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::SubstanceAdministeredAct))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateMedicationActivity2SubstanceAdministeredActInversionInd(DiagnosticChain diagnostics, @@ -47,7 +43,7 @@ boolean validateMedicationActivity2SubstanceAdministeredActInversionInd(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::SubstanceAdministeredAct))->forAll(ent : cda::EntryRelationship | not ent.sequenceNumber.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::SubstanceAdministeredAct))->forAll(ent : cda::EntryRelationship | not ent.sequenceNumber.oclIsUndefined())'" * @generated */ boolean validateMedicationActivity2SubstanceAdministeredActSequenceNumber(DiagnosticChain diagnostics, @@ -60,7 +56,7 @@ boolean validateMedicationActivity2SubstanceAdministeredActSequenceNumber(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1) ) and ( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->forAll( eff | eff.oclAsType(datatypes:: SXCM_TS).value->size() = 1 or eff.oclAsType(datatypes::SXCM_TS).isNullFlavorDefined()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1) ) and ( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->forAll( eff | eff.oclAsType(datatypes:: SXCM_TS).value->size() = 1 or eff.oclAsType(datatypes::SXCM_TS).isNullFlavorDefined()) )'" * @generated */ boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue(DiagnosticChain diagnostics, @@ -73,7 +69,7 @@ boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.16\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.16\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMedicationActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -97,7 +93,7 @@ boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::DrugMonitoringAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::DrugMonitoringAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateMedicationActivity2DrugMonitoringAct(DiagnosticChain diagnostics, Map context); @@ -109,7 +105,7 @@ boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateMedicationActivity2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -121,7 +117,7 @@ boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::SubstanceAdministeredAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::SubstanceAdministeredAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diagnostics, @@ -134,7 +130,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationFreeTextSig) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationFreeTextSig) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateMedicationActivity2MedicationFreeTextSig(DiagnosticChain diagnostics, Map context); @@ -146,7 +142,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validateMedicationActivity2CETranslationP(DiagnosticChain diagnostics, Map context); @@ -158,7 +154,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" * @generated */ boolean validateMedicationActivity2CETranslation(DiagnosticChain diagnostics, Map context); @@ -167,7 +163,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DrugMonitoringAct))->asSequence()->any(true).oclAsType(consol::DrugMonitoringAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DrugMonitoringAct))->asSequence()->any(true).oclAsType(consol::DrugMonitoringAct)'" * @generated */ DrugMonitoringAct getDrugMonitoringAct(); @@ -176,7 +172,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getConsolInstruction2(); @@ -185,7 +181,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::SubstanceAdministeredAct)).oclAsType(consol::SubstanceAdministeredAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::SubstanceAdministeredAct)).oclAsType(consol::SubstanceAdministeredAct)'" * @generated */ EList getSubstanceAdministeredActs(); @@ -194,7 +190,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); @@ -203,7 +199,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder2))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder2))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder2)'" * @generated */ MedicationSupplyOrder2 getConsolMedicationSupplyOrder2(); @@ -212,7 +208,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense2)).oclAsType(consol::MedicationDispense2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense2)).oclAsType(consol::MedicationDispense2)'" * @generated */ EList getConsolMedicationDispense2s(); @@ -221,7 +217,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2))->asSequence()->any(true).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2))->asSequence()->any(true).oclAsType(consol::ReactionObservation2)'" * @generated */ ReactionObservation2 getConsolReactionObservation2(); @@ -230,7 +226,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationFreeTextSig)).oclAsType(consol::MedicationFreeTextSig)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationFreeTextSig)).oclAsType(consol::MedicationFreeTextSig)'" * @generated */ EList getMedicationFreeTextSigs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense.java index 2746c0da11..b876e00f12 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Supply; /** @@ -47,7 +42,7 @@ boolean validateMedicationDispenseContainsMedicationOrImmunization(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.18\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.18\')'" * @generated */ boolean validateMedicationDispenseTemplateId(DiagnosticChain diagnostics, Map context); @@ -71,7 +66,7 @@ boolean validateMedicationDispenseContainsMedicationOrImmunization(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" * @generated */ boolean validateMedicationDispenseEffectiveTime(DiagnosticChain diagnostics, Map context); @@ -83,7 +78,7 @@ boolean validateMedicationDispenseContainsMedicationOrImmunization(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateMedicationDispenseId(DiagnosticChain diagnostics, Map context); @@ -143,7 +138,7 @@ boolean validateMedicationDispenseContainsMedicationOrImmunization(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationSupplyOrder) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationSupplyOrder) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateMedicationDispenseMedicationSupplyOrder(DiagnosticChain diagnostics, Map context); @@ -155,7 +150,7 @@ boolean validateMedicationDispenseContainsMedicationOrImmunization(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->one(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->one(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" * @generated */ boolean validateMedicationDispensePerformer(DiagnosticChain diagnostics, Map context); @@ -167,7 +162,7 @@ boolean validateMedicationDispenseContainsMedicationOrImmunization(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -180,7 +175,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -193,7 +188,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -206,7 +201,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -219,7 +214,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -232,7 +227,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -245,7 +240,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -258,7 +253,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -271,7 +266,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -284,7 +279,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -297,7 +292,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityAddr(DiagnosticChain diagnostics, @@ -310,7 +305,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityAddr( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntity(DiagnosticChain diagnostics, @@ -320,7 +315,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntity(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder)'" * @generated */ MedicationSupplyOrder getMedicationSupplyOrder(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense2.java index 020236a247..cd295b9aa5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -56,7 +52,7 @@ boolean validateMedicationDispense2ContainsImmunizationMedicationInformation2(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.18\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.18\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMedicationDispense2TemplateId(DiagnosticChain diagnostics, Map context); @@ -77,7 +73,7 @@ boolean validateMedicationDispense2ContainsImmunizationMedicationInformation2(Di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder2))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder2))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder2)'" * @generated */ MedicationSupplyOrder2 getConsolMedicationSupplyOrder2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationFreeTextSig.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationFreeTextSig.java index 030a071aa7..5b70e606ff 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationFreeTextSig.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationFreeTextSig.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.SubstanceAdministration; /** @@ -49,7 +44,7 @@ public interface MedicationFreeTextSig extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.147\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.147\')'" * @generated */ boolean validateMedicationFreeTextSigTemplateId(DiagnosticChain diagnostics, Map context); @@ -121,7 +116,7 @@ public interface MedicationFreeTextSig extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" * @generated */ boolean validateMedicationFreeTextSigConsumable(DiagnosticChain diagnostics, Map context); @@ -133,7 +128,7 @@ public interface MedicationFreeTextSig extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->excluding(null)->select(isNullFlavorUndefined()).reference->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not value.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->excluding(null)->select(isNullFlavorUndefined()).reference->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not value.oclIsUndefined() )))'" * @generated */ boolean validateMedicationFreeTextSigEDTELValue(DiagnosticChain diagnostics, Map context); @@ -145,7 +140,7 @@ public interface MedicationFreeTextSig extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((reference.oclIsUndefined() or reference.isNullFlavorUndefined()) implies (not reference.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((reference.oclIsUndefined() or reference.isNullFlavorUndefined()) implies (not reference.oclIsUndefined()) )))'" * @generated */ boolean validateMedicationFreeTextSigEDReference(DiagnosticChain diagnostics, Map context); @@ -157,7 +152,7 @@ public interface MedicationFreeTextSig extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null).manufacturedProduct->excluding(null).manufacturedLabeledDrug->excluding(null)->reject(isDefined(\'nullFlavor\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null).manufacturedProduct->excluding(null).manufacturedLabeledDrug->excluding(null)->reject(isDefined(\'nullFlavor\'))'" * @generated */ boolean validateMedicationFreeTextSigConsumableManufacturedProductManufacturedLabeledDrugNullFlavor( @@ -170,7 +165,7 @@ boolean validateMedicationFreeTextSigConsumableManufacturedProductManufacturedLa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null).manufacturedProduct->excluding(null)->reject(manufacturedLabeledDrug->one(manufacturedLabeledDrug : cda::LabeledDrug | not manufacturedLabeledDrug.oclIsUndefined() and manufacturedLabeledDrug.oclIsKindOf(cda::LabeledDrug)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null).manufacturedProduct->excluding(null)->reject(manufacturedLabeledDrug->one(manufacturedLabeledDrug : cda::LabeledDrug | not manufacturedLabeledDrug.oclIsUndefined() and manufacturedLabeledDrug.oclIsKindOf(cda::LabeledDrug)))'" * @generated */ boolean validateMedicationFreeTextSigConsumableManufacturedProductManufacturedLabeledDrug( @@ -183,7 +178,7 @@ boolean validateMedicationFreeTextSigConsumableManufacturedProductManufacturedLa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(cda::ManufacturedProduct)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(cda::ManufacturedProduct)))'" * @generated */ boolean validateMedicationFreeTextSigConsumableManufacturedProduct(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation.java index 58b0f2a77a..a482be70ae 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ManufacturedProduct; /** @@ -33,7 +28,7 @@ public interface MedicationInformation extends ManufacturedProduct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.23\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.23\')'" * @generated */ boolean validateMedicationInformationTemplateId(DiagnosticChain diagnostics, Map context); @@ -45,7 +40,7 @@ public interface MedicationInformation extends ManufacturedProduct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())'" * @generated */ boolean validateMedicationInformationId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface MedicationInformation extends ManufacturedProduct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturerOrganization->one(manufacturerOrganization : cda::Organization | not manufacturerOrganization.oclIsUndefined() and manufacturerOrganization.oclIsKindOf(rim::Entity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturerOrganization->one(manufacturerOrganization : cda::Organization | not manufacturerOrganization.oclIsUndefined() and manufacturerOrganization.oclIsKindOf(rim::Entity))'" * @generated */ boolean validateMedicationInformationManufacturerOrganization(DiagnosticChain diagnostics, @@ -82,7 +77,7 @@ boolean validateMedicationInformationManufacturerOrganization(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->one(manufacturedMaterial : cda::Material | not manufacturedMaterial.oclIsUndefined() and manufacturedMaterial.oclIsKindOf(cda::Material))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->one(manufacturedMaterial : cda::Material | not manufacturedMaterial.oclIsUndefined() and manufacturedMaterial.oclIsKindOf(cda::Material))'" * @generated */ boolean validateMedicationInformationManufacturedMaterial(DiagnosticChain diagnostics, Map context); @@ -94,7 +89,7 @@ boolean validateMedicationInformationManufacturerOrganization(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1)'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeOriginalText( @@ -107,7 +102,7 @@ boolean validateMedicationInformationMedicationInformationManufacturedMaterialCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1 implies code.originalText->one(reference->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1 implies code.originalText->one(reference->size() = 1))'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialReference(DiagnosticChain diagnostics, @@ -120,7 +115,7 @@ boolean validateMedicationInformationMedicationInformationManufacturedMaterialRe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText.reference->size() = 1 implies code.originalText.reference.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText.reference->size() = 1 implies code.originalText.reference.value->size() = 1)'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialOriginalTextReferenceValue( @@ -133,7 +128,7 @@ boolean validateMedicationInformationMedicationInformationManufacturedMaterialOr * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code->size() = 1 implies code.translation->size() > 0)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code->size() = 1 implies code.translation->size() > 0)'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeTranslation( @@ -146,7 +141,7 @@ boolean validateMedicationInformationMedicationInformationManufacturedMaterialCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.88\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.88\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialCode(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation2.java index 4f52271e89..c865844635 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface MedicationInformation2 extends MedicationInformation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.23\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.23\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMedicationInformation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface MedicationInformation2 extends MedicationInformation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validateMedicationInformation2MedicationInformationManufacturedMaterialCETranslation( @@ -57,7 +53,7 @@ boolean validateMedicationInformation2MedicationInformationManufacturedMaterialC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(true)'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialReferenceValue( @@ -70,7 +66,7 @@ boolean validateMedicationInformationMedicationInformationManufacturedMaterialRe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeP(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder.java index e0153a2b15..db672df394 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Supply; /** @@ -32,7 +27,7 @@ public interface MedicationSupplyOrder extends Supply { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateMedicationSupplyOrderInstructionInversionInd(DiagnosticChain diagnostics, @@ -45,7 +40,7 @@ boolean validateMedicationSupplyOrderInstructionInversionInd(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->size() = 1 implies self.effectiveTime.oclAsType(datatypes::IVL_TS)->forAll(high->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->size() = 1 implies self.effectiveTime.oclAsType(datatypes::IVL_TS)->forAll(high->size() = 1)'" * @generated */ boolean validateMedicationSupplyOrderEffectiveTimeHigh(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ boolean validateMedicationSupplyOrderContainsMedicationOrImmunization(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.17\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.17\')'" * @generated */ boolean validateMedicationSupplyOrderTemplateId(DiagnosticChain diagnostics, Map context); @@ -106,7 +101,7 @@ boolean validateMedicationSupplyOrderContainsMedicationOrImmunization(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateMedicationSupplyOrderId(DiagnosticChain diagnostics, Map context); @@ -130,7 +125,7 @@ boolean validateMedicationSupplyOrderContainsMedicationOrImmunization(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" * @generated */ boolean validateMedicationSupplyOrderEffectiveTime(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ boolean validateMedicationSupplyOrderContainsMedicationOrImmunization(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateMedicationSupplyOrderAuthor(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ boolean validateMedicationSupplyOrderContainsMedicationOrImmunization(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateMedicationSupplyOrderInstructions(DiagnosticChain diagnostics, Map context); @@ -187,7 +182,7 @@ boolean validateMedicationSupplyOrderContainsMedicationOrImmunization(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" * @generated */ Instructions getInstructions(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder2.java index 9c3d509ead..83efd884f0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -56,7 +52,7 @@ boolean validateMedicationSupplyOrder2ContainsImmunizationMedicationInformation2 * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.17\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.17\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMedicationSupplyOrder2TemplateId(DiagnosticChain diagnostics, Map context); @@ -77,7 +73,7 @@ boolean validateMedicationSupplyOrder2ContainsImmunizationMedicationInformation2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getConsolInstruction2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationUseNoneKnown.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationUseNoneKnown.java index 087ad94df6..d1af924827 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationUseNoneKnown.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationUseNoneKnown.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface MedicationUseNoneKnown extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateMedicationUseNoneKnownTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface MedicationUseNoneKnown extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateMedicationUseNoneKnownTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface MedicationUseNoneKnown extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.29\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.29\')'" * @generated */ boolean validateMedicationUseNoneKnownTemplateId(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface MedicationUseNoneKnown extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateMedicationUseNoneKnownId(DiagnosticChain diagnostics, Map context); @@ -188,7 +183,7 @@ public interface MedicationUseNoneKnown extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'182904002\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'182904002\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateMedicationUseNoneKnownValue(DiagnosticChain diagnostics, Map context); @@ -200,7 +195,7 @@ public interface MedicationUseNoneKnown extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateMedicationUseNoneKnownValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection.java index 3112cdd5df..7408b29ccd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface MedicationsAdministeredSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.38\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.38\')'" * @generated */ boolean validateMedicationsAdministeredSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -97,7 +92,7 @@ public interface MedicationsAdministeredSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" * @generated */ boolean validateMedicationsAdministeredSectionMedicationActivity(DiagnosticChain diagnostics, @@ -107,7 +102,7 @@ boolean validateMedicationsAdministeredSectionMedicationActivity(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection2.java index 3032ce1c94..e69f83251e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface MedicationsAdministeredSection2 extends MedicationsAdministered * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.38\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.38\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMedicationsAdministeredSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface MedicationsAdministeredSection2 extends MedicationsAdministered * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection.java index afc6fd6c22..e8d3dc97d3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -79,7 +75,7 @@ public interface MedicationsSection extends MedicationsSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" * @generated */ boolean validateMedicationsSectionMedication(DiagnosticChain diagnostics, Map context); @@ -88,7 +84,7 @@ public interface MedicationsSection extends MedicationsSectionEntriesOptional { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedications(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection2.java index bd41e7356e..6d1224945b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional.java index cf4ad00355..1f0b396486 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface MedicationsSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.1\')'" * @generated */ boolean validateMedicationsSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -94,7 +89,7 @@ boolean validateMedicationsSectionEntriesOptionalTemplateId(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" * @generated */ boolean validateMedicationsSectionEntriesOptionalMedicationActivity(DiagnosticChain diagnostics, @@ -104,7 +99,7 @@ boolean validateMedicationsSectionEntriesOptionalMedicationActivity(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional2.java index 5fc149d091..31916caf4d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -41,7 +37,7 @@ boolean validateMedicationsSectionEntriesOptionalAbsenceOfMedications(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation.java index c3a38fa2b2..573fd9bf6a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -33,7 +28,7 @@ public interface MentalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.125\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.125\')'" * @generated */ boolean validateMentalStatusObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface MentalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateMentalStatusObservationId(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface MentalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateMentalStatusObservationValue(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ public interface MentalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateMentalStatusObservationValueP(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ public interface MentalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateMentalStatusObservationAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -178,7 +173,7 @@ boolean validateMentalStatusObservationAssessmentScaleObservation(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateMentalStatusObservationAuthorParticipation(DiagnosticChain diagnostics, @@ -188,7 +183,7 @@ boolean validateMentalStatusObservationAuthorParticipation(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation2.java index 8239425801..dde03127bc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -34,7 +30,7 @@ public interface MentalStatusObservation2 extends CognitiveStatusResultObservati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.74\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.74\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMentalStatusObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -46,7 +42,7 @@ public interface MentalStatusObservation2 extends CognitiveStatusResultObservati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateMentalStatusObservation2AuthorParticipation(DiagnosticChain diagnostics, @@ -59,7 +55,7 @@ boolean validateMentalStatusObservation2AuthorParticipation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75275-8\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75275-8\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateMentalStatusObservation2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -71,7 +67,7 @@ boolean validateMentalStatusObservation2AuthorParticipation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateMentalStatusObservation2CDTranslationP(DiagnosticChain diagnostics, Map context); @@ -80,7 +76,7 @@ boolean validateMentalStatusObservation2AuthorParticipation(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getConsolAssessmentScaleObservations(); @@ -89,7 +85,7 @@ boolean validateMentalStatusObservation2AuthorParticipation(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ EList getConsolNonMedicinalSupplyActivities(); @@ -98,7 +94,7 @@ boolean validateMentalStatusObservation2AuthorParticipation(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getConsolCaregiverCharacteristicss(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusOrganizer2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusOrganizer2.java index 4d4e7e7978..7c6b8ca9e0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusOrganizer2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusOrganizer2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -45,7 +41,7 @@ boolean validateMentalStatusOrganizer2HasCodeOrEffectiveTime(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.75\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.75\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMentalStatusOrganizer2TemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +65,7 @@ boolean validateMentalStatusOrganizer2HasCodeOrEffectiveTime(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateMentalStatusOrganizer2CDCode(DiagnosticChain diagnostics, Map context); @@ -78,7 +74,7 @@ boolean validateMentalStatusOrganizer2HasCodeOrEffectiveTime(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" * @generated */ EList getConsolMentalStatusObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusSection.java index 1f8c8c4b26..fd6a789182 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface MentalStatusSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.56\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.56\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validateMentalStatusSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface MentalStatusSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AssessmentScaleObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AssessmentScaleObservation))'" * @generated */ boolean validateMentalStatusSectionAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -106,7 +101,7 @@ boolean validateMentalStatusSectionAssessmentScaleObservation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::MentalStatusOrganizer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::MentalStatusOrganizer2))'" * @generated */ boolean validateMentalStatusSectionMentalStatusOrganizer2(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ boolean validateMentalStatusSectionAssessmentScaleObservation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::MentalStatusObservation2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::MentalStatusObservation2))'" * @generated */ boolean validateMentalStatusSectionMentalStatusObservation2(DiagnosticChain diagnostics, @@ -128,7 +123,7 @@ boolean validateMentalStatusSectionMentalStatusObservation2(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); @@ -137,7 +132,7 @@ boolean validateMentalStatusSectionMentalStatusObservation2(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::MentalStatusOrganizer2)).oclAsType(consol::MentalStatusOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::MentalStatusOrganizer2)).oclAsType(consol::MentalStatusOrganizer2)'" * @generated */ EList getMentalStatusOrganizer2s(); @@ -146,7 +141,7 @@ boolean validateMentalStatusSectionMentalStatusObservation2(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" * @generated */ EList getMentalStatusObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity.java index c6583411f2..5dc7a53621 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Supply; /** @@ -32,7 +27,7 @@ public interface NonMedicinalSupplyActivity extends Supply { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->size() = 1 implies self.effectiveTime.oclAsType(datatypes::IVL_TS)->forAll(high->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->size() = 1 implies self.effectiveTime.oclAsType(datatypes::IVL_TS)->forAll(high->size() = 1)'" * @generated */ boolean validateNonMedicinalSupplyActivityEffectiveTimeHigh(DiagnosticChain diagnostics, @@ -45,7 +40,7 @@ boolean validateNonMedicinalSupplyActivityEffectiveTimeHigh(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ProductInstance))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::PRD)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ProductInstance))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::PRD)'" * @generated */ boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode(DiagnosticChain diagnostics, @@ -58,7 +53,7 @@ boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.50\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.50\')'" * @generated */ boolean validateNonMedicinalSupplyActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -94,7 +89,7 @@ boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateNonMedicinalSupplyActivityId(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" * @generated */ boolean validateNonMedicinalSupplyActivityEffectiveTime(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ProductInstance))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ProductInstance))'" * @generated */ boolean validateNonMedicinalSupplyActivityProductInstance(DiagnosticChain diagnostics, Map context); @@ -151,7 +146,7 @@ boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance))->asSequence()->any(true).oclAsType(consol::ProductInstance)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance))->asSequence()->any(true).oclAsType(consol::ProductInstance)'" * @generated */ ProductInstance getProductInstance(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity2.java index e4cfea8a65..49aa8618e2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +26,7 @@ public interface NonMedicinalSupplyActivity2 extends NonMedicinalSupplyActivity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instruction2))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instruction2))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateNonMedicinalSupplyActivity2Instruction2InversionInd(DiagnosticChain diagnostics, @@ -43,7 +39,7 @@ boolean validateNonMedicinalSupplyActivity2Instruction2InversionInd(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.50\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.50\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateNonMedicinalSupplyActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -67,7 +63,7 @@ boolean validateNonMedicinalSupplyActivity2Instruction2InversionInd(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateNonMedicinalSupplyActivity2Instruction2(DiagnosticChain diagnostics, Map context); @@ -76,7 +72,7 @@ boolean validateNonMedicinalSupplyActivity2Instruction2InversionInd(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getInstruction2(); @@ -85,7 +81,7 @@ boolean validateNonMedicinalSupplyActivity2Instruction2InversionInd(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance))->asSequence()->any(true).oclAsType(consol::ProductInstance)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance))->asSequence()->any(true).oclAsType(consol::ProductInstance)'" * @generated */ ProductInstance getConsolProductInstance(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation.java index 804f704b88..07de5d661c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -34,7 +29,7 @@ public interface NumberOfPressureUlcersObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.76\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.76\')'" * @generated */ boolean validateNumberOfPressureUlcersObservationTemplateId(DiagnosticChain diagnostics, @@ -72,7 +67,7 @@ boolean validateNumberOfPressureUlcersObservationClassCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateNumberOfPressureUlcersObservationId(DiagnosticChain diagnostics, Map context); @@ -147,7 +142,7 @@ boolean validateNumberOfPressureUlcersObservationEffectiveTime(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::INT)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::INT)))'" * @generated */ boolean validateNumberOfPressureUlcersObservationValue(DiagnosticChain diagnostics, Map context); @@ -159,7 +154,7 @@ boolean validateNumberOfPressureUlcersObservationEffectiveTime(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateNumberOfPressureUlcersObservationAuthor(DiagnosticChain diagnostics, Map context); @@ -171,7 +166,7 @@ boolean validateNumberOfPressureUlcersObservationEffectiveTime(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->size() = 1'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationship(DiagnosticChain diagnostics, @@ -184,7 +179,7 @@ boolean validateNumberOfPressureUlcersObservationEntryRelationship(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationClassCode(DiagnosticChain diagnostics, @@ -197,7 +192,7 @@ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationCla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationMoodCode(DiagnosticChain diagnostics, @@ -210,7 +205,7 @@ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationMoo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'421076008\' or value.code = \'420324007\' or value.code = \'421927004\' or value.code = \'420597008\' or value.code = \'421594008\'))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'421076008\' or value.code = \'420324007\' or value.code = \'421927004\' or value.code = \'420597008\' or value.code = \'421594008\'))))'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationValue(DiagnosticChain diagnostics, @@ -223,7 +218,7 @@ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationVal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::CD))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::CD))))'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationValueP(DiagnosticChain diagnostics, @@ -236,7 +231,7 @@ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationVal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -249,7 +244,7 @@ boolean validateNumberOfPressureUlcersObservationEntryRelationshipTypeCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservation(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation2.java index ef2d548d4c..dd4d2f63c9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface NumberOfPressureUlcersObservation2 extends NumberOfPressureUlce * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.76\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.76\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateNumberOfPressureUlcersObservation2TemplateId(DiagnosticChain diagnostics, @@ -46,7 +42,7 @@ boolean validateNumberOfPressureUlcersObservation2TemplateId(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75277-4\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75277-4\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateNumberOfPressureUlcersObservation2CDTranslation(DiagnosticChain diagnostics, @@ -59,7 +55,7 @@ boolean validateNumberOfPressureUlcersObservation2CDTranslation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateNumberOfPressureUlcersObservation2CDTranslationP(DiagnosticChain diagnostics, @@ -72,7 +68,7 @@ boolean validateNumberOfPressureUlcersObservation2CDTranslationP(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateNumberOfPressureUlcersObservation2EntryRelationshipObservationCodeP(DiagnosticChain diagnostics, @@ -85,7 +81,7 @@ boolean validateNumberOfPressureUlcersObservation2EntryRelationshipObservationCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'ASSERTION\' and value.codeSystem = \'2.16.840.1.113883.5.4\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'ASSERTION\' and value.codeSystem = \'2.16.840.1.113883.5.4\'))'" * @generated */ boolean validateNumberOfPressureUlcersObservation2EntryRelationshipObservationCode(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionAssessment.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionAssessment.java index 834ef7c080..d231c2bda8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionAssessment.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionAssessment.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface NutritionAssessment extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(DiagnosticChain diagnostics, @@ -45,7 +40,7 @@ boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.138\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.138\')'" * @generated */ boolean validateNutritionAssessmentTemplateId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateNutritionAssessmentId(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateNutritionAssessmentValue(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateNutritionAssessmentAuthorParticipation(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionRecommendation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionRecommendation.java index 6e6791ee83..37cec87292 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionRecommendation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionRecommendation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface NutritionRecommendation extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.130\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.130\')'" * @generated */ boolean validateNutritionRecommendationTemplateId(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface NutritionRecommendation extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::PlannedEncounter2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::PlannedEncounter2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateNutritionRecommendationPlannedEncounter2(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ public interface NutritionRecommendation extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateNutritionRecommendationPlannedMedicationActivity2(DiagnosticChain diagnostics, @@ -166,7 +161,7 @@ boolean validateNutritionRecommendationPlannedMedicationActivity2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PlannedObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PlannedObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagnostics, @@ -179,7 +174,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::PlannedProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::PlannedProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateNutritionRecommendationPlannedProcedure2(DiagnosticChain diagnostics, Map context); @@ -191,7 +186,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::PlannedSupply2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::PlannedSupply2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateNutritionRecommendationPlannedSupply2(DiagnosticChain diagnostics, Map context); @@ -203,7 +198,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateNutritionRecommendationPlannedAct2(DiagnosticChain diagnostics, Map context); @@ -212,7 +207,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlannedEncounter2)).oclAsType(consol::PlannedEncounter2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlannedEncounter2)).oclAsType(consol::PlannedEncounter2)'" * @generated */ EList getPlannedEncounter2s(); @@ -221,7 +216,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2)).oclAsType(consol::PlannedMedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2)).oclAsType(consol::PlannedMedicationActivity2)'" * @generated */ EList getPlannedMedicationActivity2s(); @@ -230,7 +225,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlannedObservation2)).oclAsType(consol::PlannedObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlannedObservation2)).oclAsType(consol::PlannedObservation2)'" * @generated */ EList getPlannedObservation2s(); @@ -239,7 +234,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" * @generated */ EList getPlannedProcedure2s(); @@ -248,7 +243,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlannedSupply2)).oclAsType(consol::PlannedSupply2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlannedSupply2)).oclAsType(consol::PlannedSupply2)'" * @generated */ EList getPlannedSupply2s(); @@ -257,7 +252,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" * @generated */ EList getPlannedAct2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionSection.java index 01ac250074..aae788f287 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface NutritionSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.57\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.57\')'" * @generated */ boolean validateNutritionSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface NutritionSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::NutritionalStatusObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::NutritionalStatusObservation))'" * @generated */ boolean validateNutritionSectionNutritionalStatusObservation(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validateNutritionSectionNutritionalStatusObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionalStatusObservation)).oclAsType(consol::NutritionalStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionalStatusObservation)).oclAsType(consol::NutritionalStatusObservation)'" * @generated */ EList getNutritionalStatusObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionalStatusObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionalStatusObservation.java index 9b50763453..4bd73d3642 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionalStatusObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionalStatusObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -33,7 +28,7 @@ public interface NutritionalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.124\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.124\')'" * @generated */ boolean validateNutritionalStatusObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface NutritionalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateNutritionalStatusObservationId(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface NutritionalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateNutritionalStatusObservationValue(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ public interface NutritionalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateNutritionalStatusObservationValueP(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ public interface NutritionalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateNutritionalStatusObservationNutritionAssessment(DiagnosticChain diagnostics, @@ -175,7 +170,7 @@ boolean validateNutritionalStatusObservationNutritionAssessment(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" * @generated */ EList getNutritionAssessments(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObjectiveSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObjectiveSection.java index 5ecaea30b8..524e4d7b0d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObjectiveSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObjectiveSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ObjectiveSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.1\')'" * @generated */ boolean validateObjectiveSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObserverContext.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObserverContext.java index 8ef8956149..b44ceec018 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObserverContext.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObserverContext.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Author; /** @@ -33,7 +28,7 @@ public interface ObserverContext extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.4\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.4\')'" * @generated */ boolean validateObserverContextTemplateId(DiagnosticChain diagnostics, Map context); @@ -45,7 +40,7 @@ public interface ObserverContext extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor))'" * @generated */ boolean validateObserverContextAssignedAuthor(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote.java index 94ca961243..606d3900df 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -46,7 +42,7 @@ public interface OperativeNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateOperativeNoteDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -58,7 +54,7 @@ public interface OperativeNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))'" * @generated */ boolean validateOperativeNoteAnesthesiaSection(DiagnosticChain diagnostics, Map context); @@ -70,7 +66,7 @@ public interface OperativeNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))'" * @generated */ boolean validateOperativeNoteComplicationsSection(DiagnosticChain diagnostics, Map context); @@ -82,7 +78,7 @@ public interface OperativeNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))'" * @generated */ boolean validateOperativeNotePostoperativeDiagnosisSection(DiagnosticChain diagnostics, @@ -95,7 +91,7 @@ boolean validateOperativeNotePostoperativeDiagnosisSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection))'" * @generated */ boolean validateOperativeNotePreoperativeDiagnosisSection(DiagnosticChain diagnostics, Map context); @@ -107,7 +103,7 @@ boolean validateOperativeNotePostoperativeDiagnosisSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" * @generated */ boolean validateOperativeNoteProcedureEstimatedBloodLossSection(DiagnosticChain diagnostics, @@ -120,7 +116,7 @@ boolean validateOperativeNoteProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))'" * @generated */ boolean validateOperativeNoteProcedureFindingsSection(DiagnosticChain diagnostics, Map context); @@ -132,7 +128,7 @@ boolean validateOperativeNoteProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" * @generated */ boolean validateOperativeNoteProcedureSpecimensTakenSection(DiagnosticChain diagnostics, @@ -145,7 +141,7 @@ boolean validateOperativeNoteProcedureSpecimensTakenSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" * @generated */ boolean validateOperativeNoteProcedureDescriptionSection(DiagnosticChain diagnostics, Map context); @@ -157,7 +153,7 @@ boolean validateOperativeNoteProcedureSpecimensTakenSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" * @generated */ boolean validateOperativeNoteProcedureImplantsSection(DiagnosticChain diagnostics, Map context); @@ -169,7 +165,7 @@ boolean validateOperativeNoteProcedureSpecimensTakenSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))'" * @generated */ boolean validateOperativeNoteOperativeNoteFluidSection(DiagnosticChain diagnostics, Map context); @@ -181,7 +177,7 @@ boolean validateOperativeNoteProcedureSpecimensTakenSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))'" * @generated */ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticChain diagnostics, @@ -194,7 +190,7 @@ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateOperativeNotePlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -206,7 +202,7 @@ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))'" * @generated */ boolean validateOperativeNotePlannedProcedureSection(DiagnosticChain diagnostics, Map context); @@ -218,7 +214,7 @@ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" * @generated */ boolean validateOperativeNoteProcedureDispositionSection(DiagnosticChain diagnostics, Map context); @@ -230,7 +226,7 @@ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))'" * @generated */ boolean validateOperativeNoteProcedureIndicationsSection(DiagnosticChain diagnostics, Map context); @@ -242,7 +238,7 @@ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))'" * @generated */ boolean validateOperativeNoteSurgicalDrainsSection(DiagnosticChain diagnostics, Map context); @@ -254,7 +250,7 @@ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntityCode( @@ -267,7 +263,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssigned * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntityCodeP( @@ -280,7 +276,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssigned * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerTypeCode(DiagnosticChain diagnostics, @@ -293,7 +289,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerTypeCode * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -306,7 +302,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssigned * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventProcedureCodes(DiagnosticChain diagnostics, @@ -319,7 +315,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventProcedureCodes(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.low.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.low.oclIsUndefined())'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeHasLow(DiagnosticChain diagnostics, @@ -332,7 +328,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeHasLow(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth(DiagnosticChain diagnostics, @@ -345,7 +341,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeHasHighWhen * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeNoHighIfWidth(DiagnosticChain diagnostics, @@ -358,7 +354,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeNoHighIfWid * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 8) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 8))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 8) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 8))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheDay(DiagnosticChain diagnostics, @@ -371,7 +367,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheDay(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 12) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 12) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 12))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheMinute(DiagnosticChain diagnostics, @@ -384,7 +380,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheMinute(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 14) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 14))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 14) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 14))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheSecond(DiagnosticChain diagnostics, @@ -397,7 +393,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheSecond(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() and effectiveTime.low.value.size() > 8 implies effectiveTime.low.value.size() >= 15) and (not effectiveTime.high.value.oclIsUndefined() and effectiveTime.high.value.size() > 8 implies effectiveTime.high.value.size() >= 15))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() and effectiveTime.low.value.size() > 8 implies effectiveTime.low.value.size() >= 15) and (not effectiveTime.high.value.oclIsUndefined() and effectiveTime.high.value.size() > 8 implies effectiveTime.high.value.size() >= 15))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventIfMorePreciseThanDayIncludeTimeZoneOffset( @@ -410,7 +406,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventIfMorePreciseThanDayIncl * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventCode(DiagnosticChain diagnostics, @@ -423,7 +419,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -436,7 +432,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTime(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->size() = 1)'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(DiagnosticChain diagnostics, @@ -449,7 +445,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEvent(DiagnosticChain diagnostics, Map context); @@ -458,7 +454,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection)'" * @generated */ AnesthesiaSection getAnesthesiaSection(); @@ -467,7 +463,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))->asSequence()->any(true).oclAsType(consol::ComplicationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))->asSequence()->any(true).oclAsType(consol::ComplicationsSection)'" * @generated */ ComplicationsSection getComplicationsSection(); @@ -476,7 +472,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PostoperativeDiagnosisSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PostoperativeDiagnosisSection)'" * @generated */ PostoperativeDiagnosisSection getPostoperativeDiagnosisSection(); @@ -485,7 +481,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosisSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosisSection)'" * @generated */ PreoperativeDiagnosisSection getPreoperativeDiagnosisSection(); @@ -494,7 +490,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" * @generated */ ProcedureEstimatedBloodLossSection getProcedureEstimatedBloodLossSection(); @@ -503,7 +499,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection)'" * @generated */ ProcedureFindingsSection getProcedureFindingsSection(); @@ -512,7 +508,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" * @generated */ ProcedureSpecimensTakenSection getProcedureSpecimensTakenSection(); @@ -521,7 +517,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" * @generated */ ProcedureDescriptionSection getProcedureDescriptionSection(); @@ -530,7 +526,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" * @generated */ ProcedureImplantsSection getProcedureImplantsSection(); @@ -539,7 +535,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteFluidSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteFluidSection)'" * @generated */ OperativeNoteFluidSection getOperativeNoteFluidSection(); @@ -548,7 +544,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteSurgicalProcedureSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteSurgicalProcedureSection)'" * @generated */ OperativeNoteSurgicalProcedureSection getOperativeNoteSurgicalProcedureSection(); @@ -557,7 +553,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -566,7 +562,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection)'" * @generated */ PlannedProcedureSection getPlannedProcedureSection(); @@ -575,7 +571,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" * @generated */ ProcedureDispositionSection getProcedureDispositionSection(); @@ -584,7 +580,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection)'" * @generated */ ProcedureIndicationsSection getProcedureIndicationsSection(); @@ -593,7 +589,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))->asSequence()->any(true).oclAsType(consol::SurgicalDrainsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))->asSequence()->any(true).oclAsType(consol::SurgicalDrainsSection)'" * @generated */ SurgicalDrainsSection getSurgicalDrainsSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote2.java index 91ef0ca48e..98f84b594e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -63,7 +59,7 @@ public interface OperativeNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateOperativeNote2DocumentationOf(DiagnosticChain diagnostics, Map context); @@ -75,7 +71,7 @@ public interface OperativeNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->one(authorization : cda::Authorization | not authorization.oclIsUndefined() and authorization.oclIsKindOf(cda::Authorization))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->one(authorization : cda::Authorization | not authorization.oclIsUndefined() and authorization.oclIsKindOf(cda::Authorization))'" * @generated */ boolean validateOperativeNote2Authorization(DiagnosticChain diagnostics, Map context); @@ -87,7 +83,7 @@ public interface OperativeNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))'" * @generated */ boolean validateOperativeNote2AnesthesiaSection2(DiagnosticChain diagnostics, Map context); @@ -99,7 +95,7 @@ public interface OperativeNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))'" * @generated */ boolean validateOperativeNote2ComplicationsSection2(DiagnosticChain diagnostics, Map context); @@ -111,7 +107,7 @@ public interface OperativeNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection2))'" * @generated */ boolean validateOperativeNote2PreoperativeDiagnosisSection2(DiagnosticChain diagnostics, @@ -124,7 +120,7 @@ boolean validateOperativeNote2PreoperativeDiagnosisSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" * @generated */ boolean validateOperativeNote2ProcedureEstimatedBloodLossSection(DiagnosticChain diagnostics, @@ -137,7 +133,7 @@ boolean validateOperativeNote2ProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))'" * @generated */ boolean validateOperativeNote2ProcedureFindingsSection2(DiagnosticChain diagnostics, Map context); @@ -149,7 +145,7 @@ boolean validateOperativeNote2ProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" * @generated */ boolean validateOperativeNote2ProcedureSpecimensTakenSection(DiagnosticChain diagnostics, @@ -162,7 +158,7 @@ boolean validateOperativeNote2ProcedureSpecimensTakenSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" * @generated */ boolean validateOperativeNote2ProcedureDescriptionSection(DiagnosticChain diagnostics, Map context); @@ -174,7 +170,7 @@ boolean validateOperativeNote2ProcedureSpecimensTakenSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))'" * @generated */ boolean validateOperativeNote2PostoperativeDiagnosisSection(DiagnosticChain diagnostics, @@ -187,7 +183,7 @@ boolean validateOperativeNote2PostoperativeDiagnosisSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" * @generated */ boolean validateOperativeNote2ProcedureImplantsSection(DiagnosticChain diagnostics, Map context); @@ -199,7 +195,7 @@ boolean validateOperativeNote2PostoperativeDiagnosisSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))'" * @generated */ boolean validateOperativeNote2OperativeNoteFluidSection(DiagnosticChain diagnostics, Map context); @@ -211,7 +207,7 @@ boolean validateOperativeNote2PostoperativeDiagnosisSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))'" * @generated */ boolean validateOperativeNote2OperativeNoteSurgicalProcedureSection(DiagnosticChain diagnostics, @@ -224,7 +220,7 @@ boolean validateOperativeNote2OperativeNoteSurgicalProcedureSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateOperativeNote2PlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -236,7 +232,7 @@ boolean validateOperativeNote2OperativeNoteSurgicalProcedureSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))'" * @generated */ boolean validateOperativeNote2PlannedProcedureSection2(DiagnosticChain diagnostics, Map context); @@ -248,7 +244,7 @@ boolean validateOperativeNote2OperativeNoteSurgicalProcedureSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" * @generated */ boolean validateOperativeNote2ProcedureDispositionSection(DiagnosticChain diagnostics, Map context); @@ -260,7 +256,7 @@ boolean validateOperativeNote2OperativeNoteSurgicalProcedureSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))'" * @generated */ boolean validateOperativeNote2ProcedureIndicationsSection2(DiagnosticChain diagnostics, @@ -273,7 +269,7 @@ boolean validateOperativeNote2ProcedureIndicationsSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))'" * @generated */ boolean validateOperativeNote2SurgicalDrainsSection(DiagnosticChain diagnostics, Map context); @@ -285,7 +281,7 @@ boolean validateOperativeNote2ProcedureIndicationsSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow(DiagnosticChain diagnostics, @@ -298,7 +294,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntityCode(DiagnosticChain diagnostics, @@ -311,7 +307,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -324,7 +320,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerTypeCode(DiagnosticChain diagnostics, @@ -337,7 +333,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerTypeCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -350,7 +346,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCode( @@ -363,7 +359,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCodeP( @@ -376,7 +372,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::SPRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::SPRF)'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsTypeCode(DiagnosticChain diagnostics, @@ -389,7 +385,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsType * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntity( @@ -402,7 +398,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth( @@ -415,7 +411,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTimeHasHighWhe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWidth(DiagnosticChain diagnostics, @@ -428,7 +424,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventProcedureCodes(DiagnosticChain diagnostics, @@ -441,7 +437,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventProcedureCodes(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -454,7 +450,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTime(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventCode(DiagnosticChain diagnostics, @@ -467,7 +463,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventCode(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->notEmpty())'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformer(DiagnosticChain diagnostics, @@ -480,7 +476,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformer(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->notEmpty())'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistants(DiagnosticChain diagnostics, @@ -493,7 +489,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistants(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEvent(DiagnosticChain diagnostics, Map context); @@ -505,7 +501,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistants(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClass::CONS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClass::CONS)'" * @generated */ boolean validateOperativeNote2AuthorizationConsentClassCode(DiagnosticChain diagnostics, @@ -518,7 +514,7 @@ boolean validateOperativeNote2AuthorizationConsentClassCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'moodCode\') and moodCode=vocab::ActMood::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'moodCode\') and moodCode=vocab::ActMood::EVN)'" * @generated */ boolean validateOperativeNote2AuthorizationConsentMoodCode(DiagnosticChain diagnostics, @@ -531,7 +527,7 @@ boolean validateOperativeNote2AuthorizationConsentMoodCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain diagnostics, @@ -544,7 +540,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::AUTH)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::AUTH)'" * @generated */ boolean validateOperativeNote2AuthorizationTypeCode(DiagnosticChain diagnostics, Map context); @@ -556,7 +552,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(consent->one(consent : cda::Consent | not consent.oclIsUndefined() and consent.oclIsKindOf(cda::Consent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(consent->one(consent : cda::Consent | not consent.oclIsUndefined() and consent.oclIsKindOf(cda::Consent)))'" * @generated */ boolean validateOperativeNote2AuthorizationConsent(DiagnosticChain diagnostics, Map context); @@ -565,7 +561,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection2)'" * @generated */ AnesthesiaSection2 getAnesthesiaSection2(); @@ -574,7 +570,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))->asSequence()->any(true).oclAsType(consol::ComplicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))->asSequence()->any(true).oclAsType(consol::ComplicationsSection2)'" * @generated */ ComplicationsSection2 getComplicationsSection2(); @@ -583,7 +579,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosisSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosisSection2)'" * @generated */ PreoperativeDiagnosisSection2 getPreoperativeDiagnosisSection2(); @@ -592,7 +588,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" * @generated */ ProcedureEstimatedBloodLossSection getProcedureEstimatedBloodLossSection(); @@ -601,7 +597,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection2)'" * @generated */ ProcedureFindingsSection2 getProcedureFindingsSection2(); @@ -610,7 +606,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" * @generated */ ProcedureSpecimensTakenSection getProcedureSpecimensTakenSection(); @@ -619,7 +615,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" * @generated */ ProcedureDescriptionSection getProcedureDescriptionSection(); @@ -628,7 +624,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PostoperativeDiagnosisSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PostoperativeDiagnosisSection)'" * @generated */ PostoperativeDiagnosisSection getPostoperativeDiagnosisSection(); @@ -637,7 +633,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" * @generated */ ProcedureImplantsSection getProcedureImplantsSection(); @@ -646,7 +642,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteFluidSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteFluidSection)'" * @generated */ OperativeNoteFluidSection getOperativeNoteFluidSection(); @@ -655,7 +651,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteSurgicalProcedureSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteSurgicalProcedureSection)'" * @generated */ OperativeNoteSurgicalProcedureSection getOperativeNoteSurgicalProcedureSection(); @@ -664,7 +660,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -673,7 +669,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection2)'" * @generated */ PlannedProcedureSection2 getPlannedProcedureSection2(); @@ -682,7 +678,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" * @generated */ ProcedureDispositionSection getProcedureDispositionSection(); @@ -691,7 +687,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection2)'" * @generated */ ProcedureIndicationsSection2 getProcedureIndicationsSection2(); @@ -700,7 +696,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))->asSequence()->any(true).oclAsType(consol::SurgicalDrainsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))->asSequence()->any(true).oclAsType(consol::SurgicalDrainsSection)'" * @generated */ SurgicalDrainsSection getSurgicalDrainsSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteFluidSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteFluidSection.java index 03a13021a2..78e4d75b45 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteFluidSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteFluidSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface OperativeNoteFluidSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.7.12\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.7.12\')'" * @generated */ boolean validateOperativeNoteFluidSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteSurgicalProcedureSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteSurgicalProcedureSection.java index 2184174eb7..a8a807ec75 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteSurgicalProcedureSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteSurgicalProcedureSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface OperativeNoteSurgicalProcedureSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.7.14\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.7.14\')'" * @generated */ boolean validateOperativeNoteSurgicalProcedureSectionTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OutcomeObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OutcomeObservation.java index 26527f5cbe..bd62b077df 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OutcomeObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OutcomeObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -34,7 +29,7 @@ public interface OutcomeObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::ProgressTowardGoalObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::ProgressTowardGoalObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue(DiagnosticChain diagnostics, @@ -47,7 +42,7 @@ boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.144\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.144\')'" * @generated */ boolean validateOutcomeObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -83,7 +78,7 @@ boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateOutcomeObservationId(DiagnosticChain diagnostics, Map context); @@ -119,7 +114,7 @@ boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" * @generated */ boolean validateOutcomeObservationValue(DiagnosticChain diagnostics, Map context); @@ -131,7 +126,7 @@ boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::GEVL)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::GEVL)'" * @generated */ boolean validateOutcomeObservationEntryReferenceGoalObs(DiagnosticChain diagnostics, Map context); @@ -143,7 +138,7 @@ boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateOutcomeObservationEntryReferenceInterventionAct(DiagnosticChain diagnostics, @@ -156,7 +151,7 @@ boolean validateOutcomeObservationEntryReferenceInterventionAct(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateOutcomeObservationAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -168,7 +163,7 @@ boolean validateOutcomeObservationEntryReferenceInterventionAct(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProgressTowardGoalObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProgressTowardGoalObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateOutcomeObservationProgressTowardGoalObservation(DiagnosticChain diagnostics, @@ -181,7 +176,7 @@ boolean validateOutcomeObservationProgressTowardGoalObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validateOutcomeObservationReference(DiagnosticChain diagnostics, Map context); @@ -193,7 +188,7 @@ boolean validateOutcomeObservationProgressTowardGoalObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(rim::ActRelationship))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(rim::ActRelationship))'" * @generated */ boolean validateOutcomeObservationEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -205,7 +200,7 @@ boolean validateOutcomeObservationProgressTowardGoalObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validateOutcomeObservationReferenceTypeCode(DiagnosticChain diagnostics, Map context); @@ -217,7 +212,7 @@ boolean validateOutcomeObservationProgressTowardGoalObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" * @generated */ boolean validateOutcomeObservationReferenceExternalDocumentReference(DiagnosticChain diagnostics, @@ -227,7 +222,7 @@ boolean validateOutcomeObservationReferenceExternalDocumentReference(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceGoalObss(); @@ -236,7 +231,7 @@ boolean validateOutcomeObservationReferenceExternalDocumentReference(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceInterventionActs(); @@ -245,7 +240,7 @@ boolean validateOutcomeObservationReferenceExternalDocumentReference(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProgressTowardGoalObservation))->asSequence()->any(true).oclAsType(consol::ProgressTowardGoalObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProgressTowardGoalObservation))->asSequence()->any(true).oclAsType(consol::ProgressTowardGoalObservation)'" * @generated */ ProgressTowardGoalObservation getProgressTowardGoalObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PatientReferralAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PatientReferralAct.java index 0e0a96c06e..65e2ec0b0e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PatientReferralAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PatientReferralAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -37,7 +32,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.140\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.140\')'" * @generated */ boolean validatePatientReferralActTemplateId(DiagnosticChain diagnostics, Map context); @@ -85,7 +80,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePatientReferralActId(DiagnosticChain diagnostics, Map context); @@ -169,7 +164,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->notEmpty()'" * @generated */ boolean validatePatientReferralActEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -181,7 +176,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePatientReferralActAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -193,7 +188,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePatientReferralActIndication2(DiagnosticChain diagnostics, Map context); @@ -205,7 +200,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" * @generated */ boolean validatePatientReferralActParticipant(DiagnosticChain diagnostics, Map context); @@ -217,7 +212,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationClassCode(DiagnosticChain diagnostics, @@ -230,7 +225,7 @@ boolean validatePatientReferralActEntryRelationshipObservationClassCode(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::RQO)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::RQO)'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationMoodCode(DiagnosticChain diagnostics, @@ -243,7 +238,7 @@ boolean validatePatientReferralActEntryRelationshipObservationMoodCode(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationCodeP(DiagnosticChain diagnostics, @@ -256,7 +251,7 @@ boolean validatePatientReferralActEntryRelationshipObservationCodeP(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'ASSERTION\' and value.codeSystem = \'2.16.840.1.113883.5.4\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'ASSERTION\' and value.codeSystem = \'2.16.840.1.113883.5.4\'))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationCode(DiagnosticChain diagnostics, @@ -269,7 +264,7 @@ boolean validatePatientReferralActEntryRelationshipObservationCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined() and statusCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = statusCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'completed\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined() and statusCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = statusCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'completed\'))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationStatusCode(DiagnosticChain diagnostics, @@ -282,7 +277,7 @@ boolean validatePatientReferralActEntryRelationshipObservationStatusCode(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationStatusCodeP(DiagnosticChain diagnostics, @@ -295,7 +290,7 @@ boolean validatePatientReferralActEntryRelationshipObservationStatusCodeP(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((priorityCode.oclIsUndefined() or priorityCode.isNullFlavorUndefined()) implies (not priorityCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((priorityCode.oclIsUndefined() or priorityCode.isNullFlavorUndefined()) implies (not priorityCode.oclIsUndefined()))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationPriorityCodeP(DiagnosticChain diagnostics, @@ -308,7 +303,7 @@ boolean validatePatientReferralActEntryRelationshipObservationPriorityCodeP(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((priorityCode.oclIsUndefined() or priorityCode.isNullFlavorUndefined()) implies (not priorityCode.oclIsUndefined() and priorityCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = priorityCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.7\' and (value.code = \'A\' or value.code = \'CR\' or value.code = \'CS\' or value.code = \'CSP\' or value.code = \'CSR\' or value.code = \'EL\' or value.code = \'EM\' or value.code = \'P\' or value.code = \'PRN\' or value.code = \'R\' or value.code = \'RR\' or value.code = \'S\' or value.code = \'T\' or value.code = \'UD\' or value.code = \'UR\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((priorityCode.oclIsUndefined() or priorityCode.isNullFlavorUndefined()) implies (not priorityCode.oclIsUndefined() and priorityCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = priorityCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.7\' and (value.code = \'A\' or value.code = \'CR\' or value.code = \'CS\' or value.code = \'CSP\' or value.code = \'CSR\' or value.code = \'EL\' or value.code = \'EM\' or value.code = \'P\' or value.code = \'PRN\' or value.code = \'R\' or value.code = \'RR\' or value.code = \'S\' or value.code = \'T\' or value.code = \'UD\' or value.code = \'UR\')))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationPriorityCode(DiagnosticChain diagnostics, @@ -321,7 +316,7 @@ boolean validatePatientReferralActEntryRelationshipObservationPriorityCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'370985002\' or value.code = \'170941001\' or value.code = \'170935008\' or value.code = \'268528005\' or value.code = \'170939002\' or value.code = \'268529002\' or value.code = \'170936009\' or value.code = \'170937000\' or value.code = \'170940000\'))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'370985002\' or value.code = \'170941001\' or value.code = \'170935008\' or value.code = \'268528005\' or value.code = \'170939002\' or value.code = \'268529002\' or value.code = \'170936009\' or value.code = \'170937000\' or value.code = \'170940000\'))))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationValue(DiagnosticChain diagnostics, @@ -334,7 +329,7 @@ boolean validatePatientReferralActEntryRelationshipObservationValue(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::CD))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::CD))))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationValueP(DiagnosticChain diagnostics, @@ -347,7 +342,7 @@ boolean validatePatientReferralActEntryRelationshipObservationValueP(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePatientReferralActEntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -360,7 +355,7 @@ boolean validatePatientReferralActEntryRelationshipTypeCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservation(DiagnosticChain diagnostics, @@ -373,7 +368,7 @@ boolean validatePatientReferralActEntryRelationshipObservation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePatientReferralActParticipantParticipantRoleCodeP(DiagnosticChain diagnostics, @@ -386,7 +381,7 @@ boolean validatePatientReferralActParticipantParticipantRoleCodeP(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePatientReferralActParticipantParticipantRoleCode(DiagnosticChain diagnostics, @@ -399,7 +394,7 @@ boolean validatePatientReferralActParticipantParticipantRoleCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::REFT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::REFT)'" * @generated */ boolean validatePatientReferralActParticipantTypeCode(DiagnosticChain diagnostics, Map context); @@ -411,7 +406,7 @@ boolean validatePatientReferralActParticipantParticipantRoleCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validatePatientReferralActParticipantParticipantRole(DiagnosticChain diagnostics, @@ -421,7 +416,7 @@ boolean validatePatientReferralActParticipantParticipantRole(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection.java index 45bcfcaaa5..5eca40386a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -55,7 +50,7 @@ public interface PayersSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.18\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.18\')'" * @generated */ boolean validatePayersSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -115,7 +110,7 @@ public interface PayersSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::CoverageActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::CoverageActivity))'" * @generated */ boolean validatePayersSectionCoverageActivity(DiagnosticChain diagnostics, Map context); @@ -124,7 +119,7 @@ public interface PayersSection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::CoverageActivity)).oclAsType(consol::CoverageActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::CoverageActivity)).oclAsType(consol::CoverageActivity)'" * @generated */ EList getCoverageActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection2.java index 6747d1d3d2..05d4ae501e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface PayersSection2 extends PayersSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.18\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.18\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePayersSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface PayersSection2 extends PayersSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::CoverageActivity2)).oclAsType(consol::CoverageActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::CoverageActivity2)).oclAsType(consol::CoverageActivity2)'" * @generated */ EList getConsolCoverageActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection.java index e3769c0c68..1c49749111 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -38,7 +33,7 @@ public interface PhysicalExamSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.2.10\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.2.10\')'" * @generated */ boolean validatePhysicalExamSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -98,7 +93,7 @@ public interface PhysicalExamSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PressureUlcerObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PressureUlcerObservation))'" * @generated */ boolean validatePhysicalExamSectionPressureUlcerObservation(DiagnosticChain diagnostics, @@ -111,7 +106,7 @@ boolean validatePhysicalExamSectionPressureUlcerObservation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation))'" * @generated */ boolean validatePhysicalExamSectionNumberOfPressureUlcersObservation(DiagnosticChain diagnostics, @@ -124,7 +119,7 @@ boolean validatePhysicalExamSectionNumberOfPressureUlcersObservation(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HighestPressureUlcerStage))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HighestPressureUlcerStage))'" * @generated */ boolean validatePhysicalExamSectionHighestPressureUlcerStage(DiagnosticChain diagnostics, @@ -134,7 +129,7 @@ boolean validatePhysicalExamSectionHighestPressureUlcerStage(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PressureUlcerObservation)).oclAsType(consol::PressureUlcerObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PressureUlcerObservation)).oclAsType(consol::PressureUlcerObservation)'" * @generated */ EList getPressureUlcerObservations(); @@ -143,7 +138,7 @@ boolean validatePhysicalExamSectionHighestPressureUlcerStage(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" * @generated */ EList getNumberOfPressureUlcersObservations(); @@ -152,7 +147,7 @@ boolean validatePhysicalExamSectionHighestPressureUlcerStage(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" * @generated */ EList getHighestPressureUlcerStages(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection2.java index 06cd37dc54..a586c05f1e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.2.10\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.2.10\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePhysicalExamSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -45,7 +41,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation))'" * @generated */ boolean validatePhysicalExamSection2WoundObservation(DiagnosticChain diagnostics, Map context); @@ -57,7 +53,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies component->exists(component : cda::Component5 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component5))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies component->exists(component : cda::Component5 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component5))'" * @generated */ boolean validatePhysicalExamSection2Component(DiagnosticChain diagnostics, Map context); @@ -69,7 +65,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.1\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.1\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePhysicalExamSection2ComponentSectionCode(DiagnosticChain diagnostics, Map context); @@ -81,7 +77,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePhysicalExamSection2ComponentSectionCodeP(DiagnosticChain diagnostics, Map context); @@ -93,7 +89,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject((title.oclIsUndefined() or title.isNullFlavorUndefined()) implies (not title.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject((title.oclIsUndefined() or title.isNullFlavorUndefined()) implies (not title.oclIsUndefined()))'" * @generated */ boolean validatePhysicalExamSection2ComponentSectionTitle(DiagnosticChain diagnostics, Map context); @@ -105,7 +101,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject(not text.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject(not text.oclIsUndefined())'" * @generated */ boolean validatePhysicalExamSection2ComponentSectionText(DiagnosticChain diagnostics, Map context); @@ -117,7 +113,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null)->reject(section->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(cda::Section)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null)->reject(section->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(cda::Section)))'" * @generated */ boolean validatePhysicalExamSection2ComponentSection(DiagnosticChain diagnostics, Map context); @@ -126,7 +122,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" * @generated */ EList getWoundObservations(); @@ -135,7 +131,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PressureUlcerObservation)).oclAsType(consol::PressureUlcerObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PressureUlcerObservation)).oclAsType(consol::PressureUlcerObservation)'" * @generated */ EList getConsolPressureUlcerObservations(); @@ -144,7 +140,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" * @generated */ EList getConsolHighestPressureUlcerStages(); @@ -153,7 +149,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" * @generated */ EList getConsolNumberOfPressureUlcersObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalFindingsOfSkinSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalFindingsOfSkinSection.java index d3efc6a4e2..66769d9594 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalFindingsOfSkinSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalFindingsOfSkinSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface PhysicalFindingsOfSkinSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.62\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.62\')'" * @generated */ boolean validatePhysicalFindingsOfSkinSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface PhysicalFindingsOfSkinSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation))'" * @generated */ boolean validatePhysicalFindingsOfSkinSectionWoundObservation(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validatePhysicalFindingsOfSkinSectionWoundObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" * @generated */ EList getWoundObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer.java index ab19008db8..962aef8451 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Performer1; /** @@ -33,7 +28,7 @@ public interface PhysicianReadingStudyPerformer extends Performer1 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.1\')'" * @generated */ boolean validatePhysicianReadingStudyPerformerTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface PhysicianReadingStudyPerformer extends Performer1 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity))'" * @generated */ boolean validatePhysicianReadingStudyPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -82,7 +77,7 @@ boolean validatePhysicianReadingStudyPerformerAssignedEntity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" * @generated */ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS( @@ -95,7 +90,7 @@ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" * @generated */ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS( @@ -108,7 +103,7 @@ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" * @generated */ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS( @@ -121,7 +116,7 @@ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" * @generated */ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS( @@ -134,7 +129,7 @@ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(code.codeSystem = \'1.2.840.10008.2.16.4\' or code.codeSystem = \'2.16.840.1.113883.6.101\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(code.codeSystem = \'1.2.840.10008.2.16.4\' or code.codeSystem = \'2.16.840.1.113883.6.101\')'" * @generated */ boolean validatePhysicianReadingStudyPerformerAssignedEntityHasDICOM(DiagnosticChain diagnostics, @@ -147,7 +142,7 @@ boolean validatePhysicianReadingStudyPerformerAssignedEntityHasDICOM(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(not assignedPerson->isEmpty() or not representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(not assignedPerson->isEmpty() or not representedOrganization->isEmpty())'" * @generated */ boolean validatePhysicianReadingStudyPerformerAssignedEntityHasAssignedPersonOrRepresentedOrganization( @@ -160,7 +155,7 @@ boolean validatePhysicianReadingStudyPerformerAssignedEntityHasAssignedPersonOrR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validatePhysicianReadingStudyPerformerAssignedEntityHasNationalProviderId(DiagnosticChain diagnostics, @@ -173,7 +168,7 @@ boolean validatePhysicianReadingStudyPerformerAssignedEntityHasNationalProviderI * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validatePhysicianReadingStudyPerformerAssignedEntityId(DiagnosticChain diagnostics, @@ -186,7 +181,7 @@ boolean validatePhysicianReadingStudyPerformerAssignedEntityId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePhysicianReadingStudyPerformerAssignedEntityCode(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer2.java index 0bfe93f578..8239caefc8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface PhysicianReadingStudyPerformer2 extends PhysicianReadingStudyPe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.1\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.1\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePhysicianReadingStudyPerformer2TemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant.java index 47f3ef12a9..a5571a67bc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.EncounterParticipant; /** @@ -34,7 +29,7 @@ public interface PhysicianofRecordParticipant extends EncounterParticipant { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.2\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.2\')'" * @generated */ boolean validatePhysicianofRecordParticipantTemplateId(DiagnosticChain diagnostics, Map context); @@ -58,7 +53,7 @@ public interface PhysicianofRecordParticipant extends EncounterParticipant { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity))'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntity(DiagnosticChain diagnostics, @@ -71,7 +66,7 @@ boolean validatePhysicianofRecordParticipantAssignedEntity(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntityAssignedPersonName(DiagnosticChain diagnostics, @@ -84,7 +79,7 @@ boolean validatePhysicianofRecordParticipantAssignedEntityAssignedPersonName(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(code.codeSystem = \'1.2.840.10008.2.16.4\' or code.codeSystem = \'2.16.840.1.113883.6.101\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(code.codeSystem = \'1.2.840.10008.2.16.4\' or code.codeSystem = \'2.16.840.1.113883.6.101\')'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntityHasDICOMOrNUCCCode(DiagnosticChain diagnostics, @@ -97,7 +92,7 @@ boolean validatePhysicianofRecordParticipantAssignedEntityHasDICOMOrNUCCCode(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntityHasNationalProviderId(DiagnosticChain diagnostics, @@ -110,7 +105,7 @@ boolean validatePhysicianofRecordParticipantAssignedEntityHasNationalProviderId( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntityCode(DiagnosticChain diagnostics, @@ -123,7 +118,7 @@ boolean validatePhysicianofRecordParticipantAssignedEntityCode(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntityId(DiagnosticChain diagnostics, @@ -136,7 +131,7 @@ boolean validatePhysicianofRecordParticipantAssignedEntityId(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntityAssignedPerson(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant2.java index 930e82d1bf..4e44c08e08 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface PhysicianofRecordParticipant2 extends PhysicianofRecordParticip * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.2\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.2\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePhysicianofRecordParticipant2TemplateId(DiagnosticChain diagnostics, Map context); @@ -45,7 +41,7 @@ public interface PhysicianofRecordParticipant2 extends PhysicianofRecordParticip * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validatePhysicianofRecordParticipant2AssignedEntityRepresentedOrganizationName(DiagnosticChain diagnostics, @@ -58,7 +54,7 @@ boolean validatePhysicianofRecordParticipant2AssignedEntityRepresentedOrganizati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validatePhysicianofRecordParticipant2AssignedEntityRepresentedOrganization(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityAct.java index 153e06171c..39ac9f47eb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityAct.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -32,7 +27,7 @@ public interface PlanOfCareActivityAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.39\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.39\')'" * @generated */ boolean validatePlanOfCareActivityActTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface PlanOfCareActivityAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlanOfCareActivityActId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityEncounter.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityEncounter.java index 92a133721d..bc04279ad1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityEncounter.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityEncounter.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Encounter; /** @@ -32,7 +27,7 @@ public interface PlanOfCareActivityEncounter extends Encounter { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.40\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.40\')'" * @generated */ boolean validatePlanOfCareActivityEncounterTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface PlanOfCareActivityEncounter extends Encounter { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlanOfCareActivityEncounterId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityObservation.java index 54f4872deb..46b74106f4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface PlanOfCareActivityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.44\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.44\')'" * @generated */ boolean validatePlanOfCareActivityObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface PlanOfCareActivityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlanOfCareActivityObservationId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityProcedure.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityProcedure.java index ef7f250fae..c600dd2e74 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityProcedure.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityProcedure.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Procedure; /** @@ -32,7 +27,7 @@ public interface PlanOfCareActivityProcedure extends Procedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.41\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.41\')'" * @generated */ boolean validatePlanOfCareActivityProcedureTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface PlanOfCareActivityProcedure extends Procedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlanOfCareActivityProcedureId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySubstanceAdministration.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySubstanceAdministration.java index cd33a62455..44b6387842 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySubstanceAdministration.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySubstanceAdministration.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.SubstanceAdministration; /** @@ -32,7 +27,7 @@ public interface PlanOfCareActivitySubstanceAdministration extends SubstanceAdmi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.42\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.42\')'" * @generated */ boolean validatePlanOfCareActivitySubstanceAdministrationTemplateId(DiagnosticChain diagnostics, @@ -71,7 +66,7 @@ boolean validatePlanOfCareActivitySubstanceAdministrationMoodCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlanOfCareActivitySubstanceAdministrationId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySupply.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySupply.java index 352362c203..a13cc26e66 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySupply.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySupply.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Supply; /** @@ -32,7 +27,7 @@ public interface PlanOfCareActivitySupply extends Supply { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.43\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.43\')'" * @generated */ boolean validatePlanOfCareActivitySupplyTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface PlanOfCareActivitySupply extends Supply { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlanOfCareActivitySupplyId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareSection.java index 0b528e56d0..72d8ce1a71 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface PlanOfCareSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.10\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.10\')'" * @generated */ boolean validatePlanOfCareSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -97,7 +92,7 @@ public interface PlanOfCareSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PlanOfCareActivityAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PlanOfCareActivityAct))'" * @generated */ boolean validatePlanOfCareSectionPlanOfCareActivityAct(DiagnosticChain diagnostics, Map context); @@ -109,7 +104,7 @@ public interface PlanOfCareSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.encounter.oclIsUndefined() and entry.encounter.oclIsKindOf(consol::PlanOfCareActivityEncounter))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.encounter.oclIsUndefined() and entry.encounter.oclIsKindOf(consol::PlanOfCareActivityEncounter))'" * @generated */ boolean validatePlanOfCareSectionPlanOfCareActivityEncounter(DiagnosticChain diagnostics, @@ -122,7 +117,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivityEncounter(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PlanOfCareActivityObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PlanOfCareActivityObservation))'" * @generated */ boolean validatePlanOfCareSectionPlanOfCareActivityObservation(DiagnosticChain diagnostics, @@ -135,7 +130,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivityObservation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure))'" * @generated */ boolean validatePlanOfCareSectionPlanOfCareActivityProcedure(DiagnosticChain diagnostics, @@ -148,7 +143,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivityProcedure(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::PlanOfCareActivitySubstanceAdministration))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::PlanOfCareActivitySubstanceAdministration))'" * @generated */ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(DiagnosticChain diagnostics, @@ -161,7 +156,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.supply.oclIsUndefined() and entry.supply.oclIsKindOf(consol::PlanOfCareActivitySupply))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.supply.oclIsUndefined() and entry.supply.oclIsKindOf(consol::PlanOfCareActivitySupply))'" * @generated */ boolean validatePlanOfCareSectionPlanOfCareActivitySupply(DiagnosticChain diagnostics, Map context); @@ -173,7 +168,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::Instructions))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::Instructions))'" * @generated */ boolean validatePlanOfCareSectionInstructions(DiagnosticChain diagnostics, Map context); @@ -182,7 +177,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlanOfCareActivityAct)).oclAsType(consol::PlanOfCareActivityAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlanOfCareActivityAct)).oclAsType(consol::PlanOfCareActivityAct)'" * @generated */ EList getPlanOfCareActivityActs(); @@ -191,7 +186,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlanOfCareActivityEncounter)).oclAsType(consol::PlanOfCareActivityEncounter)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlanOfCareActivityEncounter)).oclAsType(consol::PlanOfCareActivityEncounter)'" * @generated */ EList getPlanOfCareActivityEncounters(); @@ -200,7 +195,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlanOfCareActivityObservation)).oclAsType(consol::PlanOfCareActivityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlanOfCareActivityObservation)).oclAsType(consol::PlanOfCareActivityObservation)'" * @generated */ EList getPlanOfCareActivityObservations(); @@ -209,7 +204,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure)).oclAsType(consol::PlanOfCareActivityProcedure)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure)).oclAsType(consol::PlanOfCareActivityProcedure)'" * @generated */ EList getPlanOfCareActivityProcedures(); @@ -218,7 +213,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlanOfCareActivitySubstanceAdministration)).oclAsType(consol::PlanOfCareActivitySubstanceAdministration)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlanOfCareActivitySubstanceAdministration)).oclAsType(consol::PlanOfCareActivitySubstanceAdministration)'" * @generated */ EList getPlanOfCareActivitySubstanceAdministrations(); @@ -227,7 +222,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlanOfCareActivitySupply)).oclAsType(consol::PlanOfCareActivitySupply)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlanOfCareActivitySupply)).oclAsType(consol::PlanOfCareActivitySupply)'" * @generated */ EList getPlanOfCareActivitySupplies(); @@ -236,7 +231,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions)).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions)).oclAsType(consol::Instructions)'" * @generated */ EList getInstructionss(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfTreatmentSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfTreatmentSection2.java index a0d5804bb8..62c3f61d0f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfTreatmentSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfTreatmentSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface PlanOfTreatmentSection2 extends PlanOfCareSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.10\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.10\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlanOfTreatmentSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface PlanOfTreatmentSection2 extends PlanOfCareSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HandoffCommunicationParticipants))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HandoffCommunicationParticipants))'" * @generated */ boolean validatePlanOfTreatmentSection2HandoffCommunication(DiagnosticChain diagnostics, @@ -56,7 +52,7 @@ boolean validatePlanOfTreatmentSection2HandoffCommunication(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::NutritionRecommendation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::NutritionRecommendation))'" * @generated */ boolean validatePlanOfTreatmentSection2NutritionRecommendation(DiagnosticChain diagnostics, @@ -69,7 +65,7 @@ boolean validatePlanOfTreatmentSection2NutritionRecommendation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity))'" * @generated */ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticChain diagnostics, @@ -82,7 +78,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::GoalObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::GoalObservation))'" * @generated */ boolean validatePlanOfTreatmentSection2GoalObservation(DiagnosticChain diagnostics, Map context); @@ -91,7 +87,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlannedObservation2)).oclAsType(consol::PlannedObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlannedObservation2)).oclAsType(consol::PlannedObservation2)'" * @generated */ EList getConsolPlannedObservation2s(); @@ -100,7 +96,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlannedEncounter2)).oclAsType(consol::PlannedEncounter2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlannedEncounter2)).oclAsType(consol::PlannedEncounter2)'" * @generated */ EList getConsolPlannedEncounter2s(); @@ -109,7 +105,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" * @generated */ EList getConsolPlannedAct2s(); @@ -118,7 +114,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" * @generated */ EList getConsolPlannedProcedure2s(); @@ -127,7 +123,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2)).oclAsType(consol::PlannedMedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2)).oclAsType(consol::PlannedMedicationActivity2)'" * @generated */ EList getConsolPlannedMedicationActivity2s(); @@ -136,7 +132,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlannedSupply2)).oclAsType(consol::PlannedSupply2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlannedSupply2)).oclAsType(consol::PlannedSupply2)'" * @generated */ EList getConsolPlannedSupply2s(); @@ -145,7 +141,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getConsolInstruction2s(); @@ -154,7 +150,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" * @generated */ EList getHandoffCommunications(); @@ -163,7 +159,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::NutritionRecommendation)).oclAsType(consol::NutritionRecommendation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::NutritionRecommendation)).oclAsType(consol::NutritionRecommendation)'" * @generated */ EList getNutritionRecommendations(); @@ -172,7 +168,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity)).oclAsType(consol::PlannedImmunizationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity)).oclAsType(consol::PlannedImmunizationActivity)'" * @generated */ EList getPlannedImmunizationActivities(); @@ -181,7 +177,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::GoalObservation)).oclAsType(consol::GoalObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::GoalObservation)).oclAsType(consol::GoalObservation)'" * @generated */ EList getGoalObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedAct2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedAct2.java index ac76646e9b..715c6aeda6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedAct2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedAct2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -43,7 +39,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.39\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.39\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedAct2TemplateId(DiagnosticChain diagnostics, Map context); @@ -103,7 +99,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedAct2Indication2(DiagnosticChain diagnostics, Map context); @@ -115,7 +111,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePlannedAct2Instruction2(DiagnosticChain diagnostics, Map context); @@ -127,7 +123,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedAct2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -139,7 +135,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedAct2Performer(DiagnosticChain diagnostics, Map context); @@ -151,7 +147,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedAct2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -160,7 +156,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); @@ -169,7 +165,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); @@ -178,7 +174,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedCoverage.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedCoverage.java index dbed6663d8..db244764af 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedCoverage.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedCoverage.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -34,7 +29,7 @@ public interface PlannedCoverage extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.129\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.129\')'" * @generated */ boolean validatePlannedCoverageTemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ public interface PlannedCoverage extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlannedCoverageId(DiagnosticChain diagnostics, Map context); @@ -130,7 +125,7 @@ public interface PlannedCoverage extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))'" * @generated */ boolean validatePlannedCoverageEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface PlannedCoverage extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedCoverageAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface PlannedCoverage extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject(classCode=vocab::x_ActClassDocumentEntryAct::ACT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject(classCode=vocab::x_ActClassDocumentEntryAct::ACT)'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActClassCode(DiagnosticChain diagnostics, @@ -167,7 +162,7 @@ boolean validatePlannedCoverageEntryRelationshipActClassCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject(moodCode=vocab::x_DocumentActMood::INT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject(moodCode=vocab::x_DocumentActMood::INT)'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActMoodCode(DiagnosticChain diagnostics, @@ -180,7 +175,7 @@ boolean validatePlannedCoverageEntryRelationshipActMoodCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActId(DiagnosticChain diagnostics, Map context); @@ -192,7 +187,7 @@ boolean validatePlannedCoverageEntryRelationshipActMoodCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActCodeP(DiagnosticChain diagnostics, Map context); @@ -204,7 +199,7 @@ boolean validatePlannedCoverageEntryRelationshipActMoodCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.3.221.5\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.3.221.5\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActCode(DiagnosticChain diagnostics, Map context); @@ -216,7 +211,7 @@ boolean validatePlannedCoverageEntryRelationshipActMoodCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined() and statusCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = statusCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'active\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined() and statusCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = statusCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'active\'))'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActStatusCode(DiagnosticChain diagnostics, @@ -229,7 +224,7 @@ boolean validatePlannedCoverageEntryRelationshipActStatusCode(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActStatusCodeP(DiagnosticChain diagnostics, @@ -242,7 +237,7 @@ boolean validatePlannedCoverageEntryRelationshipActStatusCodeP(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePlannedCoverageEntryRelationshipTypeCode(DiagnosticChain diagnostics, Map context); @@ -254,7 +249,7 @@ boolean validatePlannedCoverageEntryRelationshipActStatusCodeP(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(cda::Act)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(cda::Act)))'" * @generated */ boolean validatePlannedCoverageEntryRelationshipAct(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedEncounter2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedEncounter2.java index 3cf1e583d9..3a5f1abcd5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedEncounter2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedEncounter2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface PlannedEncounter2 extends PlanOfCareActivityEncounter { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsTypeOf(consol::ServiceDeliveryLocation))->forAll(pars : cda::Participant2 | pars.typeCode=vocab::ParticipationType::LOC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsTypeOf(consol::ServiceDeliveryLocation))->forAll(pars : cda::Participant2 | pars.typeCode=vocab::ParticipationType::LOC)'" * @generated */ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(DiagnosticChain diagnostics, @@ -45,7 +41,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.40\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.40\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedEncounter2TemplateId(DiagnosticChain diagnostics, Map context); @@ -117,7 +113,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" * @generated */ boolean validatePlannedEncounter2Performer(DiagnosticChain diagnostics, Map context); @@ -129,7 +125,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" * @generated */ boolean validatePlannedEncounter2ServiceDeliveryLocation(DiagnosticChain diagnostics, Map context); @@ -141,7 +137,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedEncounter2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -153,7 +149,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedEncounter2Indication2(DiagnosticChain diagnostics, Map context); @@ -165,7 +161,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedEncounter2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -177,7 +173,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validatePlannedEncounter2PerformerAssignedEntity(DiagnosticChain diagnostics, Map context); @@ -186,7 +182,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" * @generated */ EList getServiceDeliveryLocations(); @@ -195,7 +191,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference))->asSequence()->any(true).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference))->asSequence()->any(true).oclAsType(consol::PriorityPreference)'" * @generated */ PriorityPreference getPriorityPreference(); @@ -204,7 +200,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedImmunizationActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedImmunizationActivity.java index 8f9577606a..13e48d7349 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedImmunizationActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedImmunizationActivity.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.SubstanceAdministration; /** @@ -37,7 +32,7 @@ public interface PlannedImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.120\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.120\')'" * @generated */ boolean validatePlannedImmunizationActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -85,7 +80,7 @@ public interface PlannedImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlannedImmunizationActivityId(DiagnosticChain diagnostics, Map context); @@ -121,7 +116,7 @@ public interface PlannedImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (self.effectiveTime->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (self.effectiveTime->size() = 1)'" * @generated */ boolean validatePlannedImmunizationActivityEffectiveTime(DiagnosticChain diagnostics, Map context); @@ -169,7 +164,7 @@ public interface PlannedImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.approachSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.approachSiteCode->isEmpty())'" * @generated */ boolean validatePlannedImmunizationActivityApproachSiteCodeP(DiagnosticChain diagnostics, @@ -182,7 +177,7 @@ boolean validatePlannedImmunizationActivityApproachSiteCodeP(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePlannedImmunizationActivityApproachSiteCode(DiagnosticChain diagnostics, @@ -207,7 +202,7 @@ boolean validatePlannedImmunizationActivityApproachSiteCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedImmunizationActivityPerformer(DiagnosticChain diagnostics, Map context); @@ -219,7 +214,7 @@ boolean validatePlannedImmunizationActivityApproachSiteCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedImmunizationActivityAuthorParticipation(DiagnosticChain diagnostics, @@ -232,7 +227,7 @@ boolean validatePlannedImmunizationActivityAuthorParticipation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain diagnostics, @@ -245,7 +240,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedImmunizationActivityIndication2(DiagnosticChain diagnostics, Map context); @@ -257,7 +252,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePlannedImmunizationActivityInstruction2(DiagnosticChain diagnostics, Map context); @@ -269,7 +264,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" * @generated */ boolean validatePlannedImmunizationActivityPrecondition(DiagnosticChain diagnostics, Map context); @@ -281,7 +276,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" * @generated */ boolean validatePlannedImmunizationActivityConsumable(DiagnosticChain diagnostics, Map context); @@ -293,7 +288,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validatePlannedImmunizationActivityCETranslationP(DiagnosticChain diagnostics, Map context); @@ -305,7 +300,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" * @generated */ boolean validatePlannedImmunizationActivityCETranslation(DiagnosticChain diagnostics, Map context); @@ -317,7 +312,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not unit.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not unit.oclIsUndefined() )))'" * @generated */ boolean validatePlannedImmunizationActivityIVLPQUnit(DiagnosticChain diagnostics, Map context); @@ -329,7 +324,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::ImmunizationMedicationInformation2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::ImmunizationMedicationInformation2)))'" * @generated */ boolean validatePlannedImmunizationActivityConsumableImmunizationMedicationInformation2(DiagnosticChain diagnostics, @@ -342,7 +337,7 @@ boolean validatePlannedImmunizationActivityConsumableImmunizationMedicationInfor * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" * @generated */ boolean validatePlannedImmunizationActivityPreconditionTypeCode(DiagnosticChain diagnostics, @@ -355,7 +350,7 @@ boolean validatePlannedImmunizationActivityPreconditionTypeCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration2)))'" * @generated */ boolean validatePlannedImmunizationActivityPreconditionPreconditionForSubstanceAdministration2( @@ -365,7 +360,7 @@ boolean validatePlannedImmunizationActivityPreconditionPreconditionForSubstanceA * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -374,7 +369,7 @@ boolean validatePlannedImmunizationActivityPreconditionPreconditionForSubstanceA * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); @@ -383,7 +378,7 @@ boolean validatePlannedImmunizationActivityPreconditionPreconditionForSubstanceA * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedInterventionAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedInterventionAct.java index b39949fee9..8a9c8d9a4a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedInterventionAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedInterventionAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -34,7 +29,7 @@ public interface PlannedInterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.146\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.146\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validatePlannedInterventionActTemplateId(DiagnosticChain diagnostics, Map context); @@ -82,7 +77,7 @@ public interface PlannedInterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlannedInterventionActId(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface PlannedInterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedInterventionActAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ public interface PlannedInterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AdvanceDirectiveObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AdvanceDirectiveObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActAdvanceDirectiveObservation2(DiagnosticChain diagnostics, @@ -179,7 +174,7 @@ boolean validatePlannedInterventionActAdvanceDirectiveObservation2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActImmunizationActivity2(DiagnosticChain diagnostics, @@ -192,7 +187,7 @@ boolean validatePlannedInterventionActImmunizationActivity2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActMedicationActivity2(DiagnosticChain diagnostics, Map context); @@ -204,7 +199,7 @@ boolean validatePlannedInterventionActImmunizationActivity2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProcedureActivityAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProcedureActivityAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActProcedureActivityAct2(DiagnosticChain diagnostics, @@ -217,7 +212,7 @@ boolean validatePlannedInterventionActProcedureActivityAct2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::InterventionAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::InterventionAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActInterventionAct(DiagnosticChain diagnostics, Map context); @@ -229,7 +224,7 @@ boolean validatePlannedInterventionActProcedureActivityAct2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProcedureActivityObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProcedureActivityObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActProcedureActivityObservation2(DiagnosticChain diagnostics, @@ -242,7 +237,7 @@ boolean validatePlannedInterventionActProcedureActivityObservation2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActProcedureActivityProcedure2(DiagnosticChain diagnostics, @@ -255,7 +250,7 @@ boolean validatePlannedInterventionActProcedureActivityProcedure2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::EncounterActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::EncounterActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActEncounterActivity2(DiagnosticChain diagnostics, Map context); @@ -267,7 +262,7 @@ boolean validatePlannedInterventionActProcedureActivityProcedure2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActInstruction2(DiagnosticChain diagnostics, Map context); @@ -279,7 +274,7 @@ boolean validatePlannedInterventionActProcedureActivityProcedure2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActNonMedicinalSupplyActivity2(DiagnosticChain diagnostics, @@ -292,7 +287,7 @@ boolean validatePlannedInterventionActNonMedicinalSupplyActivity2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedAct2(DiagnosticChain diagnostics, Map context); @@ -304,7 +299,7 @@ boolean validatePlannedInterventionActNonMedicinalSupplyActivity2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::PlannedEncounter2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::PlannedEncounter2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedEncounter2(DiagnosticChain diagnostics, Map context); @@ -316,7 +311,7 @@ boolean validatePlannedInterventionActNonMedicinalSupplyActivity2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PlannedObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PlannedObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedObservation2(DiagnosticChain diagnostics, Map context); @@ -328,7 +323,7 @@ boolean validatePlannedInterventionActNonMedicinalSupplyActivity2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::PlannedProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::PlannedProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedProcedure2(DiagnosticChain diagnostics, Map context); @@ -340,7 +335,7 @@ boolean validatePlannedInterventionActNonMedicinalSupplyActivity2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedMedicationActivity2(DiagnosticChain diagnostics, @@ -353,7 +348,7 @@ boolean validatePlannedInterventionActPlannedMedicationActivity2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::PlannedSupply2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::PlannedSupply2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedSupply2(DiagnosticChain diagnostics, Map context); @@ -365,7 +360,7 @@ boolean validatePlannedInterventionActPlannedMedicationActivity2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::NutritionRecommendation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::NutritionRecommendation))'" * @generated */ boolean validatePlannedInterventionActNutritionRecommendation(DiagnosticChain diagnostics, @@ -378,7 +373,7 @@ boolean validatePlannedInterventionActNutritionRecommendation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActEntryReferenceDocInstance(DiagnosticChain diagnostics, @@ -391,7 +386,7 @@ boolean validatePlannedInterventionActEntryReferenceDocInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedInterventionActEntryReferenceGoalObs(DiagnosticChain diagnostics, @@ -404,7 +399,7 @@ boolean validatePlannedInterventionActEntryReferenceGoalObs(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HandoffCommunicationParticipants) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HandoffCommunicationParticipants) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActHandoffCommunicationParticipants(DiagnosticChain diagnostics, @@ -417,7 +412,7 @@ boolean validatePlannedInterventionActHandoffCommunicationParticipants(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedImmunizationActivity(DiagnosticChain diagnostics, @@ -430,7 +425,7 @@ boolean validatePlannedInterventionActPlannedImmunizationActivity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validatePlannedInterventionActReference(DiagnosticChain diagnostics, Map context); @@ -442,7 +437,7 @@ boolean validatePlannedInterventionActPlannedImmunizationActivity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validatePlannedInterventionActReferenceTypeCode(DiagnosticChain diagnostics, Map context); @@ -454,7 +449,7 @@ boolean validatePlannedInterventionActPlannedImmunizationActivity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" * @generated */ boolean validatePlannedInterventionActReferenceExternalDocumentReference(DiagnosticChain diagnostics, @@ -464,7 +459,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" * @generated */ EList getAdvanceDirectiveObservation2s(); @@ -473,7 +468,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2)).oclAsType(consol::ImmunizationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2)).oclAsType(consol::ImmunizationActivity2)'" * @generated */ EList getImmunizationActivity2s(); @@ -482,7 +477,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getMedicationActivity2s(); @@ -491,7 +486,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)).oclAsType(consol::ProcedureActivityAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)).oclAsType(consol::ProcedureActivityAct2)'" * @generated */ EList getProcedureActivityAct2s(); @@ -500,7 +495,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::InterventionAct)).oclAsType(consol::InterventionAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::InterventionAct)).oclAsType(consol::InterventionAct)'" * @generated */ EList getInterventionActs(); @@ -509,7 +504,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)).oclAsType(consol::ProcedureActivityObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)).oclAsType(consol::ProcedureActivityObservation2)'" * @generated */ EList getProcedureActivityObservation2s(); @@ -518,7 +513,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getProcedureActivityProcedure2s(); @@ -527,7 +522,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivity2)).oclAsType(consol::EncounterActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivity2)).oclAsType(consol::EncounterActivity2)'" * @generated */ EList getEncounterActivity2s(); @@ -536,7 +531,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); @@ -545,7 +540,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" * @generated */ EList getNonMedicinalSupplyActivity2s(); @@ -554,7 +549,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" * @generated */ EList getPlannedAct2s(); @@ -563,7 +558,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlannedEncounter2)).oclAsType(consol::PlannedEncounter2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlannedEncounter2)).oclAsType(consol::PlannedEncounter2)'" * @generated */ EList getPlannedEncounter2s(); @@ -572,7 +567,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlannedObservation2)).oclAsType(consol::PlannedObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlannedObservation2)).oclAsType(consol::PlannedObservation2)'" * @generated */ EList getPlannedObservation2s(); @@ -581,7 +576,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" * @generated */ EList getPlannedProcedure2s(); @@ -590,7 +585,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2)).oclAsType(consol::PlannedMedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2)).oclAsType(consol::PlannedMedicationActivity2)'" * @generated */ EList getPlannedMedicationActivity2s(); @@ -599,7 +594,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlannedSupply2)).oclAsType(consol::PlannedSupply2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlannedSupply2)).oclAsType(consol::PlannedSupply2)'" * @generated */ EList getPlannedSupply2s(); @@ -608,7 +603,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::NutritionRecommendation)).oclAsType(consol::NutritionRecommendation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::NutritionRecommendation)).oclAsType(consol::NutritionRecommendation)'" * @generated */ EList getNutritionRecommendations(); @@ -617,7 +612,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceDocInstances(); @@ -626,7 +621,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceGoalObss(); @@ -635,7 +630,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" * @generated */ EList getHandoffCommunicationParticipantss(); @@ -644,7 +639,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity)).oclAsType(consol::PlannedImmunizationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity)).oclAsType(consol::PlannedImmunizationActivity)'" * @generated */ EList getPlannedImmunizationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedMedicationActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedMedicationActivity2.java index 12ec61dab8..34652f1ff7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedMedicationActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedMedicationActivity2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface PlannedMedicationActivity2 extends PlanOfCareActivitySubstanceA * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->size() = 1 xor self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->size() = 1 xor self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->size() = 1'" * @generated */ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSorTS(DiagnosticChain diagnostics, @@ -49,7 +45,7 @@ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSorTS(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1)'" * @generated */ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSLow(DiagnosticChain diagnostics, @@ -62,7 +58,7 @@ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSLow(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).high->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).high->size() = 1)'" * @generated */ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSHigh(DiagnosticChain diagnostics, @@ -75,7 +71,7 @@ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSHigh(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1) ) and ( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->forAll( eff | eff.oclAsType(datatypes:: SXCM_TS).value->size() = 1 or eff.oclAsType(datatypes::SXCM_TS).isNullFlavorDefined()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1) ) and ( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->forAll( eff | eff.oclAsType(datatypes:: SXCM_TS).value->size() = 1 or eff.oclAsType(datatypes::SXCM_TS).isNullFlavorDefined()) )'" * @generated */ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSLowXorValue(DiagnosticChain diagnostics, @@ -88,7 +84,7 @@ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSLowXorValue(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::PIVL_TS) or ef.oclIsTypeOf(datatypes::EIVL_TS))->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::PIVL_TS) or ef.oclIsTypeOf(datatypes::EIVL_TS))->size() = 1'" * @generated */ boolean validatePlannedMedicationActivity2EffectiveTimePIVLTS(DiagnosticChain diagnostics, @@ -101,7 +97,7 @@ boolean validatePlannedMedicationActivity2EffectiveTimePIVLTS(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.42\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.42\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedMedicationActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -173,7 +169,7 @@ boolean validatePlannedMedicationActivity2EffectiveTimePIVLTS(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.approachSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.approachSiteCode->isEmpty())'" * @generated */ boolean validatePlannedMedicationActivity2ApproachSiteCodeP(DiagnosticChain diagnostics, @@ -186,7 +182,7 @@ boolean validatePlannedMedicationActivity2ApproachSiteCodeP(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePlannedMedicationActivity2ApproachSiteCode(DiagnosticChain diagnostics, @@ -261,7 +257,7 @@ boolean validatePlannedMedicationActivity2AdministrationUnitCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedMedicationActivity2Performer(DiagnosticChain diagnostics, Map context); @@ -273,7 +269,7 @@ boolean validatePlannedMedicationActivity2AdministrationUnitCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedMedicationActivity2AuthorParticipation(DiagnosticChain diagnostics, @@ -286,7 +282,7 @@ boolean validatePlannedMedicationActivity2AuthorParticipation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain diagnostics, @@ -299,7 +295,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedMedicationActivity2Indication2(DiagnosticChain diagnostics, Map context); @@ -311,7 +307,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePlannedMedicationActivity2Instruction2(DiagnosticChain diagnostics, Map context); @@ -323,7 +319,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" * @generated */ boolean validatePlannedMedicationActivity2Consumable(DiagnosticChain diagnostics, Map context); @@ -335,7 +331,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" * @generated */ boolean validatePlannedMedicationActivity2Precondition(DiagnosticChain diagnostics, Map context); @@ -347,7 +343,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.priorityCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.priorityCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validatePlannedMedicationActivity2CETranslationP(DiagnosticChain diagnostics, Map context); @@ -359,7 +355,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.priorityCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.priorityCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" * @generated */ boolean validatePlannedMedicationActivity2CETranslation(DiagnosticChain diagnostics, Map context); @@ -371,7 +367,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not unit.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not unit.oclIsUndefined() )))'" * @generated */ boolean validatePlannedMedicationActivity2IVLPQdoseQuantityUnit(DiagnosticChain diagnostics, @@ -384,7 +380,7 @@ boolean validatePlannedMedicationActivity2IVLPQdoseQuantityUnit(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not unit.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not unit.oclIsUndefined() )))'" * @generated */ boolean validatePlannedMedicationActivity2IVLPQrateQuantityUnit(DiagnosticChain diagnostics, @@ -397,7 +393,7 @@ boolean validatePlannedMedicationActivity2IVLPQrateQuantityUnit(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::MedicationInformation2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::MedicationInformation2)))'" * @generated */ boolean validatePlannedMedicationActivity2ConsumableMedicationInformation2(DiagnosticChain diagnostics, @@ -410,7 +406,7 @@ boolean validatePlannedMedicationActivity2ConsumableMedicationInformation2(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" * @generated */ boolean validatePlannedMedicationActivity2PreconditionTypeCode(DiagnosticChain diagnostics, @@ -423,7 +419,7 @@ boolean validatePlannedMedicationActivity2PreconditionTypeCode(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration2)))'" * @generated */ boolean validatePlannedMedicationActivity2PreconditionPreconditionForSubstanceAdministration2( @@ -433,7 +429,7 @@ boolean validatePlannedMedicationActivity2PreconditionPreconditionForSubstanceAd * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -442,7 +438,7 @@ boolean validatePlannedMedicationActivity2PreconditionPreconditionForSubstanceAd * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); @@ -451,7 +447,7 @@ boolean validatePlannedMedicationActivity2PreconditionPreconditionForSubstanceAd * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedObservation2.java index 0a7af41eb8..fb9c2d523e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.44\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.44\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -103,7 +99,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" * @generated */ boolean validatePlannedObservation2Value(DiagnosticChain diagnostics, Map context); @@ -115,7 +111,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" * @generated */ boolean validatePlannedObservation2MethodCode(DiagnosticChain diagnostics, Map context); @@ -127,7 +123,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" * @generated */ boolean validatePlannedObservation2TargetSiteCodeP(DiagnosticChain diagnostics, Map context); @@ -139,7 +135,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePlannedObservation2TargetSiteCode(DiagnosticChain diagnostics, Map context); @@ -151,7 +147,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedObservation2Performer(DiagnosticChain diagnostics, Map context); @@ -163,7 +159,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedObservation2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -175,7 +171,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedObservation2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -187,7 +183,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedObservation2Indication2(DiagnosticChain diagnostics, Map context); @@ -199,7 +195,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePlannedObservation2Instruction2(DiagnosticChain diagnostics, Map context); @@ -211,7 +207,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedCoverage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedCoverage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePlannedObservation2PlannedCoverage(DiagnosticChain diagnostics, Map context); @@ -220,7 +216,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -229,7 +225,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); @@ -238,7 +234,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); @@ -247,7 +243,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedCoverage)).oclAsType(consol::PlannedCoverage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedCoverage)).oclAsType(consol::PlannedCoverage)'" * @generated */ EList getPlannedCoverages(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedure2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedure2.java index f26c352ae2..bc09988d6e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedure2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedure2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -55,7 +51,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instruction2))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instruction2))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validatePlannedProcedure2Instruction2InversionInd(DiagnosticChain diagnostics, Map context); @@ -67,7 +63,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.41\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.41\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedProcedure2TemplateId(DiagnosticChain diagnostics, Map context); @@ -127,7 +123,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (not self.methodCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (not self.methodCode->isEmpty())'" * @generated */ boolean validatePlannedProcedure2MethodCode(DiagnosticChain diagnostics, Map context); @@ -139,7 +135,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" * @generated */ boolean validatePlannedProcedure2TargetSiteCodeP(DiagnosticChain diagnostics, Map context); @@ -151,7 +147,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePlannedProcedure2TargetSiteCode(DiagnosticChain diagnostics, Map context); @@ -163,7 +159,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedProcedure2Performer(DiagnosticChain diagnostics, Map context); @@ -175,7 +171,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedProcedure2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -187,7 +183,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedProcedure2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -199,7 +195,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedProcedure2Indication2(DiagnosticChain diagnostics, Map context); @@ -211,7 +207,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePlannedProcedure2Instruction2(DiagnosticChain diagnostics, Map context); @@ -223,7 +219,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedCoverage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedCoverage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePlannedProcedure2PlannedCoverage(DiagnosticChain diagnostics, Map context); @@ -232,7 +228,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -241,7 +237,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); @@ -250,7 +246,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); @@ -259,7 +255,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedCoverage)).oclAsType(consol::PlannedCoverage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedCoverage)).oclAsType(consol::PlannedCoverage)'" * @generated */ EList getPlannedCoverages(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection.java index 37fee3a22a..407cb5ac6f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface PlannedProcedureSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.30\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.30\')'" * @generated */ boolean validatePlannedProcedureSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface PlannedProcedureSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure))'" * @generated */ boolean validatePlannedProcedureSectionPlanOfCareActivityProcedure(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validatePlannedProcedureSectionPlanOfCareActivityProcedure(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure)).oclAsType(consol::PlanOfCareActivityProcedure)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure)).oclAsType(consol::PlanOfCareActivityProcedure)'" * @generated */ EList getPlanOfCareActivityProcedures(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection2.java index a10b8fbc38..7ff3650e41 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface PlannedProcedureSection2 extends PlannedProcedureSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.30\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.30\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedProcedureSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface PlannedProcedureSection2 extends PlannedProcedureSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" * @generated */ EList getConsolPlannedProcedure2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedSupply2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedSupply2.java index 1eb6d640e5..e21b1a2476 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedSupply2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedSupply2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface PlannedSupply2 extends PlanOfCareActivitySupply { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( (not product.oclIsUndefined() or participant->size() > 0) and ( (product.manufacturedProduct.oclIsTypeOf(consol::MedicationInformation2)) or (product.manufacturedProduct.oclIsTypeOf(consol::ImmunizationMedicationInformation2)) or (participant.participantRole->select(oclIsTypeOf(consol::ProductInstance))->size() = 1) )) implies ( (product.manufacturedProduct.oclIsTypeOf(consol::MedicationInformation2)) xor (product.manufacturedProduct.oclIsTypeOf(consol::ImmunizationMedicationInformation2)) xor (participant.participantRole->select(oclIsTypeOf(consol::ProductInstance))->size() = 1) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( (not product.oclIsUndefined() or participant->size() > 0) and ( (product.manufacturedProduct.oclIsTypeOf(consol::MedicationInformation2)) or (product.manufacturedProduct.oclIsTypeOf(consol::ImmunizationMedicationInformation2)) or (participant.participantRole->select(oclIsTypeOf(consol::ProductInstance))->size() = 1) )) implies ( (product.manufacturedProduct.oclIsTypeOf(consol::MedicationInformation2)) xor (product.manufacturedProduct.oclIsTypeOf(consol::ImmunizationMedicationInformation2)) xor (participant.participantRole->select(oclIsTypeOf(consol::ProductInstance))->size() = 1) )'" * @generated */ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain diagnostics, @@ -46,7 +42,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.43\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.43\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedSupply2TemplateId(DiagnosticChain diagnostics, Map context); @@ -82,7 +78,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" * @generated */ boolean validatePlannedSupply2EffectiveTime(DiagnosticChain diagnostics, Map context); @@ -118,7 +114,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->one(product : cda::Product | not product.oclIsUndefined() and product.oclIsKindOf(cda::Product))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->one(product : cda::Product | not product.oclIsUndefined() and product.oclIsKindOf(cda::Product))'" * @generated */ boolean validatePlannedSupply2Product(DiagnosticChain diagnostics, Map context); @@ -130,7 +126,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedSupply2Performer(DiagnosticChain diagnostics, Map context); @@ -142,7 +138,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedSupply2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -154,7 +150,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ProductInstance))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ProductInstance))'" * @generated */ boolean validatePlannedSupply2ProductInstance(DiagnosticChain diagnostics, Map context); @@ -166,7 +162,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedSupply2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -178,7 +174,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedSupply2Indication2(DiagnosticChain diagnostics, Map context); @@ -190,7 +186,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePlannedSupply2Instruction2(DiagnosticChain diagnostics, Map context); @@ -202,7 +198,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedCoverage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedCoverage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePlannedSupply2PlannedCoverage(DiagnosticChain diagnostics, Map context); @@ -214,7 +210,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->one(product : cda::Product | not product.oclIsUndefined() and product.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->one(product : cda::Product | not product.oclIsUndefined() and product.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedSupply2ProductRecommended(DiagnosticChain diagnostics, Map context); @@ -226,7 +222,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->excluding(null).manufacturedProduct->excluding(null)->reject(oclIsTypeOf(consol::MedicationInformation2) xor oclIsTypeOf(consol::ImmunizationMedicationInformation2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->excluding(null).manufacturedProduct->excluding(null)->reject(oclIsTypeOf(consol::MedicationInformation2) xor oclIsTypeOf(consol::ImmunizationMedicationInformation2))'" * @generated */ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2(DiagnosticChain diagnostics, @@ -239,7 +235,7 @@ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2 * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(cda::ManufacturedProduct)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(cda::ManufacturedProduct)))'" * @generated */ boolean validatePlannedSupply2ProductManufacturedProduct(DiagnosticChain diagnostics, Map context); @@ -248,7 +244,7 @@ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance))->asSequence()->any(true).oclAsType(consol::ProductInstance)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance))->asSequence()->any(true).oclAsType(consol::ProductInstance)'" * @generated */ ProductInstance getProductInstance(); @@ -257,7 +253,7 @@ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -266,7 +262,7 @@ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); @@ -275,7 +271,7 @@ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); @@ -284,7 +280,7 @@ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedCoverage)).oclAsType(consol::PlannedCoverage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedCoverage)).oclAsType(consol::PlannedCoverage)'" * @generated */ EList getPlannedCoverages(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity.java index 28789cca50..e9e675f60d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -43,7 +38,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.61\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.61\')'" * @generated */ boolean validatePolicyActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -79,7 +74,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePolicyActivityId(DiagnosticChain diagnostics, Map context); @@ -127,7 +122,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->select(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->select(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->size() = 1'" * @generated */ boolean validatePolicyActivityPayer(DiagnosticChain diagnostics, Map context); @@ -139,7 +134,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->select(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->select(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->size() = 1'" * @generated */ boolean validatePolicyActivityGuarantor(DiagnosticChain diagnostics, Map context); @@ -151,7 +146,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::COV)->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::COV)->size() = 1'" * @generated */ boolean validatePolicyActivityCoverage(DiagnosticChain diagnostics, Map context); @@ -163,7 +158,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::HLD)->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::HLD)->size() = 1'" * @generated */ boolean validatePolicyActivityHolder(DiagnosticChain diagnostics, Map context); @@ -175,7 +170,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->notEmpty()'" * @generated */ boolean validatePolicyActivityEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -187,7 +182,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -200,7 +195,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -213,7 +208,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -226,7 +221,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -239,7 +234,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -252,7 +247,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -265,7 +260,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -278,7 +273,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -291,7 +286,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -304,7 +299,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -317,7 +312,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganizationName(DiagnosticChain diagnostics, @@ -330,7 +325,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganizationName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityId(DiagnosticChain diagnostics, Map context); @@ -342,7 +337,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganizationName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -355,7 +350,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityCodeP(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.110\' and (value.code = \'AFFL\' or value.code = \'AGNT\' or value.code = \'CIT\' or value.code = \'CRINV\' or value.code = \'CRSPNSR\' or value.code = \'SPNSR\' or value.code = \'COVPTY\' or value.code = \'EMP\' or value.code = \'GUAR\' or value.code = \'INVSBJ\' or value.code = \'PAYOR\' or value.code = \'LIC\' or value.code = \'PAT\' or value.code = \'PAYEE\' or value.code = \'POLHOLD\' or value.code = \'QUAL\' or value.code = \'STD\' or value.code = \'UNDWRT\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.110\' and (value.code = \'AFFL\' or value.code = \'AGNT\' or value.code = \'CIT\' or value.code = \'CRINV\' or value.code = \'CRSPNSR\' or value.code = \'SPNSR\' or value.code = \'COVPTY\' or value.code = \'EMP\' or value.code = \'GUAR\' or value.code = \'INVSBJ\' or value.code = \'PAYOR\' or value.code = \'LIC\' or value.code = \'PAT\' or value.code = \'PAYEE\' or value.code = \'POLHOLD\' or value.code = \'QUAL\' or value.code = \'STD\' or value.code = \'UNDWRT\')))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityCode(DiagnosticChain diagnostics, @@ -368,7 +363,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityAddr(DiagnosticChain diagnostics, @@ -381,7 +376,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityAddr(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityTelecom(DiagnosticChain diagnostics, @@ -394,7 +389,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityTelecom(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganization(DiagnosticChain diagnostics, @@ -407,7 +402,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganization(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))'" * @generated */ boolean validatePolicyActivityPayerTemplateId(DiagnosticChain diagnostics, Map context); @@ -419,7 +414,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganization(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->reject(isDefined(\'typeCode\') and typeCode=vocab::ParticipationPhysicalPerformer::PRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->reject(isDefined(\'typeCode\') and typeCode=vocab::ParticipationPhysicalPerformer::PRF)'" * @generated */ boolean validatePolicyActivityPayerTypeCode(DiagnosticChain diagnostics, Map context); @@ -431,7 +426,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganization(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntity(DiagnosticChain diagnostics, Map context); @@ -443,7 +438,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganization(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -456,7 +451,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -469,7 +464,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -482,7 +477,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -495,7 +490,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -508,7 +503,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -521,7 +516,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -534,7 +529,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -547,7 +542,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -560,7 +555,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -573,7 +568,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((performer.assignedEntity.assignedPerson->exists(not oclIsUndefined()) and performer.assignedEntity.assignedPerson.name->size() >0) or (performer.assignedEntity.representedOrganization->exists(not oclIsUndefined()) and performer.assignedEntity.representedOrganization.name->size() >0 ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((performer.assignedEntity.assignedPerson->exists(not oclIsUndefined()) and performer.assignedEntity.assignedPerson.name->size() >0) or (performer.assignedEntity.representedOrganization->exists(not oclIsUndefined()) and performer.assignedEntity.representedOrganization.name->size() >0 ))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityPersonNameAndOrOrgName(DiagnosticChain diagnostics, @@ -586,7 +581,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityPersonNameAndOrOrg * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.code = \'GUAR\' and value.codeSystem = \'2.16.840.1.113883.5.110\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.code = \'GUAR\' and value.codeSystem = \'2.16.840.1.113883.5.110\'))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode(DiagnosticChain diagnostics, @@ -599,7 +594,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -612,7 +607,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCodeP(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityAddr(DiagnosticChain diagnostics, @@ -625,7 +620,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityAddr(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(DiagnosticChain diagnostics, @@ -638,7 +633,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))'" * @generated */ boolean validatePolicyActivityGuarantorTemplateId(DiagnosticChain diagnostics, Map context); @@ -650,7 +645,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivityGuarantorTime(DiagnosticChain diagnostics, Map context); @@ -662,7 +657,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject(typeCode=vocab::ParticipationPhysicalPerformer::PRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject(typeCode=vocab::ParticipationPhysicalPerformer::PRF)'" * @generated */ boolean validatePolicyActivityGuarantorTypeCode(DiagnosticChain diagnostics, Map context); @@ -674,7 +669,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntity(DiagnosticChain diagnostics, @@ -687,7 +682,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntity(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -700,7 +695,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -713,7 +708,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -726,7 +721,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUseP( @@ -739,7 +734,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUse( @@ -752,7 +747,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressCountry( @@ -765,7 +760,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressState( @@ -778,7 +773,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressCity( @@ -791,7 +786,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -804,7 +799,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -817,7 +812,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName(DiagnosticChain diagnostics, @@ -830,7 +825,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleId(DiagnosticChain diagnostics, Map context); @@ -842,7 +837,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and (value.code = \'FAMDEP\' or value.code = \'FSTUD\' or value.code = \'HANDIC\' or value.code = \'INJ\' or value.code = \'PSTUD\' or value.code = \'SELF\' or value.code = \'SPON\' or value.code = \'STUD\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and (value.code = \'FAMDEP\' or value.code = \'FSTUD\' or value.code = \'HANDIC\' or value.code = \'INJ\' or value.code = \'PSTUD\' or value.code = \'SELF\' or value.code = \'SPON\' or value.code = \'STUD\')))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleCode(DiagnosticChain diagnostics, Map context); @@ -854,7 +849,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleCodeP(DiagnosticChain diagnostics, Map context); @@ -866,7 +861,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleAddr(DiagnosticChain diagnostics, Map context); @@ -878,7 +873,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(DiagnosticChain diagnostics, @@ -891,7 +886,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(not time.oclIsUndefined() implies not time.low.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(not time.oclIsUndefined() implies not time.low.oclIsUndefined())'" * @generated */ boolean validatePolicyActivityCoverageLowTime(DiagnosticChain diagnostics, Map context); @@ -903,7 +898,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(not time.oclIsUndefined() implies not time.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(not time.oclIsUndefined() implies not time.high.oclIsUndefined())'" * @generated */ boolean validatePolicyActivityCoverageHighTime(DiagnosticChain diagnostics, Map context); @@ -915,7 +910,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.89\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.89\'))'" * @generated */ boolean validatePolicyActivityCoverageTemplateId(DiagnosticChain diagnostics, Map context); @@ -927,7 +922,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(typeCode=vocab::ParticipationType::COV)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(typeCode=vocab::ParticipationType::COV)'" * @generated */ boolean validatePolicyActivityCoverageTypeCode(DiagnosticChain diagnostics, Map context); @@ -939,7 +934,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivityCoverageTime(DiagnosticChain diagnostics, Map context); @@ -951,7 +946,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRole(DiagnosticChain diagnostics, Map context); @@ -963,7 +958,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -976,7 +971,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -989,7 +984,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -1002,7 +997,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUseP( @@ -1015,7 +1010,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUse(DiagnosticChain diagnostics, @@ -1028,7 +1023,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressCountry( @@ -1041,7 +1036,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressState( @@ -1054,7 +1049,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressCity( @@ -1067,7 +1062,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -1080,7 +1075,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -1093,7 +1088,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleId(DiagnosticChain diagnostics, Map context); @@ -1105,7 +1100,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleAddr(DiagnosticChain diagnostics, Map context); @@ -1117,7 +1112,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.90\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.90\'))'" * @generated */ boolean validatePolicyActivityHolderTemplateId(DiagnosticChain diagnostics, Map context); @@ -1129,7 +1124,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject(typeCode=vocab::ParticipationType::HLD)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject(typeCode=vocab::ParticipationType::HLD)'" * @generated */ boolean validatePolicyActivityHolderTypeCode(DiagnosticChain diagnostics, Map context); @@ -1141,7 +1136,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivityHolderTime(DiagnosticChain diagnostics, Map context); @@ -1153,7 +1148,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validatePolicyActivityHolderHolderRole(DiagnosticChain diagnostics, Map context); @@ -1165,7 +1160,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->reject(act->one(a : cda::Act | a.oclIsTypeOf(consol::AuthorizationActivity) or (a.classCode=vocab::x_ActClassDocumentEntryAct::ACT and a.moodCode=vocab::x_DocumentActMood::DEF)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->reject(act->one(a : cda::Act | a.oclIsTypeOf(consol::AuthorizationActivity) or (a.classCode=vocab::x_ActClassDocumentEntryAct::ACT and a.moodCode=vocab::x_DocumentActMood::DEF)))'" * @generated */ boolean validatePolicyActivityEntryRelationshipTargetActActivity(DiagnosticChain diagnostics, @@ -1178,7 +1173,7 @@ boolean validatePolicyActivityEntryRelationshipTargetActActivity(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->reject(act->select(a : cda::Act | a.classCode=vocab::x_ActClassDocumentEntryAct::ACT and (a.moodCode=vocab::x_DocumentActMood::DEF))->forAll(id->size() > 0 and text->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->reject(act->select(a : cda::Act | a.classCode=vocab::x_ActClassDocumentEntryAct::ACT and (a.moodCode=vocab::x_DocumentActMood::DEF))->forAll(id->size() > 0 and text->size() = 1))'" * @generated */ boolean validatePolicyActivityEntryRelationshipDescriptionCoveragePlan(DiagnosticChain diagnostics, @@ -1191,7 +1186,7 @@ boolean validatePolicyActivityEntryRelationshipDescriptionCoveragePlan(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePolicyActivityEntryRelationshipTypeCode(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity2.java index af3ab4d19b..f543c6fcea 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -38,7 +34,7 @@ public interface PolicyActivity2 extends PolicyActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.61\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.61\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePolicyActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -62,7 +58,7 @@ public interface PolicyActivity2 extends PolicyActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -75,7 +71,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -88,7 +84,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -101,7 +97,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -114,7 +110,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -127,7 +123,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -140,7 +136,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -153,7 +149,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -166,7 +162,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -179,7 +175,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -192,7 +188,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -205,7 +201,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -218,7 +214,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -231,7 +227,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -244,7 +240,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -257,7 +253,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -270,7 +266,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -283,7 +279,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -296,7 +292,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -309,7 +305,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -322,7 +318,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityDateOfBirthInSDTCbirthTime( @@ -335,7 +331,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityDateOfBir * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).playingEntity->excluding(null)->reject((sDTCBirthTime.oclIsUndefined() or sDTCBirthTime.isNullFlavorUndefined()) implies (not sDTCBirthTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).playingEntity->excluding(null)->reject((sDTCBirthTime.oclIsUndefined() or sDTCBirthTime.isNullFlavorUndefined()) implies (not sDTCBirthTime.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivity2CoverageCoverageRoleCoveragePlayingEntitySDTCBirthTime(DiagnosticChain diagnostics, @@ -348,7 +344,7 @@ boolean validatePolicyActivity2CoverageCoverageRoleCoveragePlayingEntitySDTCBirt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.3.221.5\' and not value.code.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.3.221.5\' and not value.code.oclIsUndefined())) )))'" * @generated */ boolean validatePolicyActivity2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -360,7 +356,7 @@ boolean validatePolicyActivity2CoverageCoverageRoleCoveragePlayingEntitySDTCBirt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2CDTranslationP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostoperativeDiagnosisSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostoperativeDiagnosisSection.java index 7493db2cdd..af4ad50eb3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostoperativeDiagnosisSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostoperativeDiagnosisSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface PostoperativeDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.35\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.35\')'" * @generated */ boolean validatePostoperativeDiagnosisSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis.java index c8765c42d6..e2860e9c75 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface PostprocedureDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.51\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.51\')'" * @generated */ boolean validatePostprocedureDiagnosisTemplateId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ public interface PostprocedureDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePostprocedureDiagnosisProblemObservation(DiagnosticChain diagnostics, Map context); @@ -90,7 +85,7 @@ public interface PostprocedureDiagnosis extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis2.java index 7779ff4cb5..8497a05e2e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface PostprocedureDiagnosis2 extends PostprocedureDiagnosis { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.51\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.51\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePostprocedureDiagnosis2TemplateId(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface PostprocedureDiagnosis2 extends PostprocedureDiagnosis { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection.java index 4d58774844..29e4ea50d1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface PostprocedureDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.36\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.36\')'" * @generated */ boolean validatePostprocedureDiagnosisSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface PostprocedureDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PostprocedureDiagnosis))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PostprocedureDiagnosis))'" * @generated */ boolean validatePostprocedureDiagnosisSectionPostprocedureDiagnosis(DiagnosticChain diagnostics, @@ -102,7 +97,7 @@ boolean validatePostprocedureDiagnosisSectionPostprocedureDiagnosis(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosis)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosis)'" * @generated */ PostprocedureDiagnosis getPostprocedureDiagnosis(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection2.java index 9585297263..2875d075d4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface PostprocedureDiagnosisSection2 extends PostprocedureDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.36\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.36\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePostprocedureDiagnosisSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -37,7 +35,7 @@ public interface PostprocedureDiagnosisSection2 extends PostprocedureDiagnosisSe * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis2))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis2))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosis2)'" * @generated */ PostprocedureDiagnosis2 getConsolPostprocedureDiagnosis2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration.java index 967e82f792..ee20cbe2a1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Criterion; /** @@ -32,7 +27,7 @@ public interface PreconditionForSubstanceAdministration extends Criterion { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.25\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.25\')'" * @generated */ boolean validatePreconditionForSubstanceAdministrationTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration2.java index 10af5e7592..a9edff92cb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +26,7 @@ public interface PreconditionForSubstanceAdministration2 extends PreconditionFor * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.25\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.25\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePreconditionForSubstanceAdministration2TemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PregnancyObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PregnancyObservation.java index 7ae3fd29d5..118f4cd784 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PregnancyObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PregnancyObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface PregnancyObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.15.3.8\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.15.3.8\')'" * @generated */ boolean validatePregnancyObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface PregnancyObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'77386006\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'77386006\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validatePregnancyObservationValue(DiagnosticChain diagnostics, Map context); @@ -116,7 +111,7 @@ public interface PregnancyObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validatePregnancyObservationValueP(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface PregnancyObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::EstimatedDateOfDelivery) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::EstimatedDateOfDelivery) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePregnancyObservationEstimatedDateOfDelivery(DiagnosticChain diagnostics, @@ -150,7 +145,7 @@ boolean validatePregnancyObservationEstimatedDateOfDelivery(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::EstimatedDateOfDelivery))->asSequence()->any(true).oclAsType(consol::EstimatedDateOfDelivery)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::EstimatedDateOfDelivery))->asSequence()->any(true).oclAsType(consol::EstimatedDateOfDelivery)'" * @generated */ EstimatedDateOfDelivery getEstimatedDateOfDelivery(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis.java index 27fb9a9920..a1b6884693 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface PreoperativeDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.65\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.65\')'" * @generated */ boolean validatePreoperativeDiagnosisTemplateId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ public interface PreoperativeDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePreoperativeDiagnosisProblemObservation(DiagnosticChain diagnostics, Map context); @@ -90,7 +85,7 @@ public interface PreoperativeDiagnosis extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis2.java index 4ac1c4075d..5aaa2d6a59 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface PreoperativeDiagnosis2 extends PreoperativeDiagnosis { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.65\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.65\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePreoperativeDiagnosis2TemplateId(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface PreoperativeDiagnosis2 extends PreoperativeDiagnosis { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection.java index f7d879df37..d8201e90aa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface PreoperativeDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.34\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.34\')'" * @generated */ boolean validatePreoperativeDiagnosisSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface PreoperativeDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PreoperativeDiagnosis))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PreoperativeDiagnosis))'" * @generated */ boolean validatePreoperativeDiagnosisSectionPreoperativeDiagnosis(DiagnosticChain diagnostics, @@ -102,7 +97,7 @@ boolean validatePreoperativeDiagnosisSectionPreoperativeDiagnosis(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosis)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosis)'" * @generated */ PreoperativeDiagnosis getPreoperativeDiagnosis(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection2.java index 4e4c759985..57e5abec94 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface PreoperativeDiagnosisSection2 extends PreoperativeDiagnosisSect * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.34\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.34\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePreoperativeDiagnosisSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -37,7 +35,7 @@ public interface PreoperativeDiagnosisSection2 extends PreoperativeDiagnosisSect * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis2))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis2))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosis2)'" * @generated */ PreoperativeDiagnosis2 getConsolPreoperativeDiagnosis2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PressureUlcerObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PressureUlcerObservation.java index 19e9838c4f..55bcbd3346 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PressureUlcerObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PressureUlcerObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -38,7 +33,7 @@ public interface PressureUlcerObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validatePressureUlcerObservationHasTextReference(DiagnosticChain diagnostics, Map context); @@ -50,7 +45,7 @@ public interface PressureUlcerObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validatePressureUlcerObservationTextReferenceValue(DiagnosticChain diagnostics, @@ -76,7 +71,7 @@ boolean validatePressureUlcerObservationHasTextReferenceValue(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | not val.isNullFlavorUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | not val.isNullFlavorUndefined())'" * @generated */ boolean validatePressureUlcerObservationValueNullFlavor(DiagnosticChain diagnostics, Map context); @@ -88,7 +83,7 @@ boolean validatePressureUlcerObservationHasTextReferenceValue(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode->forAll(qualifier->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode->forAll(qualifier->size() = 1)'" * @generated */ boolean validatePressureUlcerObservationTargetSiteQualifier(DiagnosticChain diagnostics, @@ -101,7 +96,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifier(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll(name->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll(name->size() = 1)'" * @generated */ boolean validatePressureUlcerObservationTargetSiteQualifierName(DiagnosticChain diagnostics, @@ -114,7 +109,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierName(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll(name->size() = 1 and name.code=\'272741003\' and name.codeSystem = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll(name->size() = 1 and name.code=\'272741003\' and name.codeSystem = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validatePressureUlcerObservationTargetSiteQualifierNameCode(DiagnosticChain diagnostics, @@ -127,7 +122,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierNameCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll(value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll(value->size() = 1)'" * @generated */ boolean validatePressureUlcerObservationTargetSiteQualifierValue(DiagnosticChain diagnostics, @@ -140,7 +135,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValue(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll((value.isNullFlavorDefined()) or (value->size() = 1 and not value.code.oclIsUndefined() and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll((value.isNullFlavorDefined()) or (value->size() = 1 and not value.code.oclIsUndefined() and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticChain diagnostics, @@ -153,7 +148,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.70\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.70\')'" * @generated */ boolean validatePressureUlcerObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -201,7 +196,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePressureUlcerObservationId(DiagnosticChain diagnostics, Map context); @@ -273,7 +268,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'421076008\' or value.code = \'420324007\' or value.code = \'421927004\' or value.code = \'420597008\' or value.code = \'421594008\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'421076008\' or value.code = \'420324007\' or value.code = \'421927004\' or value.code = \'420597008\' or value.code = \'421594008\')))'" * @generated */ boolean validatePressureUlcerObservationValue(DiagnosticChain diagnostics, Map context); @@ -285,7 +280,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validatePressureUlcerObservationValueP(DiagnosticChain diagnostics, Map context); @@ -297,7 +292,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" * @generated */ boolean validatePressureUlcerObservationTargetSiteCodeP(DiagnosticChain diagnostics, Map context); @@ -309,7 +304,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'79951008\' or value.code = \'23747009\' or value.code = \'76552005\' or value.code = \'45980000\' or value.code = \'74757004\' or value.code = \'51027004\' or value.code = \'304037003\' or value.code = \'286591006\' or value.code = \'49812005\' or value.code = \'29850006\' or value.code = \'22180002\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'79951008\' or value.code = \'23747009\' or value.code = \'76552005\' or value.code = \'45980000\' or value.code = \'74757004\' or value.code = \'51027004\' or value.code = \'304037003\' or value.code = \'286591006\' or value.code = \'49812005\' or value.code = \'29850006\' or value.code = \'22180002\')))'" * @generated */ boolean validatePressureUlcerObservationTargetSiteCode(DiagnosticChain diagnostics, Map context); @@ -321,7 +316,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->size() = 1'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -333,7 +328,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->size() = 1'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2(DiagnosticChain diagnostics, @@ -346,7 +341,7 @@ boolean validatePressureUlcerObservationEntryRelationship2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->size() = 1'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3(DiagnosticChain diagnostics, @@ -359,7 +354,7 @@ boolean validatePressureUlcerObservationEntryRelationship3(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1Observation1ClassCode(DiagnosticChain diagnostics, @@ -372,7 +367,7 @@ boolean validatePressureUlcerObservationEntryRelationship1Observation1ClassCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1Observation1MoodCode(DiagnosticChain diagnostics, @@ -385,7 +380,7 @@ boolean validatePressureUlcerObservationEntryRelationship1Observation1MoodCode(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1Observation1CodeP(DiagnosticChain diagnostics, @@ -398,7 +393,7 @@ boolean validatePressureUlcerObservationEntryRelationship1Observation1CodeP(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'401238003\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'401238003\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1Observation1Code(DiagnosticChain diagnostics, @@ -411,7 +406,7 @@ boolean validatePressureUlcerObservationEntryRelationship1Observation1Code(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::PQ))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::PQ))))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1Observation1Value(DiagnosticChain diagnostics, @@ -424,7 +419,7 @@ boolean validatePressureUlcerObservationEntryRelationship1Observation1Value(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1TypeCode(DiagnosticChain diagnostics, @@ -437,7 +432,7 @@ boolean validatePressureUlcerObservationEntryRelationship1TypeCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1Observation1(DiagnosticChain diagnostics, @@ -450,7 +445,7 @@ boolean validatePressureUlcerObservationEntryRelationship1Observation1(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2Observation2ClassCode(DiagnosticChain diagnostics, @@ -463,7 +458,7 @@ boolean validatePressureUlcerObservationEntryRelationship2Observation2ClassCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2Observation2MoodCode(DiagnosticChain diagnostics, @@ -476,7 +471,7 @@ boolean validatePressureUlcerObservationEntryRelationship2Observation2MoodCode(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2Observation2CodeP(DiagnosticChain diagnostics, @@ -489,7 +484,7 @@ boolean validatePressureUlcerObservationEntryRelationship2Observation2CodeP(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'401239006\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'401239006\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2Observation2Code(DiagnosticChain diagnostics, @@ -502,7 +497,7 @@ boolean validatePressureUlcerObservationEntryRelationship2Observation2Code(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::PQ))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::PQ))))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2Observation2Value(DiagnosticChain diagnostics, @@ -515,7 +510,7 @@ boolean validatePressureUlcerObservationEntryRelationship2Observation2Value(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2TypeCode(DiagnosticChain diagnostics, @@ -528,7 +523,7 @@ boolean validatePressureUlcerObservationEntryRelationship2TypeCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2Observation2(DiagnosticChain diagnostics, @@ -541,7 +536,7 @@ boolean validatePressureUlcerObservationEntryRelationship2Observation2(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3Observation3ClassCode(DiagnosticChain diagnostics, @@ -554,7 +549,7 @@ boolean validatePressureUlcerObservationEntryRelationship3Observation3ClassCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3Observation3MoodCode(DiagnosticChain diagnostics, @@ -567,7 +562,7 @@ boolean validatePressureUlcerObservationEntryRelationship3Observation3MoodCode(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3Observation3CodeP(DiagnosticChain diagnostics, @@ -580,7 +575,7 @@ boolean validatePressureUlcerObservationEntryRelationship3Observation3CodeP(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'425094009\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'425094009\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3Observation3Code(DiagnosticChain diagnostics, @@ -593,7 +588,7 @@ boolean validatePressureUlcerObservationEntryRelationship3Observation3Code(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::PQ))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::PQ))))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3Observation3Value(DiagnosticChain diagnostics, @@ -606,7 +601,7 @@ boolean validatePressureUlcerObservationEntryRelationship3Observation3Value(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3TypeCode(DiagnosticChain diagnostics, @@ -619,7 +614,7 @@ boolean validatePressureUlcerObservationEntryRelationship3TypeCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3Observation3(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PriorityPreference.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PriorityPreference.java index d3cf4ef78f..45b2e1d77f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PriorityPreference.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PriorityPreference.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface PriorityPreference extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.143\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.143\')'" * @generated */ boolean validatePriorityPreferenceTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface PriorityPreference extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePriorityPreferenceId(DiagnosticChain diagnostics, Map context); @@ -116,7 +111,7 @@ public interface PriorityPreference extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'394849002\' or value.code = \'394848005\' or value.code = \'441808003\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'394849002\' or value.code = \'394848005\' or value.code = \'441808003\')))'" * @generated */ boolean validatePriorityPreferenceValue(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface PriorityPreference extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validatePriorityPreferenceValueP(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface PriorityPreference extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePriorityPreferenceAuthorParticipation(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct.java index cc3e093aa1..3aa7f1f92a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -57,7 +52,7 @@ public interface ProblemConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.3\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.3\')'" * @generated */ boolean validateProblemConcernActTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ProblemConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProblemConcernActId(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ public interface ProblemConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateProblemConcernActProblemObservation(DiagnosticChain diagnostics, Map context); @@ -162,7 +157,7 @@ public interface ProblemConcernAct extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct2.java index 6dd7380c29..d7bf5b7394 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface ProblemConcernAct2 extends ProblemConcernAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.3\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.3\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProblemConcernAct2TemplateId(DiagnosticChain diagnostics, Map context); @@ -55,7 +51,7 @@ public interface ProblemConcernAct2 extends ProblemConcernAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateProblemConcernAct2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -67,7 +63,7 @@ public interface ProblemConcernAct2 extends ProblemConcernAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateProblemConcernAct2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -76,7 +72,7 @@ public interface ProblemConcernAct2 extends ProblemConcernAct { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -85,7 +81,7 @@ public interface ProblemConcernAct2 extends ProblemConcernAct { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation.java index 972068bf15..3db6b743dc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateProblemObservationHasTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateProblemObservationTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | not val.isNullFlavorUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | not val.isNullFlavorUndefined())'" * @generated */ boolean validateProblemObservationValueNullFlavor(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | not er.observation.oclIsUndefined() and er.observation.oclIsKindOf(consol::AgeObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | not er.observation.oclIsUndefined() and er.observation.oclIsKindOf(consol::AgeObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProblemObservationAgeObservationInversion(DiagnosticChain diagnostics, Map context); @@ -116,7 +111,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).translation->size()>0'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).translation->size()>0'" * @generated */ boolean validateProblemObservationValueTranslation(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).translation->size()>0 implies self.value.oclAsType(datatypes::CD).translation->forAll(code->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).translation->size()>0 implies self.value.oclAsType(datatypes::CD).translation->forAll(code->size() = 1)'" * @generated */ boolean validateProblemObservationValueTranslationCode(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.4\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.4\')'" * @generated */ boolean validateProblemObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -188,7 +183,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProblemObservationId(DiagnosticChain diagnostics, Map context); @@ -260,7 +255,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateProblemObservationValue(DiagnosticChain diagnostics, Map context); @@ -272,7 +267,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateProblemObservationValueP(DiagnosticChain diagnostics, Map context); @@ -284,7 +279,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AgeObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AgeObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateProblemObservationAgeObservation(DiagnosticChain diagnostics, Map context); @@ -296,7 +291,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::HealthStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::HealthStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateProblemObservationHealthStatusObservation(DiagnosticChain diagnostics, Map context); @@ -308,7 +303,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemStatus) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemStatus) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateProblemObservationProblemStatus(DiagnosticChain diagnostics, Map context); @@ -317,7 +312,7 @@ public interface ProblemObservation extends Observation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AgeObservation))->asSequence()->any(true).oclAsType(consol::AgeObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AgeObservation))->asSequence()->any(true).oclAsType(consol::AgeObservation)'" * @generated */ AgeObservation getAgeObservation(); @@ -326,7 +321,7 @@ public interface ProblemObservation extends Observation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation)'" * @generated */ HealthStatusObservation getHealthStatusObservation(); @@ -335,7 +330,7 @@ public interface ProblemObservation extends Observation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemStatus))->asSequence()->any(true).oclAsType(consol::ProblemStatus)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemStatus))->asSequence()->any(true).oclAsType(consol::ProblemStatus)'" * @generated */ ProblemStatus getProblemStatus(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation2.java index e770acbdef..cb5420fd60 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -45,7 +41,7 @@ public interface ProblemObservation2 extends ProblemObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem = \'2.16.840.1.113883.6.96\' implies code.translation->size() >= 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem = \'2.16.840.1.113883.6.96\' implies code.translation->size() >= 1'" * @generated */ boolean validateProblemObservation2IfSnomedRequireTranslation(DiagnosticChain diagnostics, @@ -58,7 +54,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem = \'2.16.840.1.113883.6.96\' and code.translation->size() >= 1 implies code.translation->forAll(trans : datatypes::CD | trans.codeSystem = \'2.16.840.1.113883.6.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem = \'2.16.840.1.113883.6.96\' and code.translation->size() >= 1 implies code.translation->forAll(trans : datatypes::CD | trans.codeSystem = \'2.16.840.1.113883.6.1\')'" * @generated */ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(DiagnosticChain diagnostics, @@ -71,7 +67,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.4\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.4\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProblemObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -95,7 +91,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PrognosisObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PrognosisObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateProblemObservation2PrognosisObservation(DiagnosticChain diagnostics, Map context); @@ -107,7 +103,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateProblemObservation2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -119,7 +115,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateProblemObservation2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -131,7 +127,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((qualifier->isEmpty() or qualifier->exists(element | element.isNullFlavorUndefined())) implies (not qualifier->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((qualifier->isEmpty() or qualifier->exists(element | element.isNullFlavorUndefined())) implies (not qualifier->isEmpty()) )))'" * @generated */ boolean validateProblemObservation2CDQualifier(DiagnosticChain diagnostics, Map context); @@ -143,7 +139,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateProblemObservation2CDCode(DiagnosticChain diagnostics, Map context); @@ -155,7 +151,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined())) )))'" * @generated */ boolean validateProblemObservation2CDCodeTranslation(DiagnosticChain diagnostics, Map context); @@ -167,7 +163,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" * @generated */ boolean validateProblemObservation2CDCodeTranslationP(DiagnosticChain diagnostics, Map context); @@ -176,7 +172,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PrognosisObservation))->asSequence()->any(true).oclAsType(consol::PrognosisObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PrognosisObservation))->asSequence()->any(true).oclAsType(consol::PrognosisObservation)'" * @generated */ PrognosisObservation getPrognosisObservation(); @@ -185,7 +181,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -194,7 +190,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation)'" * @generated */ HealthStatusObservation getConsolHealthStatusObservation(); @@ -203,7 +199,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemStatus2))->asSequence()->any(true).oclAsType(consol::ProblemStatus2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemStatus2))->asSequence()->any(true).oclAsType(consol::ProblemStatus2)'" * @generated */ ProblemStatus2 getConsolProblemStatus(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection.java index ac02594ebc..4bcd9e99fa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface ProblemSection extends ProblemSectionEntriesOptional { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct)).oclAsType(consol::ProblemConcernAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct)).oclAsType(consol::ProblemConcernAct)'" * @generated */ EList getConsolProblemConcerns(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection2.java index 0b56f19fa2..66409ec2ba 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -63,7 +59,7 @@ public interface ProblemSection2 extends ProblemSectionEntriesOptional2 { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation2))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation2))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation2)'" * @generated */ HealthStatusObservation2 getConsolHealthStatusObservation2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional.java index e40e7ea71b..8f32ff056e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface ProblemSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.5\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.5\')'" * @generated */ boolean validateProblemSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ProblemSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProblemConcernAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProblemConcernAct))'" * @generated */ boolean validateProblemSectionEntriesOptionalProblemConcern(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validateProblemSectionEntriesOptionalProblemConcern(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct)).oclAsType(consol::ProblemConcernAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct)).oclAsType(consol::ProblemConcernAct)'" * @generated */ EList getProblemConcerns(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional2.java index e86bf04204..cd2d3eb79b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface ProblemSectionEntriesOptional2 extends ProblemSectionEntriesOpt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HealthStatusObservation2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HealthStatusObservation2))'" * @generated */ boolean validateProblemSectionEntriesOptional2HealthStatusObservation2(DiagnosticChain diagnostics, @@ -41,7 +37,7 @@ boolean validateProblemSectionEntriesOptional2HealthStatusObservation2(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct2)).oclAsType(consol::ProblemConcernAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct2)).oclAsType(consol::ProblemConcernAct2)'" * @generated */ EList getConsolProblemConcernAct2s(); @@ -50,7 +46,7 @@ boolean validateProblemSectionEntriesOptional2HealthStatusObservation2(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation2))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation2))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation2)'" * @generated */ HealthStatusObservation2 getHealthStatusObservation2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus.java index e8fbb366b6..e0d5cd89a0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface ProblemStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateProblemStatusTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface ProblemStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateProblemStatusReferenceValue(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface ProblemStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.6\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.6\')'" * @generated */ boolean validateProblemStatusTemplateId(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface ProblemStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'55561003\' or value.code = \'73425007\' or value.code = \'413322009\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'55561003\' or value.code = \'73425007\' or value.code = \'413322009\')))'" * @generated */ boolean validateProblemStatusValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus2.java index ac2e38bf6c..a91c6ceaa2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface ProblemStatus2 extends ProblemStatus { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.6\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.6\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProblemStatus2TemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct.java index 0af5f86f84..d94dcf63f8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -50,7 +45,7 @@ public interface ProcedureActivityAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.originalText.oclIsUndefined() implies self.code.originalText->one(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.originalText.oclIsUndefined() implies self.code.originalText->one(reference->size() = 1)'" * @generated */ boolean validateProcedureActivityActOriginalTextReference(DiagnosticChain diagnostics, Map context); @@ -62,7 +57,7 @@ public interface ProcedureActivityAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.originalText.reference->size() = 1 implies self.code.originalText.reference.value->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.originalText.reference->size() = 1 implies self.code.originalText.reference.value->size() = 1'" * @generated */ boolean validateProcedureActivityActOriginalTextReferenceValue(DiagnosticChain diagnostics, @@ -99,7 +94,7 @@ boolean validateProcedureActivityActOriginalTextReferenceValue(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" * @generated */ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticChain diagnostics, @@ -112,7 +107,7 @@ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.encounter->size() > 0)->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.encounter->size() > 0)->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProcedureActivityActEncounterInversion(DiagnosticChain diagnostics, Map context); @@ -124,7 +119,7 @@ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProcedureActivityActInstructionsInversion(DiagnosticChain diagnostics, Map context); @@ -136,7 +131,7 @@ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.12\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.12\')'" * @generated */ boolean validateProcedureActivityActTemplateId(DiagnosticChain diagnostics, Map context); @@ -172,7 +167,7 @@ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProcedureActivityActId(DiagnosticChain diagnostics, Map context); @@ -244,7 +239,7 @@ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" * @generated */ boolean validateProcedureActivityActPerformer(DiagnosticChain diagnostics, Map context); @@ -256,7 +251,7 @@ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" * @generated */ boolean validateProcedureActivityActServiceDeliveryLocation(DiagnosticChain diagnostics, @@ -269,7 +264,7 @@ boolean validateProcedureActivityActServiceDeliveryLocation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateProcedureActivityActInstructions(DiagnosticChain diagnostics, Map context); @@ -281,7 +276,7 @@ boolean validateProcedureActivityActServiceDeliveryLocation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateProcedureActivityActIndication(DiagnosticChain diagnostics, Map context); @@ -293,7 +288,7 @@ boolean validateProcedureActivityActServiceDeliveryLocation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityActMedicationActivity(DiagnosticChain diagnostics, Map context); @@ -305,7 +300,7 @@ boolean validateProcedureActivityActServiceDeliveryLocation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->notEmpty()'" * @generated */ boolean validateProcedureActivityActEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -317,7 +312,7 @@ boolean validateProcedureActivityActServiceDeliveryLocation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationId( @@ -330,7 +325,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationName( @@ -343,7 +338,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationTelecom( @@ -356,7 +351,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationAddr( @@ -369,7 +364,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityId(DiagnosticChain diagnostics, @@ -382,7 +377,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityAddr(DiagnosticChain diagnostics, @@ -395,7 +390,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityTelecom( @@ -408,7 +403,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityRepresentedOrganization( @@ -421,7 +416,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -434,7 +429,7 @@ boolean validateProcedureActivityActProcedureActPerformerAssignedEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(classCode=vocab::ActClass::ENC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(classCode=vocab::ActClass::ENC)'" * @generated */ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterClassCode(DiagnosticChain diagnostics, @@ -447,7 +442,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterClassC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(moodCode=vocab::x_DocumentEncounterMood::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(moodCode=vocab::x_DocumentEncounterMood::EVN)'" * @generated */ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterMoodCode(DiagnosticChain diagnostics, @@ -460,7 +455,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterMoodCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterId(DiagnosticChain diagnostics, @@ -473,7 +468,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterId(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(not inversionInd.oclIsUndefined() and inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(not inversionInd.oclIsUndefined() and inversionInd=true)'" * @generated */ boolean validateProcedureActivityActEntryRelationshipInversionInd(DiagnosticChain diagnostics, @@ -486,7 +481,7 @@ boolean validateProcedureActivityActEntryRelationshipInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityActEntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -499,7 +494,7 @@ boolean validateProcedureActivityActEntryRelationshipTypeCode(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(encounter->one(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(encounter->one(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)))'" * @generated */ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounter(DiagnosticChain diagnostics, @@ -509,7 +504,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounter(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" * @generated */ EList getServiceDeliveryLocations(); @@ -518,7 +513,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounter(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" * @generated */ Instructions getInstructions(); @@ -527,7 +522,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounter(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" * @generated */ EList getIndications(); @@ -536,7 +531,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounter(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct2.java index df58e9abda..70efbf406f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -47,7 +43,7 @@ boolean validateProcedureActivityAct2CodeSuggestedCodeSystems(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.12\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.12\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProcedureActivityAct2TemplateId(DiagnosticChain diagnostics, Map context); @@ -71,7 +67,7 @@ boolean validateProcedureActivityAct2CodeSuggestedCodeSystems(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateProcedureActivityAct2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -80,7 +76,7 @@ boolean validateProcedureActivityAct2CodeSuggestedCodeSystems(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getConsolInstruction2(); @@ -89,7 +85,7 @@ boolean validateProcedureActivityAct2CodeSuggestedCodeSystems(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); @@ -98,7 +94,7 @@ boolean validateProcedureActivityAct2CodeSuggestedCodeSystems(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation.java index 61b5796274..e24c0c44db 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -64,7 +59,7 @@ boolean validateProcedureActivityObservationCodeOriginalText(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.originalText.oclIsUndefined() implies self.code.originalText->one(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.originalText.oclIsUndefined() implies self.code.originalText->one(reference->size() = 1)'" * @generated */ boolean validateProcedureActivityObservationOriginalTextReference(DiagnosticChain diagnostics, @@ -77,7 +72,7 @@ boolean validateProcedureActivityObservationOriginalTextReference(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.originalText.reference->size() = 1 implies self.code.originalText.reference.value->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.originalText.reference->size() = 1 implies self.code.originalText.reference.value->size() = 1'" * @generated */ boolean validateProcedureActivityObservationOriginalTextReferenceValue(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validateProcedureActivityObservationReferenceValue(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.encounter->size() > 0)->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.encounter->size() > 0)->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProcedureActivityObservationEncounterInversion(DiagnosticChain diagnostics, @@ -116,7 +111,7 @@ boolean validateProcedureActivityObservationEncounterInversion(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" * @generated */ boolean validateProcedureActivityObservationServiceDeliveryLocationTypeCode(DiagnosticChain diagnostics, @@ -129,7 +124,7 @@ boolean validateProcedureActivityObservationServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProcedureActivityObservationInstructionsInversion(DiagnosticChain diagnostics, @@ -142,7 +137,7 @@ boolean validateProcedureActivityObservationInstructionsInversion(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.13\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.13\')'" * @generated */ boolean validateProcedureActivityObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ boolean validateProcedureActivityObservationInstructionsInversion(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProcedureActivityObservationId(DiagnosticChain diagnostics, Map context); @@ -250,7 +245,7 @@ boolean validateProcedureActivityObservationInstructionsInversion(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateProcedureActivityObservationValue(DiagnosticChain diagnostics, Map context); @@ -262,7 +257,7 @@ boolean validateProcedureActivityObservationInstructionsInversion(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" * @generated */ boolean validateProcedureActivityObservationMethodCode(DiagnosticChain diagnostics, Map context); @@ -274,7 +269,7 @@ boolean validateProcedureActivityObservationInstructionsInversion(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" * @generated */ boolean validateProcedureActivityObservationTargetSiteCodeP(DiagnosticChain diagnostics, @@ -287,7 +282,7 @@ boolean validateProcedureActivityObservationTargetSiteCodeP(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateProcedureActivityObservationTargetSiteCode(DiagnosticChain diagnostics, @@ -300,7 +295,7 @@ boolean validateProcedureActivityObservationTargetSiteCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" * @generated */ boolean validateProcedureActivityObservationPerformer(DiagnosticChain diagnostics, Map context); @@ -312,7 +307,7 @@ boolean validateProcedureActivityObservationTargetSiteCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" * @generated */ boolean validateProcedureActivityObservationServiceDeliveryLocation(DiagnosticChain diagnostics, @@ -325,7 +320,7 @@ boolean validateProcedureActivityObservationServiceDeliveryLocation(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateProcedureActivityObservationInstructions(DiagnosticChain diagnostics, Map context); @@ -337,7 +332,7 @@ boolean validateProcedureActivityObservationServiceDeliveryLocation(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateProcedureActivityObservationIndication(DiagnosticChain diagnostics, Map context); @@ -349,7 +344,7 @@ boolean validateProcedureActivityObservationServiceDeliveryLocation(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityObservationMedicationActivity(DiagnosticChain diagnostics, @@ -362,7 +357,7 @@ boolean validateProcedureActivityObservationMedicationActivity(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->notEmpty()'" * @generated */ boolean validateProcedureActivityObservationEntryRelationship(DiagnosticChain diagnostics, @@ -375,7 +370,7 @@ boolean validateProcedureActivityObservationEntryRelationship(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationId( @@ -388,7 +383,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationName( @@ -401,7 +396,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationTelecom( @@ -414,7 +409,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationAddr( @@ -427,7 +422,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityId( @@ -440,7 +435,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityAddr( @@ -453,7 +448,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityTelecom( @@ -466,7 +461,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityRepresentedOrganization( @@ -479,7 +474,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -492,7 +487,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerAssigne * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(classCode=vocab::ActClass::ENC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(classCode=vocab::ActClass::ENC)'" * @generated */ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservationEncounterClassCode( @@ -505,7 +500,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(moodCode=vocab::x_DocumentEncounterMood::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(moodCode=vocab::x_DocumentEncounterMood::EVN)'" * @generated */ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservationEncounterMoodCode( @@ -518,7 +513,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservationEncounterId( @@ -531,7 +526,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(not inversionInd.oclIsUndefined() and inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(not inversionInd.oclIsUndefined() and inversionInd=true)'" * @generated */ boolean validateProcedureActivityObservationEntryRelationshipInversionInd(DiagnosticChain diagnostics, @@ -544,7 +539,7 @@ boolean validateProcedureActivityObservationEntryRelationshipInversionInd(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityObservationEntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -557,7 +552,7 @@ boolean validateProcedureActivityObservationEntryRelationshipTypeCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(encounter->one(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(encounter->one(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)))'" * @generated */ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservationEncounter( @@ -567,7 +562,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" * @generated */ EList getServiceDeliveryLocations(); @@ -576,7 +571,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" * @generated */ Instructions getInstructions(); @@ -585,7 +580,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" * @generated */ EList getIndications(); @@ -594,7 +589,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation2.java index 36b3cb1292..063c4b2d0b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -47,7 +43,7 @@ boolean validateProcedureActivityObservation2CodeSuggestedCodeSystems(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.13\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.13\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProcedureActivityObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -71,7 +67,7 @@ boolean validateProcedureActivityObservation2CodeSuggestedCodeSystems(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateProcedureActivityObservation2AuthorParticipation(DiagnosticChain diagnostics, @@ -84,7 +80,7 @@ boolean validateProcedureActivityObservation2AuthorParticipation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityObservation2ReactionObservation2(DiagnosticChain diagnostics, @@ -97,7 +93,7 @@ boolean validateProcedureActivityObservation2ReactionObservation2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (isDefined(\'nullFlavor\') )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (isDefined(\'nullFlavor\') )))'" * @generated */ boolean validateProcedureActivityObservation2ANYNullFlavor(DiagnosticChain diagnostics, @@ -107,7 +103,7 @@ boolean validateProcedureActivityObservation2ANYNullFlavor(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); @@ -116,7 +112,7 @@ boolean validateProcedureActivityObservation2ANYNullFlavor(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); @@ -125,7 +121,7 @@ boolean validateProcedureActivityObservation2ANYNullFlavor(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getConsolInstruction2(); @@ -134,7 +130,7 @@ boolean validateProcedureActivityObservation2ANYNullFlavor(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" * @generated */ EList getReactionObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure.java index 3cdf7c1751..29c72a5c53 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Procedure; /** @@ -64,7 +59,7 @@ boolean validateProcedureActivityProcedureCodeOriginalText(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.originalText.oclIsUndefined() implies self.code.originalText->one(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.originalText.oclIsUndefined() implies self.code.originalText->one(reference->size() = 1)'" * @generated */ boolean validateProcedureActivityProcedureOriginalTextReference(DiagnosticChain diagnostics, @@ -77,7 +72,7 @@ boolean validateProcedureActivityProcedureOriginalTextReference(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.originalText.reference->size() = 1 implies self.code.originalText.reference.value->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.originalText.reference->size() = 1 implies self.code.originalText.reference.value->size() = 1'" * @generated */ boolean validateProcedureActivityProcedureOriginalTextReferenceValue(DiagnosticChain diagnostics, @@ -102,7 +97,7 @@ boolean validateProcedureActivityProcedureOriginalTextReferenceValue(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.encounter->size() > 0)->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.encounter->size() > 0)->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProcedureActivityProcedureEncounterInversion(DiagnosticChain diagnostics, @@ -115,7 +110,7 @@ boolean validateProcedureActivityProcedureEncounterInversion(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ProductInstance))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::DEV)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ProductInstance))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::DEV)'" * @generated */ boolean validateProcedureActivityProcedureProductInstanceTypeCode(DiagnosticChain diagnostics, @@ -128,7 +123,7 @@ boolean validateProcedureActivityProcedureProductInstanceTypeCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" * @generated */ boolean validateProcedureActivityProcedureServiceDeliveryLocationTypeCode(DiagnosticChain diagnostics, @@ -141,7 +136,7 @@ boolean validateProcedureActivityProcedureServiceDeliveryLocationTypeCode(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain diagnostics, @@ -154,7 +149,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.14\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.14\')'" * @generated */ boolean validateProcedureActivityProcedureTemplateId(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProcedureActivityProcedureId(DiagnosticChain diagnostics, Map context); @@ -262,7 +257,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" * @generated */ boolean validateProcedureActivityProcedureMethodCode(DiagnosticChain diagnostics, Map context); @@ -274,7 +269,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" * @generated */ boolean validateProcedureActivityProcedureTargetSiteCodeP(DiagnosticChain diagnostics, Map context); @@ -286,7 +281,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateProcedureActivityProcedureTargetSiteCode(DiagnosticChain diagnostics, Map context); @@ -298,7 +293,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateProcedureActivityProcedureIndication(DiagnosticChain diagnostics, Map context); @@ -310,7 +305,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.specimen->exists(specimen : cda::Specimen | not specimen.oclIsUndefined() and specimen.oclIsKindOf(cda::Specimen))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.specimen->exists(specimen : cda::Specimen | not specimen.oclIsUndefined() and specimen.oclIsKindOf(cda::Specimen))'" * @generated */ boolean validateProcedureActivityProcedureSpecimen(DiagnosticChain diagnostics, Map context); @@ -322,7 +317,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" * @generated */ boolean validateProcedureActivityProcedureServiceDeliveryLocation(DiagnosticChain diagnostics, @@ -335,7 +330,7 @@ boolean validateProcedureActivityProcedureServiceDeliveryLocation(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" * @generated */ boolean validateProcedureActivityProcedurePerformer(DiagnosticChain diagnostics, Map context); @@ -347,7 +342,7 @@ boolean validateProcedureActivityProcedureServiceDeliveryLocation(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityProcedureMedicationActivity(DiagnosticChain diagnostics, @@ -360,7 +355,7 @@ boolean validateProcedureActivityProcedureMedicationActivity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateProcedureActivityProcedurePatientInstruction(DiagnosticChain diagnostics, @@ -373,7 +368,7 @@ boolean validateProcedureActivityProcedurePatientInstruction(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ProductInstance))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ProductInstance))'" * @generated */ boolean validateProcedureActivityProcedureProductInstance(DiagnosticChain diagnostics, Map context); @@ -385,7 +380,7 @@ boolean validateProcedureActivityProcedurePatientInstruction(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->notEmpty()'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationship(DiagnosticChain diagnostics, @@ -398,7 +393,7 @@ boolean validateProcedureActivityProcedureEntryRelationship(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.specimen->excluding(null)->reject(specimenRole->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.specimen->excluding(null)->reject(specimenRole->size() = 1)'" * @generated */ boolean validateProcedureActivityProcedureProcedureSpecimenSpecimenRole(DiagnosticChain diagnostics, @@ -411,7 +406,7 @@ boolean validateProcedureActivityProcedureProcedureSpecimenSpecimenRole(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.specimen->excluding(null)->reject(specimenRole.id->size() > 0)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.specimen->excluding(null)->reject(specimenRole.id->size() > 0)'" * @generated */ boolean validateProcedureActivityProcedureProcedureSpecimenSpecimentRoleId(DiagnosticChain diagnostics, @@ -424,7 +419,7 @@ boolean validateProcedureActivityProcedureProcedureSpecimenSpecimentRoleId(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationId( @@ -437,7 +432,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationName( @@ -450,7 +445,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationTelecom( @@ -463,7 +458,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationAddr( @@ -476,7 +471,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityId( @@ -489,7 +484,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityAddr( @@ -502,7 +497,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityTelecom( @@ -515,7 +510,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityRepresentedOrganization( @@ -528,7 +523,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -541,7 +536,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerAssignedEnti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(classCode=vocab::ActClass::ENC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(classCode=vocab::ActClass::ENC)'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEncounterClassCode( @@ -554,7 +549,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(moodCode=vocab::x_DocumentEncounterMood::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(moodCode=vocab::x_DocumentEncounterMood::EVN)'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEncounterMoodCode( @@ -567,7 +562,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEncounterId(DiagnosticChain diagnostics, @@ -580,7 +575,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(not inversionInd.oclIsUndefined() and inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(not inversionInd.oclIsUndefined() and inversionInd=true)'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationshipInversionInd(DiagnosticChain diagnostics, @@ -593,7 +588,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipInversionInd(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -606,7 +601,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(encounter->one(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(encounter->one(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)))'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEncounter(DiagnosticChain diagnostics, @@ -616,7 +611,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" * @generated */ EList getIndications(); @@ -625,7 +620,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" * @generated */ EList getServiceDeliveryLocations(); @@ -634,7 +629,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); @@ -643,7 +638,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" * @generated */ Instructions getPatientInstruction(); @@ -652,7 +647,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance)).oclAsType(consol::ProductInstance)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance)).oclAsType(consol::ProductInstance)'" * @generated */ EList getProductInstances(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure2.java index 095cb607a2..c6b626b73a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -46,7 +42,7 @@ boolean validateProcedureActivityProcedure2CodeSuggestedCodeSystems(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.14\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.14\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProcedureActivityProcedure2TemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +66,7 @@ boolean validateProcedureActivityProcedure2CodeSuggestedCodeSystems(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateProcedureActivityProcedure2AuthorParticipation(DiagnosticChain diagnostics, @@ -83,7 +79,7 @@ boolean validateProcedureActivityProcedure2AuthorParticipation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityProcedure2ReactionObservation2(DiagnosticChain diagnostics, @@ -93,7 +89,7 @@ boolean validateProcedureActivityProcedure2ReactionObservation2(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); @@ -102,7 +98,7 @@ boolean validateProcedureActivityProcedure2ReactionObservation2(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); @@ -111,7 +107,7 @@ boolean validateProcedureActivityProcedure2ReactionObservation2(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getConsolInstruction2(); @@ -120,7 +116,7 @@ boolean validateProcedureActivityProcedure2ReactionObservation2(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" * @generated */ EList getReactionObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureContext.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureContext.java index 46fbd98ff3..cf55e0fa04 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureContext.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureContext.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -32,7 +27,7 @@ public interface ProcedureContext extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.effectiveTime.oclIsUndefined() implies self.effectiveTime.value->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.effectiveTime.oclIsUndefined() implies self.effectiveTime.value->size() = 1'" * @generated */ boolean validateProcedureContextEffectiveTimeValue(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface ProcedureContext extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.5\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.5\')'" * @generated */ boolean validateProcedureContextTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDescriptionSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDescriptionSection.java index 6c53c4e0b0..1a0423504c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDescriptionSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDescriptionSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ProcedureDescriptionSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.27\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.27\')'" * @generated */ boolean validateProcedureDescriptionSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDispositionSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDispositionSection.java index 331841aa86..88e6e01b0a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDispositionSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDispositionSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ProcedureDispositionSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.18.2.12\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.18.2.12\')'" * @generated */ boolean validateProcedureDispositionSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureEstimatedBloodLossSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureEstimatedBloodLossSection.java index b9cfe655b2..7207574308 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureEstimatedBloodLossSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureEstimatedBloodLossSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ProcedureEstimatedBloodLossSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.18.2.9\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.18.2.9\')'" * @generated */ boolean validateProcedureEstimatedBloodLossSectionTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection.java index e6eed5e182..04ae06e5e2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface ProcedureFindingsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.28\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.28\')'" * @generated */ boolean validateProcedureFindingsSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ProcedureFindingsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProblemObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProblemObservation))'" * @generated */ boolean validateProcedureFindingsSectionProblemObservation(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validateProcedureFindingsSectionProblemObservation(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection2.java index 4e7936fe79..262ae33031 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface ProcedureFindingsSection2 extends ProcedureFindingsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.28\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.28\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProcedureFindingsSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface ProcedureFindingsSection2 extends ProcedureFindingsSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureImplantsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureImplantsSection.java index c3e3f16e65..0166e4c4ea 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureImplantsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureImplantsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ProcedureImplantsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.40\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.40\')'" * @generated */ boolean validateProcedureImplantsSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection.java index 4c7b9d9215..3441a25f7f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface ProcedureIndicationsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.29\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.29\')'" * @generated */ boolean validateProcedureIndicationsSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ProcedureIndicationsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::Indication))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::Indication))'" * @generated */ boolean validateProcedureIndicationsSectionIndication(DiagnosticChain diagnostics, Map context); @@ -102,7 +97,7 @@ public interface ProcedureIndicationsSection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" * @generated */ EList getIndications(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection2.java index 668bfa6f3c..e91ab3fa77 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface ProcedureIndicationsSection2 extends ProcedureIndicationsSectio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.29\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.29\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProcedureIndicationsSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface ProcedureIndicationsSection2 extends ProcedureIndicationsSectio * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote.java index 1e8ae1462f..7e58a9af27 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -39,7 +35,7 @@ public interface ProcedureNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateProcedureNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( @@ -52,7 +48,7 @@ boolean validateProcedureNoteHasAnAssementAndPlanSectionOrIndividualAssementAndP * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateProcedureNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( @@ -65,7 +61,7 @@ boolean validateProcedureNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( @@ -78,7 +74,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->forAll(section : cda::Section | not section.title.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->forAll(section : cda::Section | not section.title.oclIsUndefined())'" * @generated */ boolean validateProcedureNoteSectionTitles(DiagnosticChain diagnostics, Map context); @@ -102,7 +98,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateProcedureNoteComponentOf(DiagnosticChain diagnostics, Map context); @@ -114,7 +110,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateProcedureNoteAssessmentSection(DiagnosticChain diagnostics, Map context); @@ -126,7 +122,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateProcedureNotePlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -138,7 +134,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateProcedureNoteAssessmentAndPlanSection(DiagnosticChain diagnostics, Map context); @@ -150,7 +146,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))'" * @generated */ boolean validateProcedureNoteComplicationsSection(DiagnosticChain diagnostics, Map context); @@ -162,7 +158,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection))'" * @generated */ boolean validateProcedureNotePostprocedureDiagnosisSection(DiagnosticChain diagnostics, @@ -175,7 +171,7 @@ boolean validateProcedureNotePostprocedureDiagnosisSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" * @generated */ boolean validateProcedureNoteProcedureDescriptionSection(DiagnosticChain diagnostics, Map context); @@ -187,7 +183,7 @@ boolean validateProcedureNotePostprocedureDiagnosisSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))'" * @generated */ boolean validateProcedureNoteProcedureIndicationsSection(DiagnosticChain diagnostics, Map context); @@ -199,7 +195,7 @@ boolean validateProcedureNotePostprocedureDiagnosisSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" * @generated */ boolean validateProcedureNoteAllergiesSectionEntriesOptional(DiagnosticChain diagnostics, @@ -212,7 +208,7 @@ boolean validateProcedureNoteAllergiesSectionEntriesOptional(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))'" * @generated */ boolean validateProcedureNoteAnesthesiaSection(DiagnosticChain diagnostics, Map context); @@ -224,7 +220,7 @@ boolean validateProcedureNoteAllergiesSectionEntriesOptional(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateProcedureNoteChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -236,7 +232,7 @@ boolean validateProcedureNoteAllergiesSectionEntriesOptional(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateProcedureNoteChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -249,7 +245,7 @@ boolean validateProcedureNoteChiefComplaintAndReasonForVisitSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" * @generated */ boolean validateProcedureNoteFamilyHistorySection(DiagnosticChain diagnostics, Map context); @@ -261,7 +257,7 @@ boolean validateProcedureNoteChiefComplaintAndReasonForVisitSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" * @generated */ boolean validateProcedureNoteHistoryOfPastIllnessSection(DiagnosticChain diagnostics, Map context); @@ -273,7 +269,7 @@ boolean validateProcedureNoteChiefComplaintAndReasonForVisitSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateProcedureNoteHistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -286,7 +282,7 @@ boolean validateProcedureNoteHistoryOfPresentIllnessSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))'" * @generated */ boolean validateProcedureNoteMedicalHistorySection(DiagnosticChain diagnostics, Map context); @@ -298,7 +294,7 @@ boolean validateProcedureNoteHistoryOfPresentIllnessSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" * @generated */ boolean validateProcedureNoteMedicationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -311,7 +307,7 @@ boolean validateProcedureNoteMedicationsSectionEntriesOptional(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection))'" * @generated */ boolean validateProcedureNoteMedicationsAdministeredSection(DiagnosticChain diagnostics, @@ -324,7 +320,7 @@ boolean validateProcedureNoteMedicationsAdministeredSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" * @generated */ boolean validateProcedureNotePhysicalExamSection(DiagnosticChain diagnostics, Map context); @@ -336,7 +332,7 @@ boolean validateProcedureNoteMedicationsAdministeredSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))'" * @generated */ boolean validateProcedureNotePlannedProcedureSection(DiagnosticChain diagnostics, Map context); @@ -348,7 +344,7 @@ boolean validateProcedureNoteMedicationsAdministeredSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" * @generated */ boolean validateProcedureNoteProcedureDispositionSection(DiagnosticChain diagnostics, Map context); @@ -360,7 +356,7 @@ boolean validateProcedureNoteMedicationsAdministeredSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" * @generated */ boolean validateProcedureNoteProcedureEstimatedBloodLossSection(DiagnosticChain diagnostics, @@ -373,7 +369,7 @@ boolean validateProcedureNoteProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))'" * @generated */ boolean validateProcedureNoteProcedureFindingsSection(DiagnosticChain diagnostics, Map context); @@ -385,7 +381,7 @@ boolean validateProcedureNoteProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" * @generated */ boolean validateProcedureNoteProcedureImplantsSection(DiagnosticChain diagnostics, Map context); @@ -397,7 +393,7 @@ boolean validateProcedureNoteProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" * @generated */ boolean validateProcedureNoteProcedureSpecimensTakenSection(DiagnosticChain diagnostics, @@ -410,7 +406,7 @@ boolean validateProcedureNoteProcedureSpecimensTakenSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" * @generated */ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain diagnostics, @@ -423,7 +419,7 @@ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateProcedureNoteReasonForVisitSection(DiagnosticChain diagnostics, Map context); @@ -435,7 +431,7 @@ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateProcedureNoteReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -447,7 +443,7 @@ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" * @generated */ boolean validateProcedureNoteSocialHistorySection(DiagnosticChain diagnostics, Map context); @@ -459,7 +455,7 @@ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateProcedureNoteParticipant1(DiagnosticChain diagnostics, Map context); @@ -471,7 +467,7 @@ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateProcedureNoteDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -483,7 +479,7 @@ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5LocationHealthCareFacilityId( @@ -496,7 +492,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5LocationHealthCare * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->exists(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->exists(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5LocationHealthCareFacility( @@ -509,7 +505,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5LocationHealthCare * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->select(typeCode = vocab::x_EncounterParticipant::REF)->select(typeCode = vocab::x_EncounterParticipant::REF)->reject(typeCode=vocab::x_EncounterParticipant::REF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->select(typeCode = vocab::x_EncounterParticipant::REF)->select(typeCode = vocab::x_EncounterParticipant::REF)->reject(typeCode=vocab::x_EncounterParticipant::REF)'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5EncounterParticipantTypeCode( @@ -522,7 +518,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5EncounterParticipa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5Code(DiagnosticChain diagnostics, @@ -535,7 +531,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5Code(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->exists(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->exists(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5Location(DiagnosticChain diagnostics, @@ -548,7 +544,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5Location(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->select(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant))->select(typeCode = vocab::x_EncounterParticipant::REF)->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->select(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant))->select(typeCode = vocab::x_EncounterParticipant::REF)->size() = 1)'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5EncounterParticipant(DiagnosticChain diagnostics, @@ -561,7 +557,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5EncounterParticipa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5(DiagnosticChain diagnostics, @@ -574,7 +570,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntityCodeP( @@ -587,7 +583,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssigne * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntityCode( @@ -600,7 +596,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssigne * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerTypeCode(DiagnosticChain diagnostics, @@ -613,7 +609,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerTypeCod * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -626,7 +622,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssigne * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1ProcedureCodes(DiagnosticChain diagnostics, @@ -639,7 +635,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1ProcedureCodes(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.low.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.low.oclIsUndefined())'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasLow(DiagnosticChain diagnostics, @@ -652,7 +648,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasLow(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasHighWhenNoWidth( @@ -665,7 +661,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasHighWhe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeNoHighIfWidth(DiagnosticChain diagnostics, @@ -678,7 +674,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeNoHighIfWi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 8) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 8))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 8) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 8))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheDay(DiagnosticChain diagnostics, @@ -691,7 +687,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheDay(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 12) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 12) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 12))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheMinute(DiagnosticChain diagnostics, @@ -704,7 +700,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheMinute(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 14) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 14))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 14) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 14))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheSecond(DiagnosticChain diagnostics, @@ -717,7 +713,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheSecond(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() and effectiveTime.low.value.size() > 8 implies effectiveTime.low.value.size() >= 15) and (not effectiveTime.high.value.oclIsUndefined() and effectiveTime.high.value.size() > 8 implies effectiveTime.high.value.size() >= 15))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() and effectiveTime.low.value.size() > 8 implies effectiveTime.low.value.size() >= 15) and (not effectiveTime.high.value.oclIsUndefined() and effectiveTime.high.value.size() > 8 implies effectiveTime.high.value.size() >= 15))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1IfMorePreciseThanDayIncludeTimeZoneOffset( @@ -730,7 +726,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1IfMorePreciseThanDayInc * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1Code(DiagnosticChain diagnostics, @@ -743,7 +739,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1Code(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTime(DiagnosticChain diagnostics, @@ -756,7 +752,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTime(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->size() = 1)'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(DiagnosticChain diagnostics, @@ -769,7 +765,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1(DiagnosticChain diagnostics, Map context); @@ -778,7 +774,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -787,7 +783,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -796,7 +792,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" * @generated */ AssessmentAndPlanSection getAssessmentAndPlanSection(); @@ -805,7 +801,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))->asSequence()->any(true).oclAsType(consol::ComplicationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))->asSequence()->any(true).oclAsType(consol::ComplicationsSection)'" * @generated */ ComplicationsSection getComplicationsSection(); @@ -814,7 +810,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosisSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosisSection)'" * @generated */ PostprocedureDiagnosisSection getPostprocedureDiagnosisSection(); @@ -823,7 +819,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" * @generated */ ProcedureDescriptionSection getProcedureDescriptionSection(); @@ -832,7 +828,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection)'" * @generated */ ProcedureIndicationsSection getProcedureIndicationsSection(); @@ -841,7 +837,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" * @generated */ AllergiesSectionEntriesOptional getAllergiesSectionEntriesOptional(); @@ -850,7 +846,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection)'" * @generated */ AnesthesiaSection getAnesthesiaSection(); @@ -859,7 +855,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -868,7 +864,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -877,7 +873,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" * @generated */ FamilyHistorySection getFamilyHistorySection(); @@ -886,7 +882,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" * @generated */ HistoryOfPastIllnessSection getHistoryOfPastIllnessSection(); @@ -895,7 +891,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -904,7 +900,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))->asSequence()->any(true).oclAsType(consol::MedicalHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))->asSequence()->any(true).oclAsType(consol::MedicalHistorySection)'" * @generated */ MedicalHistorySection getMedicalHistorySection(); @@ -913,7 +909,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" * @generated */ MedicationsSectionEntriesOptional getMedicationsSectionEntriesOptional(); @@ -922,7 +918,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection))->asSequence()->any(true).oclAsType(consol::MedicationsAdministeredSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection))->asSequence()->any(true).oclAsType(consol::MedicationsAdministeredSection)'" * @generated */ MedicationsAdministeredSection getMedicationsAdministeredSection(); @@ -931,7 +927,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" * @generated */ PhysicalExamSection getPhysicalExamSection(); @@ -940,7 +936,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection)'" * @generated */ PlannedProcedureSection getPlannedProcedureSection(); @@ -949,7 +945,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" * @generated */ ProcedureDispositionSection getProcedureDispositionSection(); @@ -958,7 +954,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" * @generated */ ProcedureEstimatedBloodLossSection getProcedureEstimatedBloodLossSection(); @@ -967,7 +963,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection)'" * @generated */ ProcedureFindingsSection getProcedureFindingsSection(); @@ -976,7 +972,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" * @generated */ ProcedureImplantsSection getProcedureImplantsSection(); @@ -985,7 +981,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" * @generated */ ProcedureSpecimensTakenSection getProcedureSpecimensTakenSection(); @@ -994,7 +990,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" * @generated */ ProceduresSectionEntriesOptional getProceduresSectionEntriesOptional(); @@ -1003,7 +999,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -1012,7 +1008,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -1021,7 +1017,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" * @generated */ SocialHistorySection getSocialHistorySection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote2.java index 3d73eaefd8..6532e891f6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -46,7 +42,7 @@ public interface ProcedureNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateProcedureNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( @@ -59,7 +55,7 @@ boolean validateProcedureNote2HasAnAssementAndPlanSection2OrBothAssementSectionA * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateProcedureNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent( @@ -72,7 +68,7 @@ boolean validateProcedureNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPl * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReasonForVisitSection( @@ -109,7 +105,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::IND)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::IND)->notEmpty()'" * @generated */ boolean validateProcedureNote2Participant(DiagnosticChain diagnostics, Map context); @@ -121,7 +117,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateProcedureNote2DocumentationOf(DiagnosticChain diagnostics, Map context); @@ -133,7 +129,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->one(authorization : cda::Authorization | not authorization.oclIsUndefined() and authorization.oclIsKindOf(cda::Authorization))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->one(authorization : cda::Authorization | not authorization.oclIsUndefined() and authorization.oclIsKindOf(cda::Authorization))'" * @generated */ boolean validateProcedureNote2Authorization(DiagnosticChain diagnostics, Map context); @@ -145,7 +141,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateProcedureNote2ComponentOf(DiagnosticChain diagnostics, Map context); @@ -157,7 +153,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))'" * @generated */ boolean validateProcedureNote2ComplicationsSection2(DiagnosticChain diagnostics, Map context); @@ -169,7 +165,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" * @generated */ boolean validateProcedureNote2ProcedureDescriptionSection(DiagnosticChain diagnostics, Map context); @@ -181,7 +177,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))'" * @generated */ boolean validateProcedureNote2ProcedureIndicationsSection2(DiagnosticChain diagnostics, @@ -194,7 +190,7 @@ boolean validateProcedureNote2ProcedureIndicationsSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection2))'" * @generated */ boolean validateProcedureNote2PostprocedureDiagnosisSection2(DiagnosticChain diagnostics, @@ -207,7 +203,7 @@ boolean validateProcedureNote2PostprocedureDiagnosisSection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateProcedureNote2AssessmentSection(DiagnosticChain diagnostics, Map context); @@ -219,7 +215,7 @@ boolean validateProcedureNote2PostprocedureDiagnosisSection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateProcedureNote2AssessmentAndPlanSection2(DiagnosticChain diagnostics, Map context); @@ -231,7 +227,7 @@ boolean validateProcedureNote2PostprocedureDiagnosisSection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateProcedureNote2PlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -243,7 +239,7 @@ boolean validateProcedureNote2PostprocedureDiagnosisSection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" * @generated */ boolean validateProcedureNote2AllergiesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -256,7 +252,7 @@ boolean validateProcedureNote2AllergiesSectionEntriesOptional2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))'" * @generated */ boolean validateProcedureNote2AnesthesiaSection2(DiagnosticChain diagnostics, Map context); @@ -268,7 +264,7 @@ boolean validateProcedureNote2AllergiesSectionEntriesOptional2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateProcedureNote2ChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -280,7 +276,7 @@ boolean validateProcedureNote2AllergiesSectionEntriesOptional2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateProcedureNote2ChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -293,7 +289,7 @@ boolean validateProcedureNote2ChiefComplaintAndReasonForVisitSection(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" * @generated */ boolean validateProcedureNote2FamilyHistorySection2(DiagnosticChain diagnostics, Map context); @@ -305,7 +301,7 @@ boolean validateProcedureNote2ChiefComplaintAndReasonForVisitSection(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" * @generated */ boolean validateProcedureNote2HistoryOfPastIllnessSection2(DiagnosticChain diagnostics, @@ -318,7 +314,7 @@ boolean validateProcedureNote2HistoryOfPastIllnessSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateProcedureNote2HistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -331,7 +327,7 @@ boolean validateProcedureNote2HistoryOfPresentIllnessSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))'" * @generated */ boolean validateProcedureNote2MedicalHistorySection(DiagnosticChain diagnostics, Map context); @@ -343,7 +339,7 @@ boolean validateProcedureNote2HistoryOfPresentIllnessSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))'" * @generated */ boolean validateProcedureNote2MedicationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -356,7 +352,7 @@ boolean validateProcedureNote2MedicationsSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection2))'" * @generated */ boolean validateProcedureNote2MedicationsAdministeredSection2(DiagnosticChain diagnostics, @@ -369,7 +365,7 @@ boolean validateProcedureNote2MedicationsAdministeredSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" * @generated */ boolean validateProcedureNote2PhysicalExamSection2(DiagnosticChain diagnostics, Map context); @@ -381,7 +377,7 @@ boolean validateProcedureNote2MedicationsAdministeredSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))'" * @generated */ boolean validateProcedureNote2PlannedProcedureSection2(DiagnosticChain diagnostics, Map context); @@ -393,7 +389,7 @@ boolean validateProcedureNote2MedicationsAdministeredSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" * @generated */ boolean validateProcedureNote2ProcedureDispositionSection(DiagnosticChain diagnostics, Map context); @@ -405,7 +401,7 @@ boolean validateProcedureNote2MedicationsAdministeredSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" * @generated */ boolean validateProcedureNote2ProcedureEstimatedBloodLossSection(DiagnosticChain diagnostics, @@ -418,7 +414,7 @@ boolean validateProcedureNote2ProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))'" * @generated */ boolean validateProcedureNote2ProcedureFindingsSection2(DiagnosticChain diagnostics, Map context); @@ -430,7 +426,7 @@ boolean validateProcedureNote2ProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" * @generated */ boolean validateProcedureNote2ProcedureImplantsSection(DiagnosticChain diagnostics, Map context); @@ -442,7 +438,7 @@ boolean validateProcedureNote2ProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" * @generated */ boolean validateProcedureNote2ProcedureSpecimensTakenSection(DiagnosticChain diagnostics, @@ -455,7 +451,7 @@ boolean validateProcedureNote2ProcedureSpecimensTakenSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" * @generated */ boolean validateProcedureNote2ProceduresSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -468,7 +464,7 @@ boolean validateProcedureNote2ProceduresSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateProcedureNote2ReasonForVisitSection(DiagnosticChain diagnostics, Map context); @@ -480,7 +476,7 @@ boolean validateProcedureNote2ProceduresSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateProcedureNote2ReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -492,7 +488,7 @@ boolean validateProcedureNote2ProceduresSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateProcedureNote2SocialHistorySection2(DiagnosticChain diagnostics, Map context); @@ -504,7 +500,7 @@ boolean validateProcedureNote2ProceduresSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::PROV)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::PROV)'" * @generated */ boolean validateProcedureNote2ParticipantAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -517,7 +513,7 @@ boolean validateProcedureNote2ParticipantAssociatedEntityClassCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -530,7 +526,7 @@ boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" * @generated */ boolean validateProcedureNote2ParticipantTypeCode(DiagnosticChain diagnostics, Map context); @@ -542,7 +538,7 @@ boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.code = \'PCP\' and value.codeSystem = \'2.16.840.1.113883.5.88\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.code = \'PCP\' and value.codeSystem = \'2.16.840.1.113883.5.88\'))'" * @generated */ boolean validateProcedureNote2ParticipantFunctionCode(DiagnosticChain diagnostics, Map context); @@ -554,7 +550,7 @@ boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2ParticipantFunctionCodeP(DiagnosticChain diagnostics, Map context); @@ -566,7 +562,7 @@ boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateProcedureNote2ParticipantAssociatedEntity(DiagnosticChain diagnostics, Map context); @@ -578,7 +574,7 @@ boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow(DiagnosticChain diagnostics, @@ -591,7 +587,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -604,7 +600,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntityCode(DiagnosticChain diagnostics, @@ -617,7 +613,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerTypeCode(DiagnosticChain diagnostics, @@ -630,7 +626,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerTypeCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -643,7 +639,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCodeP( @@ -656,7 +652,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCode( @@ -669,7 +665,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::SPRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::SPRF)'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsTypeCode(DiagnosticChain diagnostics, @@ -682,7 +678,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsType * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntity( @@ -695,7 +691,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth( @@ -708,7 +704,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTimeHasHighWhe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWidth(DiagnosticChain diagnostics, @@ -721,7 +717,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventProcedureCodes(DiagnosticChain diagnostics, @@ -734,7 +730,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventProcedureCodes(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -747,7 +743,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTime(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventCode(DiagnosticChain diagnostics, @@ -760,7 +756,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventCode(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->notEmpty())'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformer(DiagnosticChain diagnostics, @@ -773,7 +769,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformer(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->notEmpty())'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistants(DiagnosticChain diagnostics, @@ -786,7 +782,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistants(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEvent(DiagnosticChain diagnostics, Map context); @@ -798,7 +794,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistants(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClass::CONS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClass::CONS)'" * @generated */ boolean validateProcedureNote2AuthorizationConsentClassCode(DiagnosticChain diagnostics, @@ -811,7 +807,7 @@ boolean validateProcedureNote2AuthorizationConsentClassCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'moodCode\') and moodCode=vocab::ActMood::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'moodCode\') and moodCode=vocab::ActMood::EVN)'" * @generated */ boolean validateProcedureNote2AuthorizationConsentMoodCode(DiagnosticChain diagnostics, @@ -824,7 +820,7 @@ boolean validateProcedureNote2AuthorizationConsentMoodCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2AuthorizationConsentStatusCode(DiagnosticChain diagnostics, @@ -837,7 +833,7 @@ boolean validateProcedureNote2AuthorizationConsentStatusCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::AUTH)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::AUTH)'" * @generated */ boolean validateProcedureNote2AuthorizationTypeCode(DiagnosticChain diagnostics, Map context); @@ -849,7 +845,7 @@ boolean validateProcedureNote2AuthorizationConsentStatusCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(consent->one(consent : cda::Consent | not consent.oclIsUndefined() and consent.oclIsKindOf(cda::Consent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(consent->one(consent : cda::Consent | not consent.oclIsUndefined() and consent.oclIsKindOf(cda::Consent)))'" * @generated */ boolean validateProcedureNote2AuthorizationConsent(DiagnosticChain diagnostics, Map context); @@ -861,7 +857,7 @@ boolean validateProcedureNote2AuthorizationConsentStatusCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(typeCode=vocab::x_EncounterParticipant::REF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(typeCode=vocab::x_EncounterParticipant::REF)'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterEncounterParticipantTypeCode( @@ -874,7 +870,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterEncounterParticipa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterLocationHealthCareFacilityId( @@ -887,7 +883,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterLocationHealthCare * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->one(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->one(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterLocationHealthCareFacility( @@ -900,7 +896,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterLocationHealthCare * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterId(DiagnosticChain diagnostics, @@ -913,7 +909,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterId(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterCode(DiagnosticChain diagnostics, @@ -926,7 +922,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterEncounterParticipant(DiagnosticChain diagnostics, @@ -939,7 +935,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterEncounterParticipa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->exists(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->exists(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterLocation(DiagnosticChain diagnostics, @@ -952,7 +948,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterLocation(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -962,7 +958,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))->asSequence()->any(true).oclAsType(consol::ComplicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))->asSequence()->any(true).oclAsType(consol::ComplicationsSection2)'" * @generated */ ComplicationsSection2 getComplicationsSection2(); @@ -971,7 +967,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" * @generated */ ProcedureDescriptionSection getProcedureDescriptionSection(); @@ -980,7 +976,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection2)'" * @generated */ ProcedureIndicationsSection2 getProcedureIndicationsSection2(); @@ -989,7 +985,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosisSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosisSection2)'" * @generated */ PostprocedureDiagnosisSection2 getPostprocedureDiagnosisSection2(); @@ -998,7 +994,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -1007,7 +1003,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" * @generated */ AssessmentAndPlanSection2 getAssessmentAndPlanSection2(); @@ -1016,7 +1012,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -1025,7 +1021,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" * @generated */ AllergiesSectionEntriesOptional2 getAllergiesSectionEntriesOptional2(); @@ -1034,7 +1030,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection2)'" * @generated */ AnesthesiaSection2 getAnesthesiaSection2(); @@ -1043,7 +1039,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -1052,7 +1048,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -1061,7 +1057,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" * @generated */ FamilyHistorySection2 getFamilyHistorySection2(); @@ -1070,7 +1066,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" * @generated */ HistoryOfPastIllnessSection2 getHistoryOfPastIllnessSection2(); @@ -1079,7 +1075,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -1088,7 +1084,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))->asSequence()->any(true).oclAsType(consol::MedicalHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))->asSequence()->any(true).oclAsType(consol::MedicalHistorySection)'" * @generated */ MedicalHistorySection getMedicalHistorySection(); @@ -1097,7 +1093,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional2)'" * @generated */ MedicationsSectionEntriesOptional2 getMedicationsSectionEntriesOptional2(); @@ -1106,7 +1102,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection2))->asSequence()->any(true).oclAsType(consol::MedicationsAdministeredSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection2))->asSequence()->any(true).oclAsType(consol::MedicationsAdministeredSection2)'" * @generated */ MedicationsAdministeredSection2 getMedicationsAdministeredSection2(); @@ -1115,7 +1111,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" * @generated */ PhysicalExamSection2 getPhysicalExamSection2(); @@ -1124,7 +1120,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection2)'" * @generated */ PlannedProcedureSection2 getPlannedProcedureSection2(); @@ -1133,7 +1129,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" * @generated */ ProcedureDispositionSection getProcedureDispositionSection(); @@ -1142,7 +1138,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" * @generated */ ProcedureEstimatedBloodLossSection getProcedureEstimatedBloodLossSection(); @@ -1151,7 +1147,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection2)'" * @generated */ ProcedureFindingsSection2 getProcedureFindingsSection2(); @@ -1160,7 +1156,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" * @generated */ ProcedureImplantsSection getProcedureImplantsSection(); @@ -1169,7 +1165,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" * @generated */ ProcedureSpecimensTakenSection getProcedureSpecimensTakenSection(); @@ -1178,7 +1174,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" * @generated */ ProceduresSectionEntriesOptional2 getProceduresSectionEntriesOptional2(); @@ -1187,7 +1183,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -1196,7 +1192,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -1205,7 +1201,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureSpecimensTakenSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureSpecimensTakenSection.java index 0fa4692510..31ffc0dd0c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureSpecimensTakenSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureSpecimensTakenSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ProcedureSpecimensTakenSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.31\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.31\')'" * @generated */ boolean validateProcedureSpecimensTakenSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection.java index 46aad74b2f..389cca7d98 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface ProceduresSection extends ProceduresSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies self.getActs()->exists(a : cda::Act | a.oclIsKindOf(consol::ProcedureActivityAct)) or self.getObservations()->exists(o : cda::Observation | o.oclIsKindOf(consol::ProcedureActivityObservation)) or self.getProcedures()->exists(p : cda::Procedure | p.oclIsKindOf(consol::ProcedureActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies self.getActs()->exists(a : cda::Act | a.oclIsKindOf(consol::ProcedureActivityAct)) or self.getObservations()->exists(o : cda::Observation | o.oclIsKindOf(consol::ProcedureActivityObservation)) or self.getProcedures()->exists(p : cda::Procedure | p.oclIsKindOf(consol::ProcedureActivityProcedure))'" * @generated */ boolean validateProceduresSectionHasProcedureActivity(DiagnosticChain diagnostics, Map context); @@ -60,7 +56,7 @@ public interface ProceduresSection extends ProceduresSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure))'" * @generated */ boolean validateProceduresSectionProcedureActivityProcedure(DiagnosticChain diagnostics, @@ -73,7 +69,7 @@ boolean validateProceduresSectionProcedureActivityProcedure(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProcedureActivityObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProcedureActivityObservation))'" * @generated */ boolean validateProceduresSectionProcedureActivityObservation(DiagnosticChain diagnostics, @@ -86,7 +82,7 @@ boolean validateProceduresSectionProcedureActivityObservation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProcedureActivityAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProcedureActivityAct))'" * @generated */ boolean validateProceduresSectionProcedureActivityAct(DiagnosticChain diagnostics, Map context); @@ -95,7 +91,7 @@ boolean validateProceduresSectionProcedureActivityObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" * @generated */ EList getConsolProcedureActivityProcedures(); @@ -104,7 +100,7 @@ boolean validateProceduresSectionProcedureActivityObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation)).oclAsType(consol::ProcedureActivityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation)).oclAsType(consol::ProcedureActivityObservation)'" * @generated */ EList getConsolProcedureActivityObservations(); @@ -113,7 +109,7 @@ boolean validateProceduresSectionProcedureActivityObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct)).oclAsType(consol::ProcedureActivityAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct)).oclAsType(consol::ProcedureActivityAct)'" * @generated */ EList getConsolProcedureActivityActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection2.java index e3b90d6488..9df5032678 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface ProceduresSection2 extends ProceduresSectionEntriesOptional2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies self.getActs()->exists(a : cda::Act | a.oclIsKindOf(consol::ProcedureActivityAct)) or self.getObservations()->exists(o : cda::Observation | o.oclIsKindOf(consol::ProcedureActivityObservation)) or self.getProcedures()->exists(p : cda::Procedure | p.oclIsKindOf(consol::ProcedureActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies self.getActs()->exists(a : cda::Act | a.oclIsKindOf(consol::ProcedureActivityAct)) or self.getObservations()->exists(o : cda::Observation | o.oclIsKindOf(consol::ProcedureActivityObservation)) or self.getProcedures()->exists(p : cda::Procedure | p.oclIsKindOf(consol::ProcedureActivityProcedure))'" * @generated */ boolean validateProceduresSection2HasProcedureActivity(DiagnosticChain diagnostics, Map context); @@ -79,7 +75,7 @@ public interface ProceduresSection2 extends ProceduresSectionEntriesOptional2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(cda::Entry))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(cda::Entry))'" * @generated */ boolean validateProceduresSection2Entry(DiagnosticChain diagnostics, Map context); @@ -91,7 +87,7 @@ public interface ProceduresSection2 extends ProceduresSectionEntriesOptional2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)))'" * @generated */ boolean validateProceduresSection2EntryProcedureActivityAct2(DiagnosticChain diagnostics, @@ -104,7 +100,7 @@ boolean validateProceduresSection2EntryProcedureActivityAct2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)))'" * @generated */ boolean validateProceduresSection2EntryProcedureActivityObservation2(DiagnosticChain diagnostics, @@ -117,7 +113,7 @@ boolean validateProceduresSection2EntryProcedureActivityObservation2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(procedure->one(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(procedure->one(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)))'" * @generated */ boolean validateProceduresSection2EntryProcedureActivityProcedure2(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional.java index eb1e09a8a6..b7e504039f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -38,7 +33,7 @@ public interface ProceduresSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.7\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.7\')'" * @generated */ boolean validateProceduresSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -99,7 +94,7 @@ boolean validateProceduresSectionEntriesOptionalTemplateId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure))'" * @generated */ boolean validateProceduresSectionEntriesOptionalProcedureActivityProcedure(DiagnosticChain diagnostics, @@ -112,7 +107,7 @@ boolean validateProceduresSectionEntriesOptionalProcedureActivityProcedure(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProcedureActivityObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProcedureActivityObservation))'" * @generated */ boolean validateProceduresSectionEntriesOptionalProcedureActivityObservation(DiagnosticChain diagnostics, @@ -125,7 +120,7 @@ boolean validateProceduresSectionEntriesOptionalProcedureActivityObservation(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProcedureActivityAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProcedureActivityAct))'" * @generated */ boolean validateProceduresSectionEntriesOptionalProcedureActivityAct(DiagnosticChain diagnostics, @@ -135,7 +130,7 @@ boolean validateProceduresSectionEntriesOptionalProcedureActivityAct(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" * @generated */ EList getProcedureActivityProcedures(); @@ -144,7 +139,7 @@ boolean validateProceduresSectionEntriesOptionalProcedureActivityAct(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation)).oclAsType(consol::ProcedureActivityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation)).oclAsType(consol::ProcedureActivityObservation)'" * @generated */ EList getProcedureActivityObservations(); @@ -153,7 +148,7 @@ boolean validateProceduresSectionEntriesOptionalProcedureActivityAct(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct)).oclAsType(consol::ProcedureActivityAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct)).oclAsType(consol::ProcedureActivityAct)'" * @generated */ EList getProcedureActivityActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional2.java index 56155e4f63..428b78280f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface ProceduresSectionEntriesOptional2 extends ProceduresSectionEntr * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getConsolProcedureActivityProcedure2s(); @@ -34,7 +30,7 @@ public interface ProceduresSectionEntriesOptional2 extends ProceduresSectionEntr * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)).oclAsType(consol::ProcedureActivityObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)).oclAsType(consol::ProcedureActivityObservation2)'" * @generated */ EList getConsolProcedureActivityObservation2s(); @@ -43,7 +39,7 @@ public interface ProceduresSectionEntriesOptional2 extends ProceduresSectionEntr * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)).oclAsType(consol::ProcedureActivityAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)).oclAsType(consol::ProcedureActivityAct2)'" * @generated */ EList getConsolProcedureActivityAct2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProductInstance.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProductInstance.java index 36d5586a2e..299bfa2baa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProductInstance.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProductInstance.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ParticipantRole; /** @@ -40,7 +35,7 @@ public interface ProductInstance extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.37\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.37\')'" * @generated */ boolean validateProductInstanceTemplateId(DiagnosticChain diagnostics, Map context); @@ -64,7 +59,7 @@ public interface ProductInstance extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProductInstanceId(DiagnosticChain diagnostics, Map context); @@ -76,7 +71,7 @@ public interface ProductInstance extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.scopingEntity->one(scopingEntity : cda::Entity | not scopingEntity.oclIsUndefined() and scopingEntity.oclIsKindOf(cda::Entity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.scopingEntity->one(scopingEntity : cda::Entity | not scopingEntity.oclIsUndefined() and scopingEntity.oclIsKindOf(cda::Entity))'" * @generated */ boolean validateProductInstanceScopingEntity(DiagnosticChain diagnostics, Map context); @@ -88,7 +83,7 @@ public interface ProductInstance extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingDevice->one(playingDevice : cda::Device | not playingDevice.oclIsUndefined() and playingDevice.oclIsKindOf(cda::Device))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingDevice->one(playingDevice : cda::Device | not playingDevice.oclIsUndefined() and playingDevice.oclIsKindOf(cda::Device))'" * @generated */ boolean validateProductInstancePlayingDevice(DiagnosticChain diagnostics, Map context); @@ -100,7 +95,7 @@ public interface ProductInstance extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.scopingEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.scopingEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateProductInstanceScopingEntityId(DiagnosticChain diagnostics, Map context); @@ -112,7 +107,7 @@ public interface ProductInstance extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingDevice->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingDevice->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProductInstancePlayingDeviceCode(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PrognosisObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PrognosisObservation.java index 1975e165c2..f61997cc4f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PrognosisObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PrognosisObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface PrognosisObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.113\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.113\')'" * @generated */ boolean validatePrognosisObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface PrognosisObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validatePrognosisObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote.java index 30f5f14865..bba78c4e14 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface ProgressNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateProgressNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( @@ -49,7 +45,7 @@ boolean validateProgressNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPl * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( @@ -74,7 +70,7 @@ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAsse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateProgressNoteDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -86,7 +82,7 @@ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAsse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateProgressNoteComponentOf(DiagnosticChain diagnostics, Map context); @@ -98,7 +94,7 @@ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAsse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateProgressNoteAssessmentSection(DiagnosticChain diagnostics, Map context); @@ -110,7 +106,7 @@ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAsse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateProgressNotePlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -122,7 +118,7 @@ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAsse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateProgressNoteAssessmentAndPlanSection(DiagnosticChain diagnostics, Map context); @@ -134,7 +130,7 @@ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAsse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" * @generated */ boolean validateProgressNoteAllergiesSectionEntriesOptional(DiagnosticChain diagnostics, @@ -147,7 +143,7 @@ boolean validateProgressNoteAllergiesSectionEntriesOptional(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateProgressNoteChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -159,7 +155,7 @@ boolean validateProgressNoteAllergiesSectionEntriesOptional(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection))'" * @generated */ boolean validateProgressNoteInterventionsSection(DiagnosticChain diagnostics, Map context); @@ -171,7 +167,7 @@ boolean validateProgressNoteAllergiesSectionEntriesOptional(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" * @generated */ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -184,7 +180,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))'" * @generated */ boolean validateProgressNoteObjectiveSection(DiagnosticChain diagnostics, Map context); @@ -196,7 +192,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" * @generated */ boolean validateProgressNotePhysicalExamSection(DiagnosticChain diagnostics, Map context); @@ -208,7 +204,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" * @generated */ boolean validateProgressNoteProblemSectionEntriesOptional(DiagnosticChain diagnostics, Map context); @@ -220,7 +216,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))'" * @generated */ boolean validateProgressNoteResultsSectionEntriesOptional(DiagnosticChain diagnostics, Map context); @@ -232,7 +228,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateProgressNoteReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -244,7 +240,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))'" * @generated */ boolean validateProgressNoteSubjectiveSection(DiagnosticChain diagnostics, Map context); @@ -256,7 +252,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" * @generated */ boolean validateProgressNoteVitalSignsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -269,7 +265,7 @@ boolean validateProgressNoteVitalSignsSectionEntriesOptional(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))'" * @generated */ boolean validateProgressNoteInstructionsSection(DiagnosticChain diagnostics, Map context); @@ -281,7 +277,7 @@ boolean validateProgressNoteVitalSignsSectionEntriesOptional(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(effectiveTime->forAll(not low.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(effectiveTime->forAll(not low.oclIsUndefined()))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTimeLow(DiagnosticChain diagnostics, @@ -294,7 +290,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTimeLow(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(effectiveTime->forAll(width.oclIsUndefined() implies not high.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(effectiveTime->forAll(width.oclIsUndefined() implies not high.oclIsUndefined()))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTimeHigh(DiagnosticChain diagnostics, @@ -307,7 +303,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTimeHigh(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 8) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 8))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 8) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 8))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheDay(DiagnosticChain diagnostics, @@ -320,7 +316,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheDay(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 12) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 12) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 12))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheMinute(DiagnosticChain diagnostics, @@ -333,7 +329,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheMinute(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 14) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 14))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 14) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 14))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheSecond(DiagnosticChain diagnostics, @@ -346,7 +342,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheSecond(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() and effectiveTime.low.value.size() > 8 implies effectiveTime.low.value.size() >= 15) and (not effectiveTime.high.value.oclIsUndefined() and effectiveTime.high.value.size() > 8 implies effectiveTime.high.value.size() >= 15))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() and effectiveTime.low.value.size() > 8 implies effectiveTime.low.value.size() >= 15) and (not effectiveTime.high.value.oclIsUndefined() and effectiveTime.high.value.size() > 8 implies effectiveTime.high.value.size() >= 15))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2IfMorePreciseThanDayIncludeTimeZoneOffset( @@ -359,7 +355,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2IfMorePreciseThanDayIncl * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.3.1\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.3.1\'))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2TemplateId(DiagnosticChain diagnostics, @@ -372,7 +368,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2TemplateId(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2ClassCode(DiagnosticChain diagnostics, @@ -385,7 +381,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2ClassCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTime(DiagnosticChain diagnostics, @@ -398,7 +394,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTime(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2(DiagnosticChain diagnostics, Map context); @@ -410,7 +406,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTime(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6LocationHealthCareFacility1Id( @@ -423,7 +419,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6LocationHealthCareF * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->one(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->one(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6LocationHealthCareFacility(DiagnosticChain diagnostics, @@ -436,7 +432,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6LocationHealthCareF * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheDay(DiagnosticChain diagnostics, @@ -449,7 +445,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheDay(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheMinute(DiagnosticChain diagnostics, @@ -462,7 +458,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheMinute( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheSecond(DiagnosticChain diagnostics, @@ -475,7 +471,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheSecond( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6IfMorePreciseThanDayIncludeTimeZoneOffset( @@ -488,7 +484,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6IfMorePreciseThanDa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6EffectiveTime(DiagnosticChain diagnostics, @@ -501,7 +497,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6EffectiveTime(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6Id(DiagnosticChain diagnostics, @@ -514,7 +510,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6Id(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6Location(DiagnosticChain diagnostics, @@ -527,7 +523,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6Location(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain diagnostics, @@ -537,7 +533,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -546,7 +542,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -555,7 +551,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" * @generated */ AssessmentAndPlanSection getAssessmentAndPlanSection(); @@ -564,7 +560,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" * @generated */ AllergiesSectionEntriesOptional getAllergiesSectionEntriesOptional(); @@ -573,7 +569,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -582,7 +578,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection))->asSequence()->any(true).oclAsType(consol::InterventionsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection))->asSequence()->any(true).oclAsType(consol::InterventionsSection)'" * @generated */ InterventionsSection getInterventionsSection(); @@ -591,7 +587,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" * @generated */ MedicationsSectionEntriesOptional getMedicationsSectionEntriesOptional(); @@ -600,7 +596,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))->asSequence()->any(true).oclAsType(consol::ObjectiveSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))->asSequence()->any(true).oclAsType(consol::ObjectiveSection)'" * @generated */ ObjectiveSection getObjectiveSection(); @@ -609,7 +605,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" * @generated */ PhysicalExamSection getPhysicalExamSection(); @@ -618,7 +614,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" * @generated */ ProblemSectionEntriesOptional getProblemSectionEntriesOptional(); @@ -627,7 +623,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional)'" * @generated */ ResultsSectionEntriesOptional getResultsSectionEntriesOptional(); @@ -636,7 +632,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -645,7 +641,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))->asSequence()->any(true).oclAsType(consol::SubjectiveSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))->asSequence()->any(true).oclAsType(consol::SubjectiveSection)'" * @generated */ SubjectiveSection getSubjectiveSection(); @@ -654,7 +650,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" * @generated */ VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOptional(); @@ -663,7 +659,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))->asSequence()->any(true).oclAsType(consol::InstructionsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))->asSequence()->any(true).oclAsType(consol::InstructionsSection)'" * @generated */ InstructionsSection getInstructionsSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote2.java index 504834688c..ba5b06e726 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -38,7 +34,7 @@ public interface ProgressNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateProgressNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( @@ -51,7 +47,7 @@ boolean validateProgressNote2HasAnAssementAndPlanSection2OrBothAssementSectionAn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent( @@ -88,7 +84,7 @@ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateProgressNote2DocumentationOf(DiagnosticChain diagnostics, Map context); @@ -100,7 +96,7 @@ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateProgressNote2ComponentOf(DiagnosticChain diagnostics, Map context); @@ -112,7 +108,7 @@ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateProgressNote2AssessmentSection(DiagnosticChain diagnostics, Map context); @@ -124,7 +120,7 @@ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateProgressNote2PlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -136,7 +132,7 @@ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateProgressNote2AssessmentAndPlanSection2(DiagnosticChain diagnostics, Map context); @@ -148,7 +144,7 @@ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" * @generated */ boolean validateProgressNote2AllergiesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -161,7 +157,7 @@ boolean validateProgressNote2AllergiesSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateProgressNote2ChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -173,7 +169,7 @@ boolean validateProgressNote2AllergiesSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))'" * @generated */ boolean validateProgressNote2InterventionsSection2(DiagnosticChain diagnostics, Map context); @@ -185,7 +181,7 @@ boolean validateProgressNote2AllergiesSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))'" * @generated */ boolean validateProgressNote2InstructionsSection2(DiagnosticChain diagnostics, Map context); @@ -197,7 +193,7 @@ boolean validateProgressNote2AllergiesSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))'" * @generated */ boolean validateProgressNote2MedicationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -210,7 +206,7 @@ boolean validateProgressNote2MedicationsSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))'" * @generated */ boolean validateProgressNote2ObjectiveSection(DiagnosticChain diagnostics, Map context); @@ -222,7 +218,7 @@ boolean validateProgressNote2MedicationsSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" * @generated */ boolean validateProgressNote2PhysicalExamSection2(DiagnosticChain diagnostics, Map context); @@ -234,7 +230,7 @@ boolean validateProgressNote2MedicationsSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))'" * @generated */ boolean validateProgressNote2ProblemSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -247,7 +243,7 @@ boolean validateProgressNote2ProblemSectionEntriesOptional2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))'" * @generated */ boolean validateProgressNote2ResultsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -260,7 +256,7 @@ boolean validateProgressNote2ResultsSectionEntriesOptional2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateProgressNote2ReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -272,7 +268,7 @@ boolean validateProgressNote2ResultsSectionEntriesOptional2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))'" * @generated */ boolean validateProgressNote2SubjectiveSection(DiagnosticChain diagnostics, Map context); @@ -284,7 +280,7 @@ boolean validateProgressNote2ResultsSectionEntriesOptional2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))'" * @generated */ boolean validateProgressNote2VitalSignsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -297,7 +293,7 @@ boolean validateProgressNote2VitalSignsSectionEntriesOptional2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" * @generated */ boolean validateProgressNote2NutritionSection(DiagnosticChain diagnostics, Map context); @@ -309,7 +305,7 @@ boolean validateProgressNote2VitalSignsSectionEntriesOptional2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateProgressNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow(DiagnosticChain diagnostics, @@ -322,7 +318,7 @@ boolean validateProgressNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateProgressNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth(DiagnosticChain diagnostics, @@ -335,7 +331,7 @@ boolean validateProgressNote2DocumentationOfServiceEventEffectiveTimeHasHighWhen * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.3.1\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.3.1\'))'" * @generated */ boolean validateProgressNote2DocumentationOfServiceEventTemplateId(DiagnosticChain diagnostics, @@ -348,7 +344,7 @@ boolean validateProgressNote2DocumentationOfServiceEventTemplateId(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" * @generated */ boolean validateProgressNote2DocumentationOfServiceEventClassCode(DiagnosticChain diagnostics, @@ -361,7 +357,7 @@ boolean validateProgressNote2DocumentationOfServiceEventClassCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateProgressNote2DocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -374,7 +370,7 @@ boolean validateProgressNote2DocumentationOfServiceEventEffectiveTime(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateProgressNote2DocumentationOfServiceEvent(DiagnosticChain diagnostics, Map context); @@ -386,7 +382,7 @@ boolean validateProgressNote2DocumentationOfServiceEventEffectiveTime(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounterUSRealmDateAndTimeDTLow(DiagnosticChain diagnostics, @@ -399,7 +395,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounterUSRealmDateAndTimeD * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounterLocationHealthCareFacilityId( @@ -412,7 +408,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounterLocationHealthCareF * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->one(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->one(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounterLocationHealthCareFacility(DiagnosticChain diagnostics, @@ -425,7 +421,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounterLocationHealthCareF * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounterId(DiagnosticChain diagnostics, @@ -438,7 +434,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounterId(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -451,7 +447,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounterEffectiveTime(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounterLocation(DiagnosticChain diagnostics, @@ -464,7 +460,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounterLocation(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -474,7 +470,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -483,7 +479,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -492,7 +488,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" * @generated */ AssessmentAndPlanSection2 getAssessmentAndPlanSection2(); @@ -501,7 +497,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" * @generated */ AllergiesSectionEntriesOptional2 getAllergiesSectionEntriesOptional2(); @@ -510,7 +506,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -519,7 +515,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))->asSequence()->any(true).oclAsType(consol::InterventionsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))->asSequence()->any(true).oclAsType(consol::InterventionsSection2)'" * @generated */ InterventionsSection2 getInterventionsSection2(); @@ -528,7 +524,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))->asSequence()->any(true).oclAsType(consol::InstructionsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))->asSequence()->any(true).oclAsType(consol::InstructionsSection2)'" * @generated */ InstructionsSection2 getInstructionsSection2(); @@ -537,7 +533,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional2)'" * @generated */ MedicationsSectionEntriesOptional2 getMedicationsSectionEntriesOptional2(); @@ -546,7 +542,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))->asSequence()->any(true).oclAsType(consol::ObjectiveSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))->asSequence()->any(true).oclAsType(consol::ObjectiveSection)'" * @generated */ ObjectiveSection getObjectiveSection(); @@ -555,7 +551,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" * @generated */ PhysicalExamSection2 getPhysicalExamSection2(); @@ -564,7 +560,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional2)'" * @generated */ ProblemSectionEntriesOptional2 getProblemSectionEntriesOptional2(); @@ -573,7 +569,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional2)'" * @generated */ ResultsSectionEntriesOptional2 getResultsSectionEntriesOptional2(); @@ -582,7 +578,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -591,7 +587,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))->asSequence()->any(true).oclAsType(consol::SubjectiveSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))->asSequence()->any(true).oclAsType(consol::SubjectiveSection)'" * @generated */ SubjectiveSection getSubjectiveSection(); @@ -600,7 +596,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional2)'" * @generated */ VitalSignsSectionEntriesOptional2 getVitalSignsSectionEntriesOptional2(); @@ -609,7 +605,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" * @generated */ NutritionSection getNutritionSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressTowardGoalObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressTowardGoalObservation.java index 2f344144e5..13659cd6a5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressTowardGoalObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressTowardGoalObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface ProgressTowardGoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.110\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.110\')'" * @generated */ boolean validateProgressTowardGoalObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface ProgressTowardGoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProgressTowardGoalObservationId(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface ProgressTowardGoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'390801001\' or value.code = \'390802008\' or value.code = \'706905005\' or value.code = \'706906006\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'390801001\' or value.code = \'390802008\' or value.code = \'706905005\' or value.code = \'706906006\')))'" * @generated */ boolean validateProgressTowardGoalObservationValue(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface ProgressTowardGoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateProgressTowardGoalObservationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PurposeofReferenceObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PurposeofReferenceObservation.java index 351600c2fd..e1c5a8d58d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PurposeofReferenceObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PurposeofReferenceObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -45,7 +40,7 @@ boolean validatePurposeofReferenceObservationCodeCodeSystem(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.9\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.9\')'" * @generated */ boolean validatePurposeofReferenceObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ boolean validatePurposeofReferenceObservationCodeCodeSystem(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'1.2.840.10008.2.16.4\' and (value.code = \'121079\' or value.code = \'121080\' or value.code = \'121112\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'1.2.840.10008.2.16.4\' and (value.code = \'121079\' or value.code = \'121080\' or value.code = \'121112\')))'" * @generated */ boolean validatePurposeofReferenceObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/QuantityMeasurementObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/QuantityMeasurementObservation.java index 7778c27e80..ff8658e285 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/QuantityMeasurementObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/QuantityMeasurementObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -59,7 +54,7 @@ boolean validateQuantityMeasurementObservationCodeCodeSystemDICOM(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.14\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.14\')'" * @generated */ boolean validateQuantityMeasurementObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -120,7 +115,7 @@ boolean validateQuantityMeasurementObservationEffectiveTime(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" * @generated */ boolean validateQuantityMeasurementObservationValue(DiagnosticChain diagnostics, Map context); @@ -132,7 +127,7 @@ boolean validateQuantityMeasurementObservationEffectiveTime(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateQuantityMeasurementObservationSOPInstanceObservation(DiagnosticChain diagnostics, @@ -142,7 +137,7 @@ boolean validateQuantityMeasurementObservationSOPInstanceObservation(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" * @generated */ EList getSOPInstanceObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation.java index b19f9afeb9..281a86b2e9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -33,7 +28,7 @@ public interface ReactionObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateReactionObservationTextReference(DiagnosticChain diagnostics, Map context); @@ -45,7 +40,7 @@ public interface ReactionObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateReactionObservationTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ReactionObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::SeverityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::SeverityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateReactionObservationSeverityObservationInversionInd(DiagnosticChain diagnostics, @@ -106,7 +101,7 @@ boolean validateReactionObservationSeverityObservationInversionInd(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.procedure.oclIsTypeOf(consol::ProcedureActivityProcedure))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.procedure.oclIsTypeOf(consol::ProcedureActivityProcedure))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateReactionObservationProcedureActivityProcedureInversionInd(DiagnosticChain diagnostics, @@ -119,7 +114,7 @@ boolean validateReactionObservationProcedureActivityProcedureInversionInd(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.substanceAdministration.oclIsTypeOf(consol::MedicationActivity))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.substanceAdministration.oclIsTypeOf(consol::MedicationActivity))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChain diagnostics, @@ -132,7 +127,7 @@ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.9\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.9\')'" * @generated */ boolean validateReactionObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -168,7 +163,7 @@ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" * @generated */ boolean validateReactionObservationId(DiagnosticChain diagnostics, Map context); @@ -228,7 +223,7 @@ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateReactionObservationValue(DiagnosticChain diagnostics, Map context); @@ -240,7 +235,7 @@ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateReactionObservationValueP(DiagnosticChain diagnostics, Map context); @@ -252,7 +247,7 @@ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SeverityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SeverityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateReactionObservationSeverityObservation(DiagnosticChain diagnostics, Map context); @@ -264,7 +259,7 @@ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::ProcedureActivityProcedure) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::ProcedureActivityProcedure) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateReactionObservationProcedureActivityProcedure(DiagnosticChain diagnostics, @@ -277,7 +272,7 @@ boolean validateReactionObservationProcedureActivityProcedure(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateReactionObservationMedicationActivity(DiagnosticChain diagnostics, Map context); @@ -286,7 +281,7 @@ boolean validateReactionObservationProcedureActivityProcedure(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation))->asSequence()->any(true).oclAsType(consol::SeverityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation))->asSequence()->any(true).oclAsType(consol::SeverityObservation)'" * @generated */ SeverityObservation getSeverityObservation(); @@ -295,7 +290,7 @@ boolean validateReactionObservationProcedureActivityProcedure(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" * @generated */ EList getProcedureActivityProcedures(); @@ -304,7 +299,7 @@ boolean validateReactionObservationProcedureActivityProcedure(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation2.java index f96d086221..c7afb15d09 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -43,7 +39,7 @@ public interface ReactionObservation2 extends ReactionObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.9\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.9\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateReactionObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -76,7 +72,7 @@ public interface ReactionObservation2 extends ReactionObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getConsolProcedureActivityProcedure2s(); @@ -85,7 +81,7 @@ public interface ReactionObservation2 extends ReactionObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); @@ -94,7 +90,7 @@ public interface ReactionObservation2 extends ReactionObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation2))->asSequence()->any(true).oclAsType(consol::SeverityObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation2))->asSequence()->any(true).oclAsType(consol::SeverityObservation2)'" * @generated */ SeverityObservation2 getConsolSeverityObservation2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection.java index 50c7689b50..91865eff74 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface ReasonForReferralSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.1\')'" * @generated */ boolean validateReasonForReferralSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection2.java index d3d7498c7f..1e925c85ee 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface ReasonForReferralSection2 extends ReasonForReferralSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.1\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.1\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateReasonForReferralSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface ReasonForReferralSection2 extends ReasonForReferralSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PatientReferralAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PatientReferralAct))'" * @generated */ boolean validateReasonForReferralSection2PatientReferralAct(DiagnosticChain diagnostics, @@ -53,7 +49,7 @@ boolean validateReasonForReferralSection2PatientReferralAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PatientReferralAct)).oclAsType(consol::PatientReferralAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PatientReferralAct)).oclAsType(consol::PatientReferralAct)'" * @generated */ EList getPatientReferralActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForVisitSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForVisitSection.java index dfe6788fe8..e4d62ca7bb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForVisitSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForVisitSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ReasonForVisitSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.12\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.12\')'" * @generated */ boolean validateReasonForVisitSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferencedFramesObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferencedFramesObservation.java index 1b2e61179e..5c7d7efb64 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferencedFramesObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferencedFramesObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface ReferencedFramesObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.10\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.10\')'" * @generated */ boolean validateReferencedFramesObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -80,7 +75,7 @@ public interface ReferencedFramesObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::BoundaryObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::BoundaryObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateReferencedFramesObservationBoundaryObservation(DiagnosticChain diagnostics, @@ -90,7 +85,7 @@ boolean validateReferencedFramesObservationBoundaryObservation(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::BoundaryObservation))->asSequence()->any(true).oclAsType(consol::BoundaryObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::BoundaryObservation))->asSequence()->any(true).oclAsType(consol::BoundaryObservation)'" * @generated */ BoundaryObservation getBoundaryObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferralNote.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferralNote.java index 135ff536e5..85b38c2d54 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferralNote.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferralNote.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -39,7 +35,7 @@ public interface ReferralNote extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateReferralNoteHasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( @@ -52,7 +48,7 @@ boolean validateReferralNoteHasAnAssementAndPlanSection2OrBothAssementSectionAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent( @@ -89,7 +85,7 @@ boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->one(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->one(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" * @generated */ boolean validateReferralNoteInformationRecipient(DiagnosticChain diagnostics, Map context); @@ -101,7 +97,7 @@ boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::IND)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::IND)->notEmpty()'" * @generated */ boolean validateReferralNoteParticipantCaregiver(DiagnosticChain diagnostics, Map context); @@ -113,7 +109,7 @@ boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::CALLBCK)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::CALLBCK)->notEmpty()'" * @generated */ boolean validateReferralNoteParticipantCallbackContact(DiagnosticChain diagnostics, Map context); @@ -125,7 +121,7 @@ boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateReferralNotePlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -137,7 +133,7 @@ boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" * @generated */ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -150,7 +146,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateReferralNoteHistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -163,7 +159,7 @@ boolean validateReferralNoteHistoryOfPresentIllnessSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))'" * @generated */ boolean validateReferralNoteImmunizationsSection2(DiagnosticChain diagnostics, Map context); @@ -175,7 +171,7 @@ boolean validateReferralNoteHistoryOfPresentIllnessSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" * @generated */ boolean validateReferralNoteProblemSection2(DiagnosticChain diagnostics, Map context); @@ -187,7 +183,7 @@ boolean validateReferralNoteHistoryOfPresentIllnessSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" * @generated */ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -200,7 +196,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" * @generated */ boolean validateReferralNoteResultsSection2(DiagnosticChain diagnostics, Map context); @@ -212,7 +208,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateReferralNoteReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -224,7 +220,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateReferralNoteSocialHistorySection2(DiagnosticChain diagnostics, Map context); @@ -236,7 +232,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" * @generated */ boolean validateReferralNoteVitalSignsSection2(DiagnosticChain diagnostics, Map context); @@ -248,7 +244,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" * @generated */ boolean validateReferralNoteFunctionalStatusSection2(DiagnosticChain diagnostics, Map context); @@ -260,7 +256,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" * @generated */ boolean validateReferralNotePhysicalExamSection2(DiagnosticChain diagnostics, Map context); @@ -272,7 +268,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" * @generated */ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(DiagnosticChain diagnostics, @@ -285,7 +281,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" * @generated */ boolean validateReferralNoteNutritionSection(DiagnosticChain diagnostics, Map context); @@ -297,7 +293,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" * @generated */ boolean validateReferralNoteMentalStatusSection(DiagnosticChain diagnostics, Map context); @@ -309,7 +305,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" * @generated */ boolean validateReferralNoteMedicalEquipmentSection2(DiagnosticChain diagnostics, Map context); @@ -321,7 +317,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" * @generated */ boolean validateReferralNoteAllergiesSection2(DiagnosticChain diagnostics, Map context); @@ -333,7 +329,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateReferralNoteAssessmentSection(DiagnosticChain diagnostics, Map context); @@ -345,7 +341,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateReferralNoteAssessmentAndPlanSection2(DiagnosticChain diagnostics, Map context); @@ -357,7 +353,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" * @generated */ boolean validateReferralNoteHistoryOfPastIllnessSection2(DiagnosticChain diagnostics, Map context); @@ -369,7 +365,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" * @generated */ boolean validateReferralNoteGeneralStatusSection(DiagnosticChain diagnostics, Map context); @@ -381,7 +377,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" * @generated */ boolean validateReferralNoteMedicationsSection2(DiagnosticChain diagnostics, Map context); @@ -393,7 +389,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))'" * @generated */ boolean validateReferralNoteReasonForReferralSection2(DiagnosticChain diagnostics, Map context); @@ -405,7 +401,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" * @generated */ boolean validateReferralNoteFamilyHistorySection2(DiagnosticChain diagnostics, Map context); @@ -417,7 +413,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).informationRecipient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).informationRecipient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateReferralNoteInformationRecipientIntendedRecipientPersonName(DiagnosticChain diagnostics, @@ -430,7 +426,7 @@ boolean validateReferralNoteInformationRecipientIntendedRecipientPersonName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateReferralNoteInformationRecipientIntendedRecipientAddr(DiagnosticChain diagnostics, @@ -443,7 +439,7 @@ boolean validateReferralNoteInformationRecipientIntendedRecipientAddr(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" * @generated */ boolean validateReferralNoteInformationRecipientIntendedRecipientTelecom(DiagnosticChain diagnostics, @@ -456,7 +452,7 @@ boolean validateReferralNoteInformationRecipientIntendedRecipientTelecom(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(informationRecipient->one(informationRecipient : cda::Person | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(informationRecipient->one(informationRecipient : cda::Person | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateReferralNoteInformationRecipientIntendedRecipientInformationRecipient(DiagnosticChain diagnostics, @@ -469,7 +465,7 @@ boolean validateReferralNoteInformationRecipientIntendedRecipientInformationReci * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" * @generated */ boolean validateReferralNoteInformationRecipientIntendedRecipient(DiagnosticChain diagnostics, @@ -482,7 +478,7 @@ boolean validateReferralNoteInformationRecipientIntendedRecipient(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPersonName(DiagnosticChain diagnostics, @@ -495,7 +491,7 @@ boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPerson * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" * @generated */ boolean validateReferralNoteParticipantCaregiverAssociatedEntityClassCodeP(DiagnosticChain diagnostics, @@ -508,7 +504,7 @@ boolean validateReferralNoteParticipantCaregiverAssociatedEntityClassCodeP(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassAssociative) and \r\nlet value : vocab::RoleClassAssociative = classCode.oclAsType(vocab::RoleClassAssociative) in \r\nvalue = vocab::RoleClassAssociative::PRS or value = vocab::RoleClassAssociative::NOK or value = vocab::RoleClassAssociative::CAREGIVER or value = vocab::RoleClassAssociative::AGNT or value = vocab::RoleClassAssociative::GUAR or value = vocab::RoleClassAssociative::ECON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassAssociative) and \r\nlet value : vocab::RoleClassAssociative = classCode.oclAsType(vocab::RoleClassAssociative) in \r\nvalue = vocab::RoleClassAssociative::PRS or value = vocab::RoleClassAssociative::NOK or value = vocab::RoleClassAssociative::CAREGIVER or value = vocab::RoleClassAssociative::AGNT or value = vocab::RoleClassAssociative::GUAR or value = vocab::RoleClassAssociative::ECON)'" * @generated */ boolean validateReferralNoteParticipantCaregiverAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -521,7 +517,7 @@ boolean validateReferralNoteParticipantCaregiverAssociatedEntityClassCode(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -534,7 +530,7 @@ boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPerson * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" * @generated */ boolean validateReferralNoteParticipantCaregiverTypeCode(DiagnosticChain diagnostics, Map context); @@ -546,7 +542,7 @@ boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPerson * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateReferralNoteParticipantCaregiverAssociatedEntity(DiagnosticChain diagnostics, @@ -559,7 +555,7 @@ boolean validateReferralNoteParticipantCaregiverAssociatedEntity(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAssociatedPersonName( @@ -572,7 +568,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAssociated * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityId(DiagnosticChain diagnostics, @@ -585,7 +581,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityId(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAddr(DiagnosticChain diagnostics, @@ -598,7 +594,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAddr(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityTelecom(DiagnosticChain diagnostics, @@ -611,7 +607,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityTelecom(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::ASSIGNED)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::ASSIGNED)'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -624,7 +620,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityClassCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -637,7 +633,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAssociated * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(scopingOrganization->one(scopingOrganization : cda::Organization | not scopingOrganization.oclIsUndefined() and scopingOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(scopingOrganization->one(scopingOrganization : cda::Organization | not scopingOrganization.oclIsUndefined() and scopingOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityScopingOrganization( @@ -650,7 +646,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityScopingOrg * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK)->select(typeCode=vocab::ParticipationType::CALLBCK)->reject(typeCode=vocab::ParticipationType::CALLBCK)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK)->select(typeCode=vocab::ParticipationType::CALLBCK)->reject(typeCode=vocab::ParticipationType::CALLBCK)'" * @generated */ boolean validateReferralNoteParticipantCallbackContactTypeCode(DiagnosticChain diagnostics, @@ -663,7 +659,7 @@ boolean validateReferralNoteParticipantCallbackContactTypeCode(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK)->select(typeCode=vocab::ParticipationType::CALLBCK)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK)->select(typeCode=vocab::ParticipationType::CALLBCK)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(DiagnosticChain diagnostics, @@ -673,7 +669,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -682,7 +678,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" * @generated */ AdvanceDirectivesSectionEntriesOptional2 getAdvanceDirectivesSectionEntriesOptional2(); @@ -691,7 +687,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -700,7 +696,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSection2)'" * @generated */ ImmunizationsSection2 getImmunizationsSection2(); @@ -709,7 +705,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" * @generated */ ProblemSection2 getProblemSection2(); @@ -718,7 +714,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" * @generated */ ProceduresSectionEntriesOptional2 getProceduresSectionEntriesOptional2(); @@ -727,7 +723,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" * @generated */ ResultsSection2 getResultsSection2(); @@ -736,7 +732,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -745,7 +741,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); @@ -754,7 +750,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" * @generated */ VitalSignsSection2 getVitalSignsSection2(); @@ -763,7 +759,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" * @generated */ FunctionalStatusSection2 getFunctionalStatusSection2(); @@ -772,7 +768,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" * @generated */ PhysicalExamSection2 getPhysicalExamSection2(); @@ -781,7 +777,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" * @generated */ AdvanceDirectivesSectionEntriesOptional2 getAdvanceDirectivesSectionEntriesOptional2b(); @@ -790,7 +786,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" * @generated */ NutritionSection getNutritionSection(); @@ -799,7 +795,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" * @generated */ MentalStatusSection getMentalStatusSection(); @@ -808,7 +804,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" * @generated */ MedicalEquipmentSection2 getMedicalEquipmentSection2(); @@ -817,7 +813,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" * @generated */ AllergiesSection2 getAllergiesSection2(); @@ -826,7 +822,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -835,7 +831,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" * @generated */ AssessmentAndPlanSection2 getAssessmentAndPlanSection2(); @@ -844,7 +840,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" * @generated */ HistoryOfPastIllnessSection2 getHistoryOfPastIllnessSection2(); @@ -853,7 +849,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" * @generated */ GeneralStatusSection getGeneralStatusSection(); @@ -862,7 +858,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" * @generated */ MedicationsSection2 getMedicationsSection2(); @@ -871,7 +867,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))->asSequence()->any(true).oclAsType(consol::ReasonForReferralSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))->asSequence()->any(true).oclAsType(consol::ReasonForReferralSection2)'" * @generated */ ReasonForReferralSection2 getReasonForReferralSection2(); @@ -880,7 +876,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" * @generated */ FamilyHistorySection2 getFamilyHistorySection2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation.java index 520a4a4f7a..bdddd77a35 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateResultObservationTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateResultObservationReferenceValue(DiagnosticChain diagnostics, Map context); @@ -80,7 +75,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->forAll(range : cda::ReferenceRange | range.observationRange.code.code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->forAll(range : cda::ReferenceRange | range.observationRange.code.code.oclIsUndefined())'" * @generated */ boolean validateResultObservationNoObservationRangeCode(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->size()<2'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->size()<2'" * @generated */ boolean validateResultObservationAuthorMultiplicity(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.2\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.2\')'" * @generated */ boolean validateResultObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateResultObservationId(DiagnosticChain diagnostics, Map context); @@ -212,7 +207,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateResultObservationValue(DiagnosticChain diagnostics, Map context); @@ -224,7 +219,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" * @generated */ boolean validateResultObservationInterpretationCode(DiagnosticChain diagnostics, Map context); @@ -236,7 +231,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" * @generated */ boolean validateResultObservationMethodCode(DiagnosticChain diagnostics, Map context); @@ -248,7 +243,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.targetSiteCode->isEmpty()) and self.targetSiteCode->forAll(element | element.oclIsTypeOf(datatypes::CE)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.targetSiteCode->isEmpty()) and self.targetSiteCode->forAll(element | element.oclIsTypeOf(datatypes::CE)))'" * @generated */ boolean validateResultObservationTargetSiteCode(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation2.java index 4b88c5a820..4ae74e1d16 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface ResultObservation2 extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.2\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.2\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateResultObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -56,7 +52,7 @@ public interface ResultObservation2 extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" * @generated */ boolean validateResultObservationInterpretationCodeP(DiagnosticChain diagnostics, Map context); @@ -68,7 +64,7 @@ public interface ResultObservation2 extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateResultObservation2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -80,7 +76,7 @@ public interface ResultObservation2 extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" * @generated */ boolean validateResultObservation2ReferenceRange(DiagnosticChain diagnostics, Map context); @@ -92,7 +88,7 @@ public interface ResultObservation2 extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject((value.oclIsUndefined() or value.isNullFlavorUndefined()) implies (not value.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject((value.oclIsUndefined() or value.isNullFlavorUndefined()) implies (not value.oclIsUndefined()))'" * @generated */ boolean validateResultObservation2ReferenceRangeObservationRangeValue(DiagnosticChain diagnostics, @@ -105,7 +101,7 @@ boolean validateResultObservation2ReferenceRangeObservationRangeValue(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(code.oclIsUndefined())'" * @generated */ boolean validateResultObservation2ReferenceRangeObservationRangeCode(DiagnosticChain diagnostics, @@ -118,7 +114,7 @@ boolean validateResultObservation2ReferenceRangeObservationRangeCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" * @generated */ boolean validateResultObservation2ReferenceRangeObservationRange(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer.java index af021aa44a..1e9b3e5ac2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Organizer; /** @@ -57,7 +52,7 @@ public interface ResultOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.1\')'" * @generated */ boolean validateResultOrganizerTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ResultOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateResultOrganizerId(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface ResultOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::ResultObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::ResultObservation))'" * @generated */ boolean validateResultOrganizerResultObservation(DiagnosticChain diagnostics, Map context); @@ -150,7 +145,7 @@ public interface ResultOrganizer extends Organizer { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation)).oclAsType(consol::ResultObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation)).oclAsType(consol::ResultObservation)'" * @generated */ EList getResultObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer2.java index 24b2ecf696..1aaf70b4e5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface ResultOrganizer2 extends ResultOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.1\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.1\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateResultOrganizer2TemplateId(DiagnosticChain diagnostics, Map context); @@ -56,7 +52,7 @@ public interface ResultOrganizer2 extends ResultOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateResultOrganizer2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -68,7 +64,7 @@ public interface ResultOrganizer2 extends ResultOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateResultOrganizer2IVLTSLow(DiagnosticChain diagnostics, Map context); @@ -80,7 +76,7 @@ public interface ResultOrganizer2 extends ResultOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateResultOrganizer2IVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -89,7 +85,7 @@ public interface ResultOrganizer2 extends ResultOrganizer { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation2)).oclAsType(consol::ResultObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation2)).oclAsType(consol::ResultObservation2)'" * @generated */ EList getConsolResultObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection.java index af4a46fe66..d868bb47a2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -43,7 +39,7 @@ public interface ResultsSection extends ResultsSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::ResultOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::ResultOrganizer))'" * @generated */ boolean validateResultsSectionResultOrganizer(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface ResultsSection extends ResultsSectionEntriesOptional { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer)).oclAsType(consol::ResultOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer)).oclAsType(consol::ResultOrganizer)'" * @generated */ EList getConsolResultOrganizers(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection2.java index 1b3ab26a1c..c9ab4c2436 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional.java index d2c8bfe38f..854d2305ee 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -46,7 +41,7 @@ public interface ResultsSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.3\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.3\')'" * @generated */ boolean validateResultsSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, Map context); @@ -106,7 +101,7 @@ public interface ResultsSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::ResultOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::ResultOrganizer))'" * @generated */ boolean validateResultsSectionEntriesOptionalResultOrganizer(DiagnosticChain diagnostics, @@ -116,7 +111,7 @@ boolean validateResultsSectionEntriesOptionalResultOrganizer(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer)).oclAsType(consol::ResultOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer)).oclAsType(consol::ResultOrganizer)'" * @generated */ EList getResultOrganizers(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional2.java index f8574b6d1c..66cfdd6187 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface ResultsSectionEntriesOptional2 extends ResultsSectionEntriesOpt * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer2)).oclAsType(consol::ResultOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer2)).oclAsType(consol::ResultOrganizer2)'" * @generated */ EList getConsolResultOrganizer2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReviewOfSystemsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReviewOfSystemsSection.java index 1cdc82987f..ce334055d1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReviewOfSystemsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReviewOfSystemsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface ReviewOfSystemsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.18\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.18\')'" * @generated */ boolean validateReviewOfSystemsSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/RiskConcernAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/RiskConcernAct.java index 3c3678c8e7..cc1690f1c8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/RiskConcernAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/RiskConcernAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -34,7 +29,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.136\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.136\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validateRiskConcernActTemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateRiskConcernActId(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateRiskConcernActAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActProblemObservation2(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActAllergyObservation2(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActEntryReferenceRelatesTo(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateRiskConcernActEntryReferenceHasComponent(DiagnosticChain diagnostics, Map context); @@ -202,7 +197,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActAssessmentScaleObservation(DiagnosticChain diagnostics, Map context); @@ -214,7 +209,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActMentalStatusObservation2(DiagnosticChain diagnostics, Map context); @@ -226,7 +221,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SelfCareActivities) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SelfCareActivities) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActSelfCareActivities(DiagnosticChain diagnostics, Map context); @@ -238,7 +233,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActMentalStatusObservation2B(DiagnosticChain diagnostics, Map context); @@ -250,7 +245,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActSmokingStatusMeaningfulUse2(DiagnosticChain diagnostics, Map context); @@ -262,7 +257,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EncounterDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EncounterDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActEncounterDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -274,7 +269,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActFamilyHistoryOrganizer2(DiagnosticChain diagnostics, Map context); @@ -286,7 +281,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::FunctionalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::FunctionalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagnostics, @@ -299,7 +294,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -311,7 +306,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActMentalStatusObservation2C(DiagnosticChain diagnostics, Map context); @@ -323,7 +318,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActNutritionAssessment(DiagnosticChain diagnostics, Map context); @@ -335,7 +330,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActNutritionAssessmentB(DiagnosticChain diagnostics, Map context); @@ -347,7 +342,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PostprocedureDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PostprocedureDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActPostprocedureDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -359,7 +354,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PregnancyObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PregnancyObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActPregnancyObservation(DiagnosticChain diagnostics, Map context); @@ -371,7 +366,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PreoperativeDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PreoperativeDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActPreoperativeDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -383,7 +378,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActReactionObservation2(DiagnosticChain diagnostics, Map context); @@ -395,7 +390,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ResultObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ResultObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActResultObservation2(DiagnosticChain diagnostics, Map context); @@ -407,7 +402,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SensoryStatus) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SensoryStatus) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActSensoryStatus(DiagnosticChain diagnostics, Map context); @@ -419,7 +414,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SocialHistoryObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SocialHistoryObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActSocialHistoryObservation2(DiagnosticChain diagnostics, Map context); @@ -431,7 +426,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticChain diagnostics, @@ -444,7 +439,7 @@ boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::TobaccoUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::TobaccoUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActTobaccoUse2(DiagnosticChain diagnostics, Map context); @@ -456,7 +451,7 @@ boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::VitalSignObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::VitalSignObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActVitalSignObservation2(DiagnosticChain diagnostics, Map context); @@ -468,7 +463,7 @@ boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActWoundObservation(DiagnosticChain diagnostics, Map context); @@ -480,7 +475,7 @@ boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateRiskConcernActProblemObservation2HasSupport(DiagnosticChain diagnostics, @@ -493,7 +488,7 @@ boolean validateRiskConcernActProblemObservation2HasSupport(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActCaregiverCharacteristics(DiagnosticChain diagnostics, Map context); @@ -505,7 +500,7 @@ boolean validateRiskConcernActProblemObservation2HasSupport(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CulturalAndReligiousObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CulturalAndReligiousObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActCulturalAndReligiousObservation(DiagnosticChain diagnostics, @@ -518,7 +513,7 @@ boolean validateRiskConcernActCulturalAndReligiousObservation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActCharacteristicsOfHomeEnvironment(DiagnosticChain diagnostics, @@ -531,7 +526,7 @@ boolean validateRiskConcernActCharacteristicsOfHomeEnvironment(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionalStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionalStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagnostics, @@ -544,7 +539,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::ResultOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::ResultOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActResultOrganizer2(DiagnosticChain diagnostics, Map context); @@ -556,7 +551,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActPriorityPreferencePatient(DiagnosticChain diagnostics, Map context); @@ -568,7 +563,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActPriorityPreferenceProvider(DiagnosticChain diagnostics, Map context); @@ -580,7 +575,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProblemConcernAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProblemConcernAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActProblemConcernAct2(DiagnosticChain diagnostics, Map context); @@ -592,7 +587,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActEntryReferenceHealthConcern(DiagnosticChain diagnostics, Map context); @@ -604,7 +599,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validateRiskConcernActReference(DiagnosticChain diagnostics, Map context); @@ -616,7 +611,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validateRiskConcernActReferenceTypeCode(DiagnosticChain diagnostics, Map context); @@ -628,7 +623,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" * @generated */ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain diagnostics, @@ -638,7 +633,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getProblemObservation2s(); @@ -647,7 +642,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation2)).oclAsType(consol::AllergyObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation2)).oclAsType(consol::AllergyObservation2)'" * @generated */ EList getAllergyObservation2s(); @@ -656,7 +651,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceRelatesTos(); @@ -665,7 +660,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceHasComponents(); @@ -674,7 +669,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); @@ -683,7 +678,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" * @generated */ EList getMentalStatusObservation2s(); @@ -692,7 +687,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" * @generated */ EList getSelfCareActivitiess(); @@ -701,7 +696,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" * @generated */ EList getMentalStatusObservation2Bs(); @@ -710,7 +705,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2)).oclAsType(consol::SmokingStatusMeaningfulUse2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2)).oclAsType(consol::SmokingStatusMeaningfulUse2)'" * @generated */ EList getSmokingStatusMeaningfulUse2s(); @@ -719,7 +714,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis2)).oclAsType(consol::EncounterDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis2)).oclAsType(consol::EncounterDiagnosis2)'" * @generated */ EList getEncounterDiagnosis2s(); @@ -728,7 +723,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2)).oclAsType(consol::FamilyHistoryOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2)).oclAsType(consol::FamilyHistoryOrganizer2)'" * @generated */ EList getFamilyHistoryOrganizer2s(); @@ -737,7 +732,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" * @generated */ EList getFunctionalStatusObservation2s(); @@ -746,7 +741,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2)).oclAsType(consol::HospitalAdmissionDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2)).oclAsType(consol::HospitalAdmissionDiagnosis2)'" * @generated */ EList getHospitalAdmissionDiagnosis2s(); @@ -755,7 +750,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" * @generated */ EList getMentalStatusObservation2Cs(); @@ -764,7 +759,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" * @generated */ EList getNutritionAssessments(); @@ -773,7 +768,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" * @generated */ EList getNutritionAssessmentBs(); @@ -782,7 +777,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis2)).oclAsType(consol::PostprocedureDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis2)).oclAsType(consol::PostprocedureDiagnosis2)'" * @generated */ EList getPostprocedureDiagnosis2s(); @@ -791,7 +786,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PregnancyObservation)).oclAsType(consol::PregnancyObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PregnancyObservation)).oclAsType(consol::PregnancyObservation)'" * @generated */ EList getPregnancyObservations(); @@ -800,7 +795,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis2)).oclAsType(consol::PreoperativeDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis2)).oclAsType(consol::PreoperativeDiagnosis2)'" * @generated */ EList getPreoperativeDiagnosis2s(); @@ -809,7 +804,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" * @generated */ EList getReactionObservation2s(); @@ -818,7 +813,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation2)).oclAsType(consol::ResultObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation2)).oclAsType(consol::ResultObservation2)'" * @generated */ EList getResultObservation2s(); @@ -827,7 +822,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SensoryStatus)).oclAsType(consol::SensoryStatus)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SensoryStatus)).oclAsType(consol::SensoryStatus)'" * @generated */ EList getSensoryStatuss(); @@ -836,7 +831,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation2)).oclAsType(consol::SocialHistoryObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation2)).oclAsType(consol::SocialHistoryObservation2)'" * @generated */ EList getSocialHistoryObservation2s(); @@ -845,7 +840,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2)).oclAsType(consol::SubstanceOrDeviceAllergyObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2)).oclAsType(consol::SubstanceOrDeviceAllergyObservation2)'" * @generated */ EList getSubstanceOrDeviceAllergyObservation2s(); @@ -854,7 +849,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse2)).oclAsType(consol::TobaccoUse2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse2)).oclAsType(consol::TobaccoUse2)'" * @generated */ EList getTobaccoUse2s(); @@ -863,7 +858,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation2)).oclAsType(consol::VitalSignObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation2)).oclAsType(consol::VitalSignObservation2)'" * @generated */ EList getVitalSignObservation2s(); @@ -872,7 +867,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" * @generated */ EList getWoundObservations(); @@ -881,7 +876,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getProblemObservation2HasSupports(); @@ -890,7 +885,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -899,7 +894,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CulturalAndReligiousObservation)).oclAsType(consol::CulturalAndReligiousObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CulturalAndReligiousObservation)).oclAsType(consol::CulturalAndReligiousObservation)'" * @generated */ EList getCulturalAndReligiousObservations(); @@ -908,7 +903,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment)).oclAsType(consol::CharacteristicsOfHomeEnvironment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment)).oclAsType(consol::CharacteristicsOfHomeEnvironment)'" * @generated */ EList getCharacteristicsOfHomeEnvironments(); @@ -917,7 +912,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionalStatusObservation)).oclAsType(consol::NutritionalStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionalStatusObservation)).oclAsType(consol::NutritionalStatusObservation)'" * @generated */ EList getNutritionalStatusObservations(); @@ -926,7 +921,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer2)).oclAsType(consol::ResultOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer2)).oclAsType(consol::ResultOrganizer2)'" * @generated */ EList getResultOrganizer2s(); @@ -935,7 +930,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferencePatients(); @@ -944,7 +939,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferenceProviders(); @@ -953,7 +948,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct2)).oclAsType(consol::ProblemConcernAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct2)).oclAsType(consol::ProblemConcernAct2)'" * @generated */ EList getProblemConcernAct2s(); @@ -962,7 +957,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceHealthConcerns(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SOPInstanceObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SOPInstanceObservation.java index 6b6803e468..1329ccdd8d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SOPInstanceObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SOPInstanceObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -82,7 +77,7 @@ boolean validateSOPInstanceObservationEffectiveTimeHasValue(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text.reference->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text.reference->size() = 1'" * @generated */ boolean validateSOPInstanceObservationTextReference(DiagnosticChain diagnostics, Map context); @@ -94,7 +89,7 @@ boolean validateSOPInstanceObservationEffectiveTimeHasValue(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text.reference.value->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text.reference.value->size() = 1'" * @generated */ boolean validateSOPInstanceObservationTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -106,7 +101,7 @@ boolean validateSOPInstanceObservationEffectiveTimeHasValue(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.8\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.8\')'" * @generated */ boolean validateSOPInstanceObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ boolean validateSOPInstanceObservationEffectiveTimeHasValue(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateSOPInstanceObservationId(DiagnosticChain diagnostics, Map context); @@ -202,7 +197,7 @@ boolean validateSOPInstanceObservationEffectiveTimeHasValue(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateSOPInstanceObservationSOPInstanceObservation(DiagnosticChain diagnostics, @@ -215,7 +210,7 @@ boolean validateSOPInstanceObservationSOPInstanceObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PurposeofReferenceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PurposeofReferenceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateSOPInstanceObservationPurposeofReferenceObservation(DiagnosticChain diagnostics, @@ -228,7 +223,7 @@ boolean validateSOPInstanceObservationPurposeofReferenceObservation(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReferencedFramesObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReferencedFramesObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateSOPInstanceObservationReferencedFramesObservation(DiagnosticChain diagnostics, @@ -238,7 +233,7 @@ boolean validateSOPInstanceObservationReferencedFramesObservation(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" * @generated */ EList getSOPInstanceObservations(); @@ -247,7 +242,7 @@ boolean validateSOPInstanceObservationReferencedFramesObservation(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PurposeofReferenceObservation)).oclAsType(consol::PurposeofReferenceObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PurposeofReferenceObservation)).oclAsType(consol::PurposeofReferenceObservation)'" * @generated */ EList getPurposeofReferenceObservations(); @@ -256,7 +251,7 @@ boolean validateSOPInstanceObservationReferencedFramesObservation(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReferencedFramesObservation)).oclAsType(consol::ReferencedFramesObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReferencedFramesObservation)).oclAsType(consol::ReferencedFramesObservation)'" * @generated */ EList getReferencedFramesObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SelfCareActivities.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SelfCareActivities.java index 4b57e4d802..7b0838b0b4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SelfCareActivities.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SelfCareActivities.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface SelfCareActivities extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.128\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.128\')'" * @generated */ boolean validateSelfCareActivitiesTemplateId(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface SelfCareActivities extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'371150009\' or value.code = \'371153006\' or value.code = \'371155004\' or value.code = \'371152001\' or value.code = \'371154000\' or value.code = \'371151008\' or value.code = \'371156003\' or value.code = \'371157007\' or value.code = \'385640009\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'371150009\' or value.code = \'371153006\' or value.code = \'371155004\' or value.code = \'371152001\' or value.code = \'371154000\' or value.code = \'371151008\' or value.code = \'371156003\' or value.code = \'371157007\' or value.code = \'385640009\')))'" * @generated */ boolean validateSelfCareActivitiesValue(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface SelfCareActivities extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateSelfCareActivitiesValueP(DiagnosticChain diagnostics, Map context); @@ -152,7 +147,7 @@ public interface SelfCareActivities extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateSelfCareActivitiesAuthorParticipation(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SensoryStatus.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SensoryStatus.java index 2d0ccf5075..1053c3e690 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SensoryStatus.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SensoryStatus.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -34,7 +29,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.127\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.127\')'" * @generated */ boolean validateSensoryStatusTemplateId(DiagnosticChain diagnostics, Map context); @@ -130,7 +125,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateSensoryStatusValue(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateSensoryStatusValueP(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateSensoryStatusAssessmentScaleObservation(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateSensoryStatusAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateSensoryStatusIVLTSLow(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateSensoryStatusIVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -199,7 +194,7 @@ public interface SensoryStatus extends Observation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeriesAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeriesAct.java index b517f11940..c78658449a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeriesAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeriesAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( not root.oclIsUndefined() )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( not root.oclIsUndefined() )'" * @generated */ boolean validateSeriesActIdHasRoot(DiagnosticChain diagnostics, Map context); @@ -45,7 +40,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( extension.oclIsUndefined() )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( extension.oclIsUndefined() )'" * @generated */ boolean validateSeriesActIdNoExtension(DiagnosticChain diagnostics, Map context); @@ -57,7 +52,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier->size() = 1'" * @generated */ boolean validateSeriesActCodeQualifier(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier.name->one(name : datatypes::CV | name.code = \'121139\' and name.codeSystem = \'1.2.840.10008.2.16.4\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier.name->one(name : datatypes::CV | name.code = \'121139\' and name.codeSystem = \'1.2.840.10008.2.16.4\')'" * @generated */ boolean validateSeriesActCodeQualifierCode(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier.value->one(val | not val.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier.value->one(val | not val.oclIsUndefined())'" * @generated */ boolean validateSeriesActCodeQualifierValue(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier.value->one(val | (not val.oclIsUndefined() or val.isNullFlavorUndefined()) implies val.oclIsKindOf(datatypes::ANY) and val.codeSystem = \'1.2.840.10008.2.16.4\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier.value->one(val | (not val.oclIsUndefined() or val.isNullFlavorUndefined()) implies val.oclIsKindOf(datatypes::ANY) and val.codeSystem = \'1.2.840.10008.2.16.4\')'" * @generated */ boolean validateSeriesActCodeQualifierValueCode(DiagnosticChain diagnostics, Map context); @@ -105,7 +100,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.63\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.63\')'" * @generated */ boolean validateSeriesActTemplateId(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateSeriesActId(DiagnosticChain diagnostics, Map context); @@ -189,7 +184,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateSeriesActSOPInstanceObservation(DiagnosticChain diagnostics, Map context); @@ -198,7 +193,7 @@ public interface SeriesAct extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" * @generated */ EList getSOPInstanceObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ServiceDeliveryLocation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ServiceDeliveryLocation.java index 574589ad53..07d6071107 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ServiceDeliveryLocation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ServiceDeliveryLocation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ParticipantRole; /** @@ -32,7 +27,7 @@ public interface ServiceDeliveryLocation extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->size() = 1'" * @generated */ boolean validateServiceDeliveryLocationHasPlayingEntity(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface ServiceDeliveryLocation extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->size()>0 implies self.playingEntity.classCode=vocab::EntityClassRoot::PLC'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->size()>0 implies self.playingEntity.classCode=vocab::EntityClassRoot::PLC'" * @generated */ boolean validateServiceDeliveryLocationHasPlayingEntityClassCode(DiagnosticChain diagnostics, @@ -57,7 +52,7 @@ boolean validateServiceDeliveryLocationHasPlayingEntityClassCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->size()>0 implies self.playingEntity.name->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->size()>0 implies self.playingEntity.name->size() = 1'" * @generated */ boolean validateServiceDeliveryLocationHasPlayingEntityName(DiagnosticChain diagnostics, @@ -70,7 +65,7 @@ boolean validateServiceDeliveryLocationHasPlayingEntityName(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.32\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.32\')'" * @generated */ boolean validateServiceDeliveryLocationTemplateId(DiagnosticChain diagnostics, Map context); @@ -106,7 +101,7 @@ boolean validateServiceDeliveryLocationHasPlayingEntityName(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.addr->isEmpty() or self.addr->exists(element | element.isNullFlavorUndefined())) implies (not self.addr->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.addr->isEmpty() or self.addr->exists(element | element.isNullFlavorUndefined())) implies (not self.addr->isEmpty())'" * @generated */ boolean validateServiceDeliveryLocationAddr(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ boolean validateServiceDeliveryLocationHasPlayingEntityName(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.telecom->isEmpty() or self.telecom->exists(element | element.isNullFlavorUndefined())) implies (not self.telecom->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.telecom->isEmpty() or self.telecom->exists(element | element.isNullFlavorUndefined())) implies (not self.telecom->isEmpty())'" * @generated */ boolean validateServiceDeliveryLocationTelecom(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation.java index 3da032b2fa..ce3369505a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -36,7 +31,7 @@ public interface SeverityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateSeverityObservationTextReference(DiagnosticChain diagnostics, Map context); @@ -48,7 +43,7 @@ public interface SeverityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateSeverityObservationTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -72,7 +67,7 @@ public interface SeverityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.8\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.8\')'" * @generated */ boolean validateSeverityObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -144,7 +139,7 @@ public interface SeverityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'255604002\' or value.code = \'371923003\' or value.code = \'6736007\' or value.code = \'371924009\' or value.code = \'24484000\' or value.code = \'399166001\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'255604002\' or value.code = \'371923003\' or value.code = \'6736007\' or value.code = \'371924009\' or value.code = \'24484000\' or value.code = \'399166001\')))'" * @generated */ boolean validateSeverityObservationValue(DiagnosticChain diagnostics, Map context); @@ -156,7 +151,7 @@ public interface SeverityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateSeverityObservationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation2.java index 1e9d3f87a6..7847049881 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +26,7 @@ public interface SeverityObservation2 extends SeverityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.8\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.8\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateSeverityObservation2TemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusMeaningfulUse2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusMeaningfulUse2.java index df1dc1be41..649842cba2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusMeaningfulUse2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusMeaningfulUse2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface SmokingStatusMeaningfulUse2 extends SmokingStatusObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.78\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.78\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateSmokingStatusMeaningfulUse2TemplateId(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface SmokingStatusMeaningfulUse2 extends SmokingStatusObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateSmokingStatusMeaningfulUse2Id(DiagnosticChain diagnostics, Map context); @@ -68,7 +64,7 @@ public interface SmokingStatusMeaningfulUse2 extends SmokingStatusObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateSmokingStatusMeaningfulUse2AuthorParticipation(DiagnosticChain diagnostics, @@ -81,7 +77,7 @@ boolean validateSmokingStatusMeaningfulUse2AuthorParticipation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject(true)'" * @generated */ boolean validateSmokingStatusMeaningfulUse2CDCodeTermAssertionOrLoinc(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusObservation.java index 8dc04b4758..1508a933a6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -34,7 +29,7 @@ public interface SmokingStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.78\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.78\')'" * @generated */ boolean validateSmokingStatusObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ public interface SmokingStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'449868002\' or value.code = \'428041000124106\' or value.code = \'8517006\' or value.code = \'266919005\' or value.code = \'77176002\' or value.code = \'266927001\' or value.code = \'428071000124103\' or value.code = \'428061000124105\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'449868002\' or value.code = \'428041000124106\' or value.code = \'8517006\' or value.code = \'266919005\' or value.code = \'77176002\' or value.code = \'266927001\' or value.code = \'428071000124103\' or value.code = \'428061000124105\')))'" * @generated */ boolean validateSmokingStatusObservationValue(DiagnosticChain diagnostics, Map context); @@ -130,7 +125,7 @@ public interface SmokingStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateSmokingStatusObservationValueP(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface SmokingStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject((code = \'ASSERTION\' and codeSystem = \'2.16.840.1.113883.5.4\') or (code = \'72166-2\' and codeSystem = \'2.16.840.1.113883.6.1\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject((code = \'ASSERTION\' and codeSystem = \'2.16.840.1.113883.5.4\') or (code = \'72166-2\' and codeSystem = \'2.16.840.1.113883.6.1\'))'" * @generated */ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticChain diagnostics, @@ -155,7 +150,7 @@ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateSmokingStatusObservationCDCode(DiagnosticChain diagnostics, Map context); @@ -167,7 +162,7 @@ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not codeSystem.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not codeSystem.oclIsUndefined() )))'" * @generated */ boolean validateSmokingStatusObservationCDCodeSystem(DiagnosticChain diagnostics, Map context); @@ -179,7 +174,7 @@ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (center.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (center.oclIsUndefined() )))'" * @generated */ boolean validateSmokingStatusObservationIVLTSCenter(DiagnosticChain diagnostics, Map context); @@ -191,7 +186,7 @@ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (high.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (high.oclIsUndefined() )))'" * @generated */ boolean validateSmokingStatusObservationIVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -203,7 +198,7 @@ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (low.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (low.oclIsUndefined() )))'" * @generated */ boolean validateSmokingStatusObservationIVLTSLow(DiagnosticChain diagnostics, Map context); @@ -215,7 +210,7 @@ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (width.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (width.oclIsUndefined() )))'" * @generated */ boolean validateSmokingStatusObservationIVLTSWidth(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation.java index 22495af39c..59b33c12db 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -68,7 +63,7 @@ public interface SocialHistoryObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.38\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.38\')'" * @generated */ boolean validateSocialHistoryObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface SocialHistoryObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateSocialHistoryObservationId(DiagnosticChain diagnostics, Map context); @@ -152,7 +147,7 @@ public interface SocialHistoryObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" * @generated */ boolean validateSocialHistoryObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation2.java index e46ec3508f..b83c7eddf1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -44,7 +40,7 @@ boolean validateSocialHistoryObservation2ReferenceAttribute(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem <> \'2.16.840.1.113883.6.1\' implies code.translation->size() >= 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem <> \'2.16.840.1.113883.6.1\' implies code.translation->size() >= 1'" * @generated */ boolean validateSocialHistoryObservation2IfNotLoincRequireTranslation(DiagnosticChain diagnostics, @@ -57,7 +53,7 @@ boolean validateSocialHistoryObservation2IfNotLoincRequireTranslation(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem <> \'2.16.840.1.113883.6.1\' and code.translation->size() >= 1 implies code.translation->forAll(trans : datatypes::CD | trans.codeSystem = \'2.16.840.1.113883.6.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem <> \'2.16.840.1.113883.6.1\' and code.translation->size() >= 1 implies code.translation->forAll(trans : datatypes::CD | trans.codeSystem = \'2.16.840.1.113883.6.1\')'" * @generated */ boolean validateSocialHistoryObservation2IfNotLoincRequireTranslationFromLoinc(DiagnosticChain diagnostics, @@ -70,7 +66,7 @@ boolean validateSocialHistoryObservation2IfNotLoincRequireTranslationFromLoinc(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.38\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.38\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateSocialHistoryObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -106,7 +102,7 @@ boolean validateSocialHistoryObservation2IfNotLoincRequireTranslationFromLoinc(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateSocialHistoryObservation2AuthorParticipation(DiagnosticChain diagnostics, @@ -119,7 +115,7 @@ boolean validateSocialHistoryObservation2AuthorParticipation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined())) )))'" * @generated */ boolean validateSocialHistoryObservation2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -131,7 +127,7 @@ boolean validateSocialHistoryObservation2AuthorParticipation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" * @generated */ boolean validateSocialHistoryObservation2CDTranslationP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection.java index 8849132f9f..e452807467 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface SocialHistorySection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.17\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.17\')'" * @generated */ boolean validateSocialHistorySectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface SocialHistorySection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SocialHistoryObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SocialHistoryObservation))'" * @generated */ boolean validateSocialHistorySectionSocialHistoryObservation(DiagnosticChain diagnostics, @@ -106,7 +101,7 @@ boolean validateSocialHistorySectionSocialHistoryObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PregnancyObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PregnancyObservation))'" * @generated */ boolean validateSocialHistorySectionPregnancyObservation(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ boolean validateSocialHistorySectionSocialHistoryObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SmokingStatusObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SmokingStatusObservation))'" * @generated */ boolean validateSocialHistorySectionSmokingStatusObservation(DiagnosticChain diagnostics, @@ -131,7 +126,7 @@ boolean validateSocialHistorySectionSmokingStatusObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::TobaccoUse))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::TobaccoUse))'" * @generated */ boolean validateSocialHistorySectionTobaccoUse(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ boolean validateSocialHistorySectionSmokingStatusObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation)).oclAsType(consol::SocialHistoryObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation)).oclAsType(consol::SocialHistoryObservation)'" * @generated */ EList getSocialHistoryObservations(); @@ -149,7 +144,7 @@ boolean validateSocialHistorySectionSmokingStatusObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PregnancyObservation)).oclAsType(consol::PregnancyObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PregnancyObservation)).oclAsType(consol::PregnancyObservation)'" * @generated */ EList getPregnancyObservations(); @@ -158,7 +153,7 @@ boolean validateSocialHistorySectionSmokingStatusObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusObservation)).oclAsType(consol::SmokingStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusObservation)).oclAsType(consol::SmokingStatusObservation)'" * @generated */ EList getSmokingStatusObservations(); @@ -167,7 +162,7 @@ boolean validateSocialHistorySectionSmokingStatusObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse)).oclAsType(consol::TobaccoUse)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse)).oclAsType(consol::TobaccoUse)'" * @generated */ EList getTobaccoUses(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection2.java index e9f286f2d7..256368622f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface SocialHistorySection2 extends SocialHistorySection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.17\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.17\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateSocialHistorySection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface SocialHistorySection2 extends SocialHistorySection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CaregiverCharacteristics))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CaregiverCharacteristics))'" * @generated */ boolean validateSocialHistorySection2CaregiverCharacteristics(DiagnosticChain diagnostics, @@ -56,7 +52,7 @@ boolean validateSocialHistorySection2CaregiverCharacteristics(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CulturalAndReligiousObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CulturalAndReligiousObservation))'" * @generated */ boolean validateSocialHistorySection2CulturalAndReligiousObservation(DiagnosticChain diagnostics, @@ -69,7 +65,7 @@ boolean validateSocialHistorySection2CulturalAndReligiousObservation(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment))'" * @generated */ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(DiagnosticChain diagnostics, @@ -82,7 +78,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::BirthSexObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::BirthSexObservation))'" * @generated */ boolean validateSocialHistorySection2BirthSexObservation(DiagnosticChain diagnostics, Map context); @@ -91,7 +87,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation2)).oclAsType(consol::SocialHistoryObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation2)).oclAsType(consol::SocialHistoryObservation2)'" * @generated */ EList getConsolSocialHistoryObservation2s(); @@ -100,7 +96,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2)).oclAsType(consol::SmokingStatusMeaningfulUse2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2)).oclAsType(consol::SmokingStatusMeaningfulUse2)'" * @generated */ EList getConsolCurrentSmokingStatus2s(); @@ -109,7 +105,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse2)).oclAsType(consol::TobaccoUse2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse2)).oclAsType(consol::TobaccoUse2)'" * @generated */ EList getConsolTobaccoUse2s(); @@ -118,7 +114,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -127,7 +123,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CulturalAndReligiousObservation)).oclAsType(consol::CulturalAndReligiousObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CulturalAndReligiousObservation)).oclAsType(consol::CulturalAndReligiousObservation)'" * @generated */ EList getCulturalAndReligiousObservations(); @@ -136,7 +132,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment)).oclAsType(consol::CharacteristicsOfHomeEnvironment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment)).oclAsType(consol::CharacteristicsOfHomeEnvironment)'" * @generated */ EList getCharacteristicsOfHomeEnvironments(); @@ -145,7 +141,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::BirthSexObservation)).oclAsType(consol::BirthSexObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::BirthSexObservation)).oclAsType(consol::BirthSexObservation)'" * @generated */ EList getBirthSexObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/StudyAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/StudyAct.java index 7957636a87..f91b3341d2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/StudyAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/StudyAct.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -32,7 +27,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( not root.oclIsUndefined() )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( not root.oclIsUndefined() )'" * @generated */ boolean validateStudyActIdsHaveRoot(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( extension.oclIsUndefined() )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( extension.oclIsUndefined() )'" * @generated */ boolean validateStudyActNoIdExtension(DiagnosticChain diagnostics, Map context); @@ -56,7 +51,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateStudyActTextReference(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateStudyActTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.6\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.6\')'" * @generated */ boolean validateStudyActTemplateId(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateStudyActId(DiagnosticChain diagnostics, Map context); @@ -176,7 +171,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::SeriesAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::SeriesAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateStudyActSeriesAct(DiagnosticChain diagnostics, Map context); @@ -185,7 +180,7 @@ public interface StudyAct extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::SeriesAct))->asSequence()->any(true).oclAsType(consol::SeriesAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::SeriesAct))->asSequence()->any(true).oclAsType(consol::SeriesAct)'" * @generated */ SeriesAct getSeriesAct(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubjectiveSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubjectiveSection.java index e34392e857..acd4529963 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubjectiveSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubjectiveSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface SubjectiveSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.2\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.2\')'" * @generated */ boolean validateSubjectiveSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceAdministeredAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceAdministeredAct.java index a0aaedb5f2..91d83d5b48 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceAdministeredAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceAdministeredAct.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -32,7 +27,7 @@ public interface SubstanceAdministeredAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.118\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.118\')'" * @generated */ boolean validateSubstanceAdministeredActTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface SubstanceAdministeredAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateSubstanceAdministeredActId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation.java index 415a5a8f52..c665f660b8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -37,7 +32,7 @@ public interface SubstanceOrDeviceAllergyObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::AllergyStatusObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::AllergyStatusObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator(DiagnosticChain diagnostics, @@ -50,7 +45,7 @@ boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::ReactionObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::ReactionObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationReactionInversionIndicator(DiagnosticChain diagnostics, @@ -63,7 +58,7 @@ boolean validateSubstanceOrDeviceAllergyObservationReactionInversionIndicator(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::SeverityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::SeverityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationSeverityInversionIndicator(DiagnosticChain diagnostics, @@ -76,7 +71,7 @@ boolean validateSubstanceOrDeviceAllergyObservationSeverityInversionIndicator(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.24.3.90\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.24.3.90\')'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationTemplateId(DiagnosticChain diagnostics, @@ -115,7 +110,7 @@ boolean validateSubstanceOrDeviceAllergyObservationMoodCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationId(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ boolean validateSubstanceOrDeviceAllergyObservationEffectiveTime(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'420134006\' or value.code = \'418038007\' or value.code = \'419511003\' or value.code = \'418471000\' or value.code = \'419199007\' or value.code = \'416098002\' or value.code = \'414285001\' or value.code = \'59037007\' or value.code = \'235719002\' or value.code = \'232347008\' or value.code = \'426232007\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'420134006\' or value.code = \'418038007\' or value.code = \'419511003\' or value.code = \'418471000\' or value.code = \'419199007\' or value.code = \'416098002\' or value.code = \'414285001\' or value.code = \'59037007\' or value.code = \'235719002\' or value.code = \'232347008\' or value.code = \'426232007\')))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationValue(DiagnosticChain diagnostics, Map context); @@ -202,7 +197,7 @@ boolean validateSubstanceOrDeviceAllergyObservationEffectiveTime(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationValueP(DiagnosticChain diagnostics, Map context); @@ -214,7 +209,7 @@ boolean validateSubstanceOrDeviceAllergyObservationEffectiveTime(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusObservation(DiagnosticChain diagnostics, @@ -227,7 +222,7 @@ boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusObservation(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::MFST)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::MFST)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationReactionObservation(DiagnosticChain diagnostics, @@ -240,7 +235,7 @@ boolean validateSubstanceOrDeviceAllergyObservationReactionObservation(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SeverityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SeverityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationSeverityObservation(DiagnosticChain diagnostics, @@ -253,7 +248,7 @@ boolean validateSubstanceOrDeviceAllergyObservationSeverityObservation(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipant(DiagnosticChain diagnostics, @@ -266,7 +261,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipant(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((originalText.oclIsUndefined() or originalText.isNullFlavorUndefined()) implies (not originalText.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((originalText.oclIsUndefined() or originalText.isNullFlavorUndefined()) implies (not originalText.oclIsUndefined()) )))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText( @@ -279,7 +274,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCETranslation( @@ -292,7 +287,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.value.oclIsUndefined() implies not getSection().text.getText(code.originalText.reference.value.substring(2, code.originalText.reference.value.size())).oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.value.oclIsUndefined() implies not getSection().text.getText(code.originalText.reference.value.substring(2, code.originalText.reference.value.size())).oclIsUndefined())'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue( @@ -305,7 +300,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.oclIsUndefined() implies code.originalText.reference.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.oclIsUndefined() implies code.originalText.reference.value->size() = 1)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue( @@ -318,7 +313,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.oclIsUndefined() implies not code.originalText.reference.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.oclIsUndefined() implies not code.originalText.reference.oclIsUndefined())'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference( @@ -331,7 +326,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(( code.oclIsUndefined() or code.isNullFlavorUndefined() ) implies ( not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and ( ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.3.26.1.5\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.88\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.4.9\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined() ) ) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(( code.oclIsUndefined() or code.isNullFlavorUndefined() ) implies ( not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and ( ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.3.26.1.5\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.88\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.4.9\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined() ) ) ))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCodeTerminologyValueSetGroupSRFI( @@ -344,7 +339,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::EntityClassRoot::MMAT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::EntityClassRoot::MMAT)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityClassCode( @@ -357,7 +352,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCode( @@ -370,7 +365,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::MANU)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::MANU)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRoleClassCode(DiagnosticChain diagnostics, @@ -383,7 +378,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRoleCla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntity( @@ -396,7 +391,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::CSM)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::CSM)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantTypeCode(DiagnosticChain diagnostics, @@ -409,7 +404,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantTypeCode(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRole(DiagnosticChain diagnostics, @@ -419,7 +414,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRole(Di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation))->asSequence()->any(true).oclAsType(consol::AllergyStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation))->asSequence()->any(true).oclAsType(consol::AllergyStatusObservation)'" * @generated */ AllergyStatusObservation getAllergyStatusObservation(); @@ -428,7 +423,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRole(Di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation)).oclAsType(consol::ReactionObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation)).oclAsType(consol::ReactionObservation)'" * @generated */ EList getReactionObservations(); @@ -437,7 +432,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRole(Di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation))->asSequence()->any(true).oclAsType(consol::SeverityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation))->asSequence()->any(true).oclAsType(consol::SeverityObservation)'" * @generated */ SeverityObservation getSeverityObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation2.java index 7fa2745315..afab9947fb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface SubstanceOrDeviceAllergyObservation2 extends SubstanceOrDeviceA * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::CriticalityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::CriticalityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservation2CriticalityInversionIndicator(DiagnosticChain diagnostics, @@ -49,7 +45,7 @@ boolean validateSubstanceOrDeviceAllergyObservation2CriticalityInversionIndicato * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.24.3.90\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.24.3.90\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservation2TemplateId(DiagnosticChain diagnostics, @@ -62,7 +58,7 @@ boolean validateSubstanceOrDeviceAllergyObservation2TemplateId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservation2AuthorParticipation(DiagnosticChain diagnostics, @@ -75,7 +71,7 @@ boolean validateSubstanceOrDeviceAllergyObservation2AuthorParticipation(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CriticalityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CriticalityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservation2CriticalityObservation(DiagnosticChain diagnostics, @@ -88,7 +84,7 @@ boolean validateSubstanceOrDeviceAllergyObservation2CriticalityObservation(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservation2IVLTSLow(DiagnosticChain diagnostics, @@ -101,7 +97,7 @@ boolean validateSubstanceOrDeviceAllergyObservation2IVLTSLow(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservation2IVLTSHigh(DiagnosticChain diagnostics, @@ -114,7 +110,7 @@ boolean validateSubstanceOrDeviceAllergyObservation2IVLTSHigh(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityAllergySpecificMedication( @@ -127,7 +123,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityAllergyClassMedication( @@ -140,7 +136,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityAllergyFoodOtherSubstance( @@ -150,7 +146,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" * @generated */ EList getConsolReactionObservation2s(); @@ -159,7 +155,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation2))->asSequence()->any(true).oclAsType(consol::SeverityObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation2))->asSequence()->any(true).oclAsType(consol::SeverityObservation2)'" * @generated */ SeverityObservation2 getConsolSeverityObservation2(); @@ -168,7 +164,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CriticalityObservation))->asSequence()->any(true).oclAsType(consol::CriticalityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CriticalityObservation))->asSequence()->any(true).oclAsType(consol::CriticalityObservation)'" * @generated */ CriticalityObservation getCriticalityObservation(); @@ -177,7 +173,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation2))->asSequence()->any(true).oclAsType(consol::AllergyStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation2))->asSequence()->any(true).oclAsType(consol::AllergyStatusObservation2)'" * @generated */ AllergyStatusObservation2 getConsolAllergyStatusObservation2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SurgicalDrainsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SurgicalDrainsSection.java index 307c6f6a59..fefc00cb30 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SurgicalDrainsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SurgicalDrainsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface SurgicalDrainsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.7.13\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.7.13\')'" * @generated */ boolean validateSurgicalDrainsSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TextObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TextObservation.java index 799e881400..4e200576d8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TextObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TextObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -33,7 +28,7 @@ public interface TextObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateTextObservationTextReference(DiagnosticChain diagnostics, Map context); @@ -45,7 +40,7 @@ public interface TextObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateTextObservationTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface TextObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.12\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.12\')'" * @generated */ boolean validateTextObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface TextObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::ED)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::ED)))'" * @generated */ boolean validateTextObservationValue(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ public interface TextObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateTextObservationSOPInstanceObservation(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ public interface TextObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::QuantityMeasurementObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::QuantityMeasurementObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateTextObservationQuantityMeasurementObservation(DiagnosticChain diagnostics, @@ -175,7 +170,7 @@ boolean validateTextObservationQuantityMeasurementObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" * @generated */ EList getSOPInstanceObservations(); @@ -184,7 +179,7 @@ boolean validateTextObservationQuantityMeasurementObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::QuantityMeasurementObservation)).oclAsType(consol::QuantityMeasurementObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::QuantityMeasurementObservation)).oclAsType(consol::QuantityMeasurementObservation)'" * @generated */ EList getQuantityMeasurementObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse.java index dcbea5031f..26252c7e03 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -45,7 +40,7 @@ public interface TobaccoUse extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.85\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.85\')'" * @generated */ boolean validateTobaccoUseTemplateId(DiagnosticChain diagnostics, Map context); @@ -129,7 +124,7 @@ public interface TobaccoUse extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateTobaccoUseValue(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface TobaccoUse extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateTobaccoUseValueP(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ public interface TobaccoUse extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject((code = \'ASSERTION\' and codeSystem = \'2.16.840.1.113883.5.4\') or (code = \'11367-0\' and codeSystem = \'2.16.840.1.113883.6.1\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject((code = \'ASSERTION\' and codeSystem = \'2.16.840.1.113883.5.4\') or (code = \'11367-0\' and codeSystem = \'2.16.840.1.113883.6.1\'))'" * @generated */ boolean validateTobaccoUseCDCodeTermAssertionOrLoinc(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ public interface TobaccoUse extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateTobaccoUseCDCode(DiagnosticChain diagnostics, Map context); @@ -177,7 +172,7 @@ public interface TobaccoUse extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not codeSystem.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not codeSystem.oclIsUndefined() )))'" * @generated */ boolean validateTobaccoUseCDCodeSystem(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse2.java index 623a73b836..6508e85273 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface TobaccoUse2 extends TobaccoUse { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.85\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.85\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateTobaccoUse2TemplateId(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface TobaccoUse2 extends TobaccoUse { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateTobaccoUse2Id(DiagnosticChain diagnostics, Map context); @@ -68,7 +64,7 @@ public interface TobaccoUse2 extends TobaccoUse { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateTobaccoUse2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -80,7 +76,7 @@ public interface TobaccoUse2 extends TobaccoUse { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject(true)'" * @generated */ boolean validateTobaccoUse2CDCodeTermAssertionOrLoinc(DiagnosticChain diagnostics, Map context); @@ -92,7 +88,7 @@ public interface TobaccoUse2 extends TobaccoUse { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateTobaccoUse2IVLTSHigh(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TransferSummary.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TransferSummary.java index 83de5e8de0..6614cf5f8b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TransferSummary.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TransferSummary.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -39,7 +35,7 @@ public interface TransferSummary extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateTransferSummaryHasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( @@ -52,7 +48,7 @@ boolean validateTransferSummaryHasAnAssementAndPlanSection2OrBothAssementSection * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent( @@ -101,7 +97,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::IND)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::IND)->notEmpty()'" * @generated */ boolean validateTransferSummaryParticipantSupport(DiagnosticChain diagnostics, Map context); @@ -113,7 +109,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::CALLBCK)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::CALLBCK)->notEmpty()'" * @generated */ boolean validateTransferSummaryParticipantCallbackContact(DiagnosticChain diagnostics, Map context); @@ -125,7 +121,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateTransferSummaryDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -137,7 +133,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection2))'" * @generated */ boolean validateTransferSummaryAdvanceDirectivesSection2(DiagnosticChain diagnostics, Map context); @@ -149,7 +145,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" * @generated */ boolean validateTransferSummaryAllergiesSection2(DiagnosticChain diagnostics, Map context); @@ -161,7 +157,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" * @generated */ boolean validateTransferSummaryPhysicalExamSection2(DiagnosticChain diagnostics, Map context); @@ -173,7 +169,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection2))'" * @generated */ boolean validateTransferSummaryEncountersSection2(DiagnosticChain diagnostics, Map context); @@ -185,7 +181,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" * @generated */ boolean validateTransferSummaryFamilyHistorySection(DiagnosticChain diagnostics, Map context); @@ -197,7 +193,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" * @generated */ boolean validateTransferSummaryFunctionalStatusSection2(DiagnosticChain diagnostics, Map context); @@ -209,7 +205,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" * @generated */ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -222,7 +218,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" * @generated */ boolean validateTransferSummaryMedicalEquipmentSection2(DiagnosticChain diagnostics, Map context); @@ -234,7 +230,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" * @generated */ boolean validateTransferSummaryMedicationsSection2(DiagnosticChain diagnostics, Map context); @@ -246,7 +242,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))'" * @generated */ boolean validateTransferSummaryPayersSection2(DiagnosticChain diagnostics, Map context); @@ -258,7 +254,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateTransferSummaryPlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -270,7 +266,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" * @generated */ boolean validateTransferSummaryProblemSection2(DiagnosticChain diagnostics, Map context); @@ -282,7 +278,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))'" * @generated */ boolean validateTransferSummaryProceduresSection2(DiagnosticChain diagnostics, Map context); @@ -294,7 +290,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" * @generated */ boolean validateTransferSummaryResultsSection2(DiagnosticChain diagnostics, Map context); @@ -306,7 +302,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateTransferSummarySocialHistorySection2(DiagnosticChain diagnostics, Map context); @@ -318,7 +314,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" * @generated */ boolean validateTransferSummaryVitalSignsSection2(DiagnosticChain diagnostics, Map context); @@ -330,7 +326,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" * @generated */ boolean validateTransferSummaryMentalStatusSection(DiagnosticChain diagnostics, Map context); @@ -342,7 +338,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" * @generated */ boolean validateTransferSummaryGeneralStatusSection(DiagnosticChain diagnostics, Map context); @@ -354,7 +350,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateTransferSummaryReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -366,7 +362,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" * @generated */ boolean validateTransferSummaryNutritionSection(DiagnosticChain diagnostics, Map context); @@ -378,7 +374,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))'" * @generated */ boolean validateTransferSummaryReasonForReferralSection2(DiagnosticChain diagnostics, Map context); @@ -390,7 +386,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" * @generated */ boolean validateTransferSummaryHistoryOfPastIllnessSection2(DiagnosticChain diagnostics, @@ -403,7 +399,7 @@ boolean validateTransferSummaryHistoryOfPastIllnessSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateTransferSummaryHistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -416,7 +412,7 @@ boolean validateTransferSummaryHistoryOfPresentIllnessSection(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateTransferSummaryAssessmentAndPlanSection2(DiagnosticChain diagnostics, Map context); @@ -428,7 +424,7 @@ boolean validateTransferSummaryHistoryOfPresentIllnessSection(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateTransferSummaryAssessmentSection(DiagnosticChain diagnostics, Map context); @@ -440,7 +436,7 @@ boolean validateTransferSummaryHistoryOfPresentIllnessSection(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))'" * @generated */ boolean validateTransferSummaryDischargeDiagnosisSection2(DiagnosticChain diagnostics, Map context); @@ -452,7 +448,7 @@ boolean validateTransferSummaryHistoryOfPresentIllnessSection(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))'" * @generated */ boolean validateTransferSummaryAdmissionMedicationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -465,7 +461,7 @@ boolean validateTransferSummaryAdmissionMedicationsSectionEntriesOptional2(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))'" * @generated */ boolean validateTransferSummaryAdmissionDiagnosisSection2(DiagnosticChain diagnostics, Map context); @@ -477,7 +473,7 @@ boolean validateTransferSummaryAdmissionMedicationsSectionEntriesOptional2(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::CourseOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::CourseOfCareSection))'" * @generated */ boolean validateTransferSummaryCourseOfCareSection(DiagnosticChain diagnostics, Map context); @@ -489,7 +485,7 @@ boolean validateTransferSummaryAdmissionMedicationsSectionEntriesOptional2(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPersonName(DiagnosticChain diagnostics, @@ -502,7 +498,7 @@ boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPerso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" * @generated */ boolean validateTransferSummaryParticipantSupportAssociatedEntityClassCodeP(DiagnosticChain diagnostics, @@ -515,7 +511,7 @@ boolean validateTransferSummaryParticipantSupportAssociatedEntityClassCodeP(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassAssociative) and \r\nlet value : vocab::RoleClassAssociative = classCode.oclAsType(vocab::RoleClassAssociative) in \r\nvalue = vocab::RoleClassAssociative::PRS or value = vocab::RoleClassAssociative::NOK or value = vocab::RoleClassAssociative::CAREGIVER or value = vocab::RoleClassAssociative::AGNT or value = vocab::RoleClassAssociative::GUAR or value = vocab::RoleClassAssociative::ECON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassAssociative) and \r\nlet value : vocab::RoleClassAssociative = classCode.oclAsType(vocab::RoleClassAssociative) in \r\nvalue = vocab::RoleClassAssociative::PRS or value = vocab::RoleClassAssociative::NOK or value = vocab::RoleClassAssociative::CAREGIVER or value = vocab::RoleClassAssociative::AGNT or value = vocab::RoleClassAssociative::GUAR or value = vocab::RoleClassAssociative::ECON)'" * @generated */ boolean validateTransferSummaryParticipantSupportAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -528,7 +524,7 @@ boolean validateTransferSummaryParticipantSupportAssociatedEntityClassCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -541,7 +537,7 @@ boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPerso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" * @generated */ boolean validateTransferSummaryParticipantSupportTypeCode(DiagnosticChain diagnostics, Map context); @@ -553,7 +549,7 @@ boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPerso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateTransferSummaryParticipantSupportAssociatedEntity(DiagnosticChain diagnostics, @@ -566,7 +562,7 @@ boolean validateTransferSummaryParticipantSupportAssociatedEntity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAssociatedPersonName( @@ -579,7 +575,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAssocia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::ASSIGNED)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::ASSIGNED)'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -592,7 +588,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityClassCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityId(DiagnosticChain diagnostics, @@ -605,7 +601,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityId(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAddr(DiagnosticChain diagnostics, @@ -618,7 +614,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAddr(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityTelecom(DiagnosticChain diagnostics, @@ -631,7 +627,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityTelecom * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAssociatedPerson( @@ -644,7 +640,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAssocia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(scopingOrganization->one(scopingOrganization : cda::Organization | not scopingOrganization.oclIsUndefined() and scopingOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(scopingOrganization->one(scopingOrganization : cda::Organization | not scopingOrganization.oclIsUndefined() and scopingOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityScopingOrganization( @@ -657,7 +653,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityScoping * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(typeCode=vocab::ParticipationType::CALLBCK)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(typeCode=vocab::ParticipationType::CALLBCK)'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactTypeCode(DiagnosticChain diagnostics, @@ -670,7 +666,7 @@ boolean validateTransferSummaryParticipantCallbackContactTypeCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntity(DiagnosticChain diagnostics, @@ -683,7 +679,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntity(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PRF)'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEventPerformerTypeCode(DiagnosticChain diagnostics, @@ -696,7 +692,7 @@ boolean validateTransferSummaryDocumentationOfServiceEventPerformerTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEventPerformerFunctionCodeP(DiagnosticChain diagnostics, @@ -709,7 +705,7 @@ boolean validateTransferSummaryDocumentationOfServiceEventPerformerFunctionCodeP * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEventPerformerFunctionCode(DiagnosticChain diagnostics, @@ -722,7 +718,7 @@ boolean validateTransferSummaryDocumentationOfServiceEventPerformerFunctionCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEventClassCode(DiagnosticChain diagnostics, @@ -735,7 +731,7 @@ boolean validateTransferSummaryDocumentationOfServiceEventClassCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEventCode(DiagnosticChain diagnostics, @@ -748,7 +744,7 @@ boolean validateTransferSummaryDocumentationOfServiceEventCode(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->notEmpty())'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEventPerformer1(DiagnosticChain diagnostics, @@ -761,7 +757,7 @@ boolean validateTransferSummaryDocumentationOfServiceEventPerformer1(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagnostics, @@ -771,7 +767,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSection2)'" * @generated */ AdvanceDirectivesSection2 getAdvanceDirectivesSection2(); @@ -780,7 +776,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" * @generated */ AllergiesSection2 getAllergiesSection2(); @@ -789,7 +785,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" * @generated */ PhysicalExamSection2 getPhysicalExamSection2(); @@ -798,7 +794,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection2))->asSequence()->any(true).oclAsType(consol::EncountersSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection2))->asSequence()->any(true).oclAsType(consol::EncountersSection2)'" * @generated */ EncountersSection2 getEncountersSection2(); @@ -807,7 +803,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" * @generated */ FamilyHistorySection getFamilyHistorySection(); @@ -816,7 +812,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" * @generated */ FunctionalStatusSection2 getFunctionalStatusSection2(); @@ -825,7 +821,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" * @generated */ ImmunizationsSectionEntriesOptional2 getImmunizationsSectionEntriesOptional2(); @@ -834,7 +830,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" * @generated */ MedicalEquipmentSection2 getMedicalEquipmentSection2(); @@ -843,7 +839,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" * @generated */ MedicationsSection2 getMedicationsSection2(); @@ -852,7 +848,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))->asSequence()->any(true).oclAsType(consol::PayersSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))->asSequence()->any(true).oclAsType(consol::PayersSection2)'" * @generated */ PayersSection2 getPayersSection2(); @@ -861,7 +857,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -870,7 +866,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" * @generated */ ProblemSection2 getProblemSection2(); @@ -879,7 +875,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))->asSequence()->any(true).oclAsType(consol::ProceduresSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))->asSequence()->any(true).oclAsType(consol::ProceduresSection2)'" * @generated */ ProceduresSection2 getProceduresSection2(); @@ -888,7 +884,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" * @generated */ ResultsSection2 getResultsSection2(); @@ -897,7 +893,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); @@ -906,7 +902,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" * @generated */ VitalSignsSection2 getVitalSignsSection2(); @@ -915,7 +911,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" * @generated */ MentalStatusSection getMentalStatusSection(); @@ -924,7 +920,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" * @generated */ GeneralStatusSection getGeneralStatusSection(); @@ -933,7 +929,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -942,7 +938,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" * @generated */ NutritionSection getNutritionSection(); @@ -951,7 +947,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))->asSequence()->any(true).oclAsType(consol::ReasonForReferralSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))->asSequence()->any(true).oclAsType(consol::ReasonForReferralSection2)'" * @generated */ ReasonForReferralSection2 getReasonForReferralSection2(); @@ -960,7 +956,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" * @generated */ HistoryOfPastIllnessSection2 getHistoryOfPastIllnessSection2(); @@ -969,7 +965,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -978,7 +974,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" * @generated */ AssessmentAndPlanSection2 getAssessmentAndPlanSection2(); @@ -987,7 +983,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -996,7 +992,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::DischargeDiagnosisSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::DischargeDiagnosisSection2)'" * @generated */ DischargeDiagnosisSection2 getDischargeDiagnosisSection2(); @@ -1005,7 +1001,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdmissionMedicationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdmissionMedicationsSectionEntriesOptional2)'" * @generated */ AdmissionMedicationsSectionEntriesOptional2 getAdmissionMedicationsSectionEntriesOptional2(); @@ -1014,7 +1010,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::AdmissionDiagnosisSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::AdmissionDiagnosisSection2)'" * @generated */ AdmissionDiagnosisSection2 getAdmissionDiagnosisSection2(); @@ -1023,7 +1019,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::CourseOfCareSection))->asSequence()->any(true).oclAsType(consol::CourseOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::CourseOfCareSection))->asSequence()->any(true).oclAsType(consol::CourseOfCareSection)'" * @generated */ CourseOfCareSection getCourseOfCareSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeader2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeader2.java index 7390683afc..f59e2ec461 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeader2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeader2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -67,7 +63,7 @@ public interface USRealmHeader2 extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.1.1\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.1.1\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateUSRealmHeader2TemplateId(DiagnosticChain diagnostics, Map context); @@ -79,7 +75,7 @@ public interface USRealmHeader2 extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject(not code.oclIsUndefined() and code.isNullFlavorUndefined() implies code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject(not code.oclIsUndefined() and code.isNullFlavorUndefined() implies code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined())'" * @generated */ boolean validateUSRealmHeader2RecordTargetPatientRolePatientGuardianCodeTerminology(DiagnosticChain diagnostics, @@ -92,7 +88,7 @@ boolean validateUSRealmHeader2RecordTargetPatientRolePatientGuardianCodeTerminol * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() >= 10)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() >= 10)'" * @generated */ boolean validateUSRealmHeader2RecordTargetPatientRolePatientTSBirthTimePreciseToMinute(DiagnosticChain diagnostics, @@ -105,7 +101,7 @@ boolean validateUSRealmHeader2RecordTargetPatientRolePatientTSBirthTimePreciseTo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCEthnicGroupCode->isEmpty() or sDTCEthnicGroupCode->exists(element | element.isNullFlavorUndefined())) implies (not sDTCEthnicGroupCode->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCEthnicGroupCode->isEmpty() or sDTCEthnicGroupCode->exists(element | element.isNullFlavorUndefined())) implies (not sDTCEthnicGroupCode->isEmpty()))'" * @generated */ boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCodeP(DiagnosticChain diagnostics, @@ -118,7 +114,7 @@ boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCodeP * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCEthnicGroupCode->isEmpty() or sDTCEthnicGroupCode->exists(element | element.isNullFlavorUndefined())) implies (sDTCEthnicGroupCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and not value.code.oclIsUndefined())))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCEthnicGroupCode->isEmpty() or sDTCEthnicGroupCode->exists(element | element.isNullFlavorUndefined())) implies (sDTCEthnicGroupCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and not value.code.oclIsUndefined())))'" * @generated */ boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCode(DiagnosticChain diagnostics, @@ -131,7 +127,7 @@ boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(not assignedPerson.oclIsUndefined() and (code.oclIsUndefined() or code.isNullFlavorUndefined()) implies not code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(not assignedPerson.oclIsUndefined() and (code.oclIsUndefined() or code.isNullFlavorUndefined()) implies not code.oclIsUndefined())'" * @generated */ boolean validateUSRealmHeader2AuthorAssignedAuthorIfAssignedPersonThenContainsCode(DiagnosticChain diagnostics, @@ -144,7 +140,7 @@ boolean validateUSRealmHeader2AuthorAssignedAuthorIfAssignedPersonThenContainsCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(not assignedPerson.oclIsUndefined() and (code.oclIsUndefined() or code.isNullFlavorUndefined()) implies not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(not assignedPerson.oclIsUndefined() and (code.oclIsUndefined() or code.isNullFlavorUndefined()) implies not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined())'" * @generated */ boolean validateUSRealmHeader2AuthorAssignedAuthorCodeTerminology(DiagnosticChain diagnostics, @@ -157,7 +153,7 @@ boolean validateUSRealmHeader2AuthorAssignedAuthorCodeTerminology(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeader2InformationRecipientIntendedRecipientId(DiagnosticChain diagnostics, @@ -170,7 +166,7 @@ boolean validateUSRealmHeader2InformationRecipientIntendedRecipientId(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((sDTCSignatureText.oclIsUndefined() or sDTCSignatureText.isNullFlavorUndefined()) implies (not sDTCSignatureText.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((sDTCSignatureText.oclIsUndefined() or sDTCSignatureText.isNullFlavorUndefined()) implies (not sDTCSignatureText.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeader2LegalAuthenticatorSDTCSignatureText(DiagnosticChain diagnostics, @@ -183,7 +179,7 @@ boolean validateUSRealmHeader2LegalAuthenticatorSDTCSignatureText(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((sDTCSignatureText.oclIsUndefined() or sDTCSignatureText.isNullFlavorUndefined()) implies (not sDTCSignatureText.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((sDTCSignatureText.oclIsUndefined() or sDTCSignatureText.isNullFlavorUndefined()) implies (not sDTCSignatureText.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeader2AuthenticatorSDTCSignatureText(DiagnosticChain diagnostics, @@ -196,7 +192,7 @@ boolean validateUSRealmHeader2AuthenticatorSDTCSignatureText(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -209,7 +205,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -222,7 +218,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -235,7 +231,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -248,7 +244,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -261,7 +257,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -274,7 +270,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -287,7 +283,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -300,7 +296,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -313,7 +309,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -326,7 +322,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(true)'" * @generated */ boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantAssignedEntity(DiagnosticChain diagnostics, @@ -339,7 +335,7 @@ boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantAssignedEntity(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(true)'" * @generated */ boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantRelatedEntity(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeaderPatientGeneratedDocument.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeaderPatientGeneratedDocument.java index 720753475a..1e7d64cca8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeaderPatientGeneratedDocument.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeaderPatientGeneratedDocument.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -61,7 +57,7 @@ public interface USRealmHeaderPatientGeneratedDocument extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->one(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->one(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTarget(DiagnosticChain diagnostics, @@ -74,7 +70,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTarget(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthor(DiagnosticChain diagnostics, @@ -87,7 +83,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthor(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->one(dataEnterer : cda::DataEnterer | not dataEnterer.oclIsUndefined() and dataEnterer.oclIsKindOf(cda::DataEnterer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->one(dataEnterer : cda::DataEnterer | not dataEnterer.oclIsUndefined() and dataEnterer.oclIsKindOf(cda::DataEnterer))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEnterer(DiagnosticChain diagnostics, @@ -100,7 +96,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEnterer(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->exists(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(cda::Informant12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->exists(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(cda::Informant12))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformant(DiagnosticChain diagnostics, @@ -113,7 +109,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformant(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodian(DiagnosticChain diagnostics, @@ -126,7 +122,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodian(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipient(DiagnosticChain diagnostics, @@ -139,7 +135,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipient(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->one(legalAuthenticator : cda::LegalAuthenticator | not legalAuthenticator.oclIsUndefined() and legalAuthenticator.oclIsKindOf(cda::LegalAuthenticator))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->one(legalAuthenticator : cda::LegalAuthenticator | not legalAuthenticator.oclIsUndefined() and legalAuthenticator.oclIsKindOf(cda::LegalAuthenticator))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticator(DiagnosticChain diagnostics, @@ -152,7 +148,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticator(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->exists(authenticator : cda::Authenticator | not authenticator.oclIsUndefined() and authenticator.oclIsKindOf(cda::Authenticator))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->exists(authenticator : cda::Authenticator | not authenticator.oclIsUndefined() and authenticator.oclIsKindOf(cda::Authenticator))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator(DiagnosticChain diagnostics, @@ -165,7 +161,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipant(DiagnosticChain diagnostics, @@ -178,7 +174,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipant(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillmentOf(DiagnosticChain diagnostics, @@ -191,7 +187,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillmentOf(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOf(DiagnosticChain diagnostics, @@ -204,7 +200,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOf(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardianId( @@ -217,7 +213,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardianCodeP( @@ -230,7 +226,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardianCode( @@ -243,7 +239,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((preferenceInd.oclIsUndefined() or preferenceInd.isNullFlavorUndefined()) implies (not preferenceInd.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((preferenceInd.oclIsUndefined() or preferenceInd.isNullFlavorUndefined()) implies (not preferenceInd.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd( @@ -256,7 +252,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(languageCommunication->size() > 1 implies languageCommunication->one( langCom : cda::LanguageCommunication | langCom.preferenceInd.value))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(languageCommunication->size() > 1 implies languageCommunication->one( langCom : cda::LanguageCommunication | langCom.preferenceInd.value))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientIfMoreThanOneLangComm( @@ -269,7 +265,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(guardian->exists(guardian : cda::Guardian | not guardian.oclIsUndefined() and guardian.oclIsKindOf(cda::Guardian)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(guardian->exists(guardian : cda::Guardian | not guardian.oclIsUndefined() and guardian.oclIsKindOf(cda::Guardian)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardian( @@ -282,7 +278,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(languageCommunication->exists(languageCommunication : cda::LanguageCommunication | not languageCommunication.oclIsUndefined() and languageCommunication.oclIsKindOf(cda::LanguageCommunication)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(languageCommunication->exists(languageCommunication : cda::LanguageCommunication | not languageCommunication.oclIsUndefined() and languageCommunication.oclIsKindOf(cda::LanguageCommunication)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientLanguageCommunication( @@ -295,7 +291,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRoleId(DiagnosticChain diagnostics, @@ -308,7 +304,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRoleId(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(patient->one(patient : cda::Patient | not patient.oclIsUndefined() and patient.oclIsKindOf(cda::Patient)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(patient->one(patient : cda::Patient | not patient.oclIsUndefined() and patient.oclIsKindOf(cda::Patient)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatient(DiagnosticChain diagnostics, @@ -321,7 +317,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(providerOrganization->one(providerOrganization : cda::Organization | not providerOrganization.oclIsUndefined() and providerOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(providerOrganization->one(providerOrganization : cda::Organization | not providerOrganization.oclIsUndefined() and providerOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRoleProviderOrganization( @@ -334,7 +330,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRoleProv * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRole(DiagnosticChain diagnostics, @@ -347,7 +343,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRole(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (codeSystem = \'2.16.840.1.113883.5.111\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (codeSystem = \'2.16.840.1.113883.5.111\'))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCECodeSystemAndTerminology( @@ -360,7 +356,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCECodeS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCECode(DiagnosticChain diagnostics, @@ -373,7 +369,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCECode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorId(DiagnosticChain diagnostics, @@ -386,7 +382,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorId(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCode(DiagnosticChain diagnostics, @@ -399,7 +395,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCode(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthor(DiagnosticChain diagnostics, @@ -412,7 +408,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthor(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -425,7 +421,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntityCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntityCode(DiagnosticChain diagnostics, @@ -438,7 +434,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntityCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntity(DiagnosticChain diagnostics, @@ -451,7 +447,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntity(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntityCodeP(DiagnosticChain diagnostics, @@ -464,7 +460,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntityCodeP * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntityCode(DiagnosticChain diagnostics, @@ -477,7 +473,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntityCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(relatedEntity->one(relatedEntity : cda::RelatedEntity | not relatedEntity.oclIsUndefined() and relatedEntity.oclIsKindOf(cda::RelatedEntity)) xor assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(relatedEntity->one(relatedEntity : cda::RelatedEntity | not relatedEntity.oclIsUndefined() and relatedEntity.oclIsKindOf(cda::RelatedEntity)) xor assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantHasRelatedEntityOrAssignedEntity( @@ -490,7 +486,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantHasRelatedEntityOr * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(relatedEntity->one(relatedEntity : cda::RelatedEntity | not relatedEntity.oclIsUndefined() and relatedEntity.oclIsKindOf(cda::RelatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(relatedEntity->one(relatedEntity : cda::RelatedEntity | not relatedEntity.oclIsUndefined() and relatedEntity.oclIsKindOf(cda::RelatedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntity(DiagnosticChain diagnostics, @@ -503,7 +499,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntity(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodianRepresentedCustodianOrganizationId( @@ -516,7 +512,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodianR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(cda::CustodianOrganization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(cda::CustodianOrganization)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodianRepresentedCustodianOrganization( @@ -529,7 +525,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodianR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodian(DiagnosticChain diagnostics, @@ -542,7 +538,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodian( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).id->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not root.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).id->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not root.oclIsUndefined() )))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntendedRecipientIIRoot( @@ -555,7 +551,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntende * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntendedRecipientId( @@ -568,7 +564,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntende * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntendedRecipient( @@ -581,7 +577,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntende * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (codeSystem = \'2.16.840.1.113883.5.111\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (codeSystem = \'2.16.840.1.113883.5.111\'))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityCECodeSystemAndTerminology( @@ -594,7 +590,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityCECode( @@ -607,7 +603,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityId(DiagnosticChain diagnostics, @@ -620,7 +616,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityCode( @@ -633,7 +629,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntity(DiagnosticChain diagnostics, @@ -646,7 +642,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntityId(DiagnosticChain diagnostics, @@ -659,7 +655,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -672,7 +668,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntityCode(DiagnosticChain diagnostics, @@ -685,7 +681,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntity(DiagnosticChain diagnostics, @@ -698,7 +694,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntityCodeP(DiagnosticChain diagnostics, @@ -711,7 +707,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntityCode(DiagnosticChain diagnostics, @@ -724,7 +720,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(p : cda::Participant1 | p.typeCode = vocab::ParticipationType::IND and not ( p.associatedEntity.classCode = vocab::RoleClassAssociative::PRS or p.associatedEntity.classCode = vocab::RoleClassAssociative::NOK or p.associatedEntity.classCode = vocab::RoleClassAssociative::CAREGIVER or p.associatedEntity.classCode = vocab::RoleClassAssociative::AGNT or p.associatedEntity.classCode = vocab::RoleClassAssociative::GUAR or p.associatedEntity.classCode = vocab::RoleClassAssociative::ECON or p.associatedEntity.isNullFlavorDefined() ) or p.associatedEntity.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(p : cda::Participant1 | p.typeCode = vocab::ParticipationType::IND and not ( p.associatedEntity.classCode = vocab::RoleClassAssociative::PRS or p.associatedEntity.classCode = vocab::RoleClassAssociative::NOK or p.associatedEntity.classCode = vocab::RoleClassAssociative::CAREGIVER or p.associatedEntity.classCode = vocab::RoleClassAssociative::AGNT or p.associatedEntity.classCode = vocab::RoleClassAssociative::GUAR or p.associatedEntity.classCode = vocab::RoleClassAssociative::ECON or p.associatedEntity.isNullFlavorDefined() ) or p.associatedEntity.oclIsUndefined())'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantIfTypeCodeINDThenAEClassCodeFromINDRoleclassCodes( @@ -737,7 +733,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantIfTypeCodeINDThe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(isDefined(\'typeCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(isDefined(\'typeCode\'))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantTypeCode(DiagnosticChain diagnostics, @@ -750,7 +746,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantTypeCode(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntity(DiagnosticChain diagnostics, @@ -763,7 +759,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillmentOfOrderId(DiagnosticChain diagnostics, @@ -776,7 +772,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillmentOfOrderId(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillmentOfOrder(DiagnosticChain diagnostics, @@ -789,7 +785,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillmentOfOrder(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntityId( @@ -802,7 +798,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntityCodeP( @@ -815,7 +811,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntityCode( @@ -828,7 +824,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerFunctionCodeP( @@ -841,7 +837,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.90\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.90\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerFunctionCode( @@ -854,7 +850,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntity( @@ -867,7 +863,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventCode(DiagnosticChain diagnostics, @@ -880,7 +876,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformer( @@ -893,7 +889,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument.java index 86b9975089..2423888f31 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -47,7 +43,7 @@ public interface UnstructuredDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->one(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->one(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" * @generated */ boolean validateUnstructuredDocumentRecordTarget(DiagnosticChain diagnostics, Map context); @@ -59,7 +55,7 @@ public interface UnstructuredDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" * @generated */ boolean validateUnstructuredDocumentAuthor(DiagnosticChain diagnostics, Map context); @@ -71,7 +67,7 @@ public interface UnstructuredDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component2 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component2 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component2))'" * @generated */ boolean validateUnstructuredDocumentComponent(DiagnosticChain diagnostics, Map context); @@ -83,7 +79,7 @@ public interface UnstructuredDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" * @generated */ boolean validateUnstructuredDocumentCustodian(DiagnosticChain diagnostics, Map context); @@ -95,7 +91,7 @@ public interface UnstructuredDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateUnstructuredDocumentRecordTargetPatientRole2Id(DiagnosticChain diagnostics, @@ -108,7 +104,7 @@ boolean validateUnstructuredDocumentRecordTargetPatientRole2Id(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" * @generated */ boolean validateUnstructuredDocumentRecordTargetPatientRole2(DiagnosticChain diagnostics, @@ -121,7 +117,7 @@ boolean validateUnstructuredDocumentRecordTargetPatientRole2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateUnstructuredDocumentAuthorAssignedAuthor2Addr(DiagnosticChain diagnostics, @@ -134,7 +130,7 @@ boolean validateUnstructuredDocumentAuthorAssignedAuthor2Addr(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateUnstructuredDocumentAuthorAssignedAuthor2Telecom(DiagnosticChain diagnostics, @@ -147,7 +143,7 @@ boolean validateUnstructuredDocumentAuthorAssignedAuthor2Telecom(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" * @generated */ boolean validateUnstructuredDocumentAuthorAssignedAuthor2(DiagnosticChain diagnostics, Map context); @@ -159,7 +155,7 @@ boolean validateUnstructuredDocumentAuthorAssignedAuthor2Telecom(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((addr.oclIsUndefined() or addr.isNullFlavorUndefined()) implies (not addr.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((addr.oclIsUndefined() or addr.isNullFlavorUndefined()) implies (not addr.oclIsUndefined()))'" * @generated */ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationAddr( @@ -172,7 +168,7 @@ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganiza * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationId(DiagnosticChain diagnostics, @@ -185,7 +181,7 @@ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganiza * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined()))'" * @generated */ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationName( @@ -198,7 +194,7 @@ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganiza * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((telecom.oclIsUndefined() or telecom.isNullFlavorUndefined()) implies (not telecom.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((telecom.oclIsUndefined() or telecom.isNullFlavorUndefined()) implies (not telecom.oclIsUndefined()))'" * @generated */ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationTelecom( @@ -211,7 +207,7 @@ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganiza * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(cda::CustodianOrganization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(cda::CustodianOrganization)))'" * @generated */ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganization(DiagnosticChain diagnostics, @@ -224,7 +220,7 @@ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganiza * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" * @generated */ boolean validateUnstructuredDocumentCustodianAssignedCustodian2(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument2.java index 59b9b77c53..b4fcf6c831 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -37,7 +33,7 @@ public interface UnstructuredDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->exists(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->exists(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" * @generated */ boolean validateUnstructuredDocument2RecordTarget(DiagnosticChain diagnostics, Map context); @@ -49,7 +45,7 @@ public interface UnstructuredDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" * @generated */ boolean validateUnstructuredDocument2Custodian(DiagnosticChain diagnostics, Map context); @@ -61,7 +57,7 @@ public interface UnstructuredDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component2 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component2 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component2))'" * @generated */ boolean validateUnstructuredDocument2Component(DiagnosticChain diagnostics, Map context); @@ -73,7 +69,7 @@ public interface UnstructuredDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUnstructuredDocument2RecordTargetPatientRoleId(DiagnosticChain diagnostics, @@ -86,7 +82,7 @@ boolean validateUnstructuredDocument2RecordTargetPatientRoleId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" * @generated */ boolean validateUnstructuredDocument2RecordTargetPatientRole(DiagnosticChain diagnostics, @@ -99,7 +95,7 @@ boolean validateUnstructuredDocument2RecordTargetPatientRole(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateUnstructuredDocument2CustodianAssignedCustodianRepresentedCustodianOrganization( @@ -112,7 +108,7 @@ boolean validateUnstructuredDocument2CustodianAssignedCustodianRepresentedCustod * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" * @generated */ boolean validateUnstructuredDocument2CustodianAssignedCustodian(DiagnosticChain diagnostics, @@ -125,7 +121,7 @@ boolean validateUnstructuredDocument2CustodianAssignedCustodian(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null).text->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not mediaType.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null).text->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not mediaType.oclIsUndefined() )))'" * @generated */ boolean validateUnstructuredDocument2ComponentNonXMLBodyEDMediaType(DiagnosticChain diagnostics, @@ -138,7 +134,7 @@ boolean validateUnstructuredDocument2ComponentNonXMLBodyEDMediaType(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null)->reject(not text.reference.value.oclIsUndefined() xor ( text.isDefined(\'representation\') and text.representation = datatypes::BinaryDataEncoding::B64 and (not text.mediaType.oclIsUndefined()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null)->reject(not text.reference.value.oclIsUndefined() xor ( text.isDefined(\'representation\') and text.representation = datatypes::BinaryDataEncoding::B64 and (not text.mediaType.oclIsUndefined()) ))'" * @generated */ boolean validateUnstructuredDocument2ComponentNonXMLBodyHasReferenceOrRepresentation(DiagnosticChain diagnostics, @@ -151,7 +147,7 @@ boolean validateUnstructuredDocument2ComponentNonXMLBodyHasReferenceOrRepresenta * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null)->reject(not text.mediaType.oclIsUndefined() implies (text.mediaType = \'application/msword\' or text.mediaType = \'application/pdf\' or text.mediaType = \'text/plain\' or text.mediaType = \'text/rtf\' or text.mediaType = \'text/html\' or text.mediaType = \'image/gif\' or text.mediaType = \'image/tiff\' or text.mediaType = \'image/jpeg\' or text.mediaType = \'image/png\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null)->reject(not text.mediaType.oclIsUndefined() implies (text.mediaType = \'application/msword\' or text.mediaType = \'application/pdf\' or text.mediaType = \'text/plain\' or text.mediaType = \'text/rtf\' or text.mediaType = \'text/html\' or text.mediaType = \'image/gif\' or text.mediaType = \'image/tiff\' or text.mediaType = \'image/jpeg\' or text.mediaType = \'image/png\'))'" * @generated */ boolean validateUnstructuredDocument2ComponentNonXMLBodyMediaTypeFileFormats(DiagnosticChain diagnostics, @@ -164,7 +160,7 @@ boolean validateUnstructuredDocument2ComponentNonXMLBodyMediaTypeFileFormats(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null)->reject((text.oclIsUndefined() or text.isNullFlavorUndefined()) implies (not text.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null)->reject((text.oclIsUndefined() or text.isNullFlavorUndefined()) implies (not text.oclIsUndefined()))'" * @generated */ boolean validateUnstructuredDocument2ComponentNonXMLBodyText(DiagnosticChain diagnostics, @@ -177,7 +173,7 @@ boolean validateUnstructuredDocument2ComponentNonXMLBodyText(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null)->reject(nonXMLBody->one(nonXMLBody : cda::NonXMLBody | not nonXMLBody.oclIsUndefined() and nonXMLBody.oclIsKindOf(cda::NonXMLBody)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null)->reject(nonXMLBody->one(nonXMLBody : cda::NonXMLBody | not nonXMLBody.oclIsUndefined() and nonXMLBody.oclIsKindOf(cda::NonXMLBody)))'" * @generated */ boolean validateUnstructuredDocument2ComponentNonXMLBody(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation.java index 3fad4c9fec..08c4377d15 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateVitalSignObservationTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateVitalSignObservationReferenceValue(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.27\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.27\')'" * @generated */ boolean validateVitalSignObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateVitalSignObservationId(DiagnosticChain diagnostics, Map context); @@ -176,7 +171,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" * @generated */ boolean validateVitalSignObservationValue(DiagnosticChain diagnostics, Map context); @@ -188,7 +183,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.interpretationCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.interpretationCode->isEmpty()) )'" * @generated */ boolean validateVitalSignObservationInterpretationCode(DiagnosticChain diagnostics, Map context); @@ -200,7 +195,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" * @generated */ boolean validateVitalSignObservationMethodCode(DiagnosticChain diagnostics, Map context); @@ -212,7 +207,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.targetSiteCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.targetSiteCode->isEmpty()) )'" * @generated */ boolean validateVitalSignObservationTargetSiteCode(DiagnosticChain diagnostics, Map context); @@ -236,7 +231,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateVitalSignObservationAuthor(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation2.java index e88987e0f4..cccb48fa3d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +26,7 @@ public interface VitalSignObservation2 extends VitalSignObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.27\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.27\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateVitalSignObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -42,7 +38,7 @@ public interface VitalSignObservation2 extends VitalSignObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" * @generated */ boolean validateVitalSignObservationInterpretationCodeP(DiagnosticChain diagnostics, Map context); @@ -54,7 +50,7 @@ public interface VitalSignObservation2 extends VitalSignObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateVitalSignObservation2AuthorParticipation(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer.java index e907c1cb39..fbb62fa4b5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Organizer; /** @@ -33,7 +28,7 @@ public interface VitalSignsOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.26\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.26\')'" * @generated */ boolean validateVitalSignsOrganizerTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface VitalSignsOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateVitalSignsOrganizerId(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface VitalSignsOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::VitalSignObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::VitalSignObservation))'" * @generated */ boolean validateVitalSignsOrganizerVitalSignObservation(DiagnosticChain diagnostics, Map context); @@ -150,7 +145,7 @@ public interface VitalSignsOrganizer extends Organizer { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation)).oclAsType(consol::VitalSignObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation)).oclAsType(consol::VitalSignObservation)'" * @generated */ EList getVitalSignObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer2.java index c076c025c6..ef5bb9d682 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface VitalSignsOrganizer2 extends VitalSignsOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.26\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.26\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateVitalSignsOrganizer2TemplateId(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface VitalSignsOrganizer2 extends VitalSignsOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateVitalSignsOrganizer2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -56,7 +52,7 @@ public interface VitalSignsOrganizer2 extends VitalSignsOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'74728-7\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'74728-7\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateVitalSignsOrganizer2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -68,7 +64,7 @@ public interface VitalSignsOrganizer2 extends VitalSignsOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateVitalSignsOrganizer2CDTranslationP(DiagnosticChain diagnostics, Map context); @@ -77,7 +73,7 @@ public interface VitalSignsOrganizer2 extends VitalSignsOrganizer { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation2)).oclAsType(consol::VitalSignObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation2)).oclAsType(consol::VitalSignObservation2)'" * @generated */ EList getConsolVitalSignObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection.java index 2682b6a9b7..df43f97f98 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -67,7 +63,7 @@ public interface VitalSignsSection extends VitalSignsSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::VitalSignsOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::VitalSignsOrganizer))'" * @generated */ boolean validateVitalSignsSectionVitalSignsOrganizer(DiagnosticChain diagnostics, Map context); @@ -76,7 +72,7 @@ public interface VitalSignsSection extends VitalSignsSectionEntriesOptional { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::VitalSignsOrganizer)).oclAsType(consol::VitalSignsOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::VitalSignsOrganizer)).oclAsType(consol::VitalSignsOrganizer)'" * @generated */ EList getConsolVitalSignsOrganizers(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection2.java index 7fafdbb994..55b10a90e1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional.java index e3d1e3433c..94c734f7e9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface VitalSignsSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.4\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.4\')'" * @generated */ boolean validateVitalSignsSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -94,7 +89,7 @@ boolean validateVitalSignsSectionEntriesOptionalTemplateId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::VitalSignsOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::VitalSignsOrganizer))'" * @generated */ boolean validateVitalSignsSectionEntriesOptionalVitalSignsOrganizer(DiagnosticChain diagnostics, @@ -104,7 +99,7 @@ boolean validateVitalSignsSectionEntriesOptionalVitalSignsOrganizer(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::VitalSignsOrganizer)).oclAsType(consol::VitalSignsOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::VitalSignsOrganizer)).oclAsType(consol::VitalSignsOrganizer)'" * @generated */ EList getVitalSignsOrganizers(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional2.java index 0f70166f8d..e09beb82f6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface VitalSignsSectionEntriesOptional2 extends VitalSignsSectionEntr * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::VitalSignsOrganizer2)).oclAsType(consol::VitalSignsOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::VitalSignsOrganizer2)).oclAsType(consol::VitalSignsOrganizer2)'" * @generated */ EList getConsolVitalSignsOrganizer2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundCharacteristic.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundCharacteristic.java index 5566ffb98b..b4d2b355e7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundCharacteristic.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundCharacteristic.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface WoundCharacteristic extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.134\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.134\')'" * @generated */ boolean validateWoundCharacteristicTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface WoundCharacteristic extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateWoundCharacteristicId(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface WoundCharacteristic extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateWoundCharacteristicValue(DiagnosticChain diagnostics, Map context); @@ -152,7 +147,7 @@ public interface WoundCharacteristic extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateWoundCharacteristicValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundMeasurementObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundMeasurementObservation.java index a9627d020e..c736cf5348 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundMeasurementObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundMeasurementObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface WoundMeasurementObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.133\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.133\')'" * @generated */ boolean validateWoundMeasurementObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface WoundMeasurementObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateWoundMeasurementObservationId(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface WoundMeasurementObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" * @generated */ boolean validateWoundMeasurementObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionDiagnosisSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionDiagnosisSection2Impl.java index 65af7460da..d31a798497 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionDiagnosisSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionDiagnosisSection2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedication2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedication2Impl.java index c8895ca821..d1ab57d2d4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedication2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedication2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationImpl.java index f23c56c78a..a5626e90c7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationsSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationsSectionEntriesOptional2Impl.java index 2e4b552615..333bef224f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationsSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationsSectionEntriesOptional2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservation2Impl.java index d5158a3599..5759b67c9c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservationImpl.java index 711a4b2d5b..3de5fcb045 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveOrganizerImpl.java index 68c2414fa8..31a202a44c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveOrganizerImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSection2Impl.java index 724f095593..adb2227eaa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptional2Impl.java index 0cb6135bde..8aaa5493b4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptionalImpl.java index 175c49fbc2..677881f914 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionImpl.java index ed2db7b249..a9841b770b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AgeObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AgeObservationImpl.java index 9fbf15a292..a6dcf7e9eb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AgeObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AgeObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSection2Impl.java index fd696d633d..b5aa5519a2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptional2Impl.java index 86721f69cd..d73afc2679 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptionalImpl.java index 9d3f6ba3dd..9113b3d32a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionImpl.java index 7db3b8632d..24b538b4bd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyConcernAct2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyConcernAct2Impl.java index fea69733a6..0df28f4436 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyConcernAct2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyConcernAct2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservation2Impl.java index a39153ad03..90a02669e6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservationImpl.java index 3d455f6d1f..29864fb14a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyProblemActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyProblemActImpl.java index d0af9fdd16..dbdb8643ff 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyProblemActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyProblemActImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservation2Impl.java index 83f323b4cb..a7e12bb1ec 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservation2Impl.java @@ -2,20 +2,14 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.openhealthtools.mdht.uml.cda.consol.AllergyStatusObservation2; import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; - import org.openhealthtools.mdht.uml.cda.consol.operations.AllergyStatusObservation2Operations; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservationImpl.java index 4f2194e7af..016eb92fc5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSection2Impl.java index 37737e2467..37ea746a06 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSectionImpl.java index b6f3d5a0f6..78c4cbf32a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSection2Impl.java index d1f6b6578e..e2ca20ea1a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSectionImpl.java index 2ce7eeea77..de13353165 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleObservationImpl.java index 8b19129341..4554e90278 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleSupportingObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleSupportingObservationImpl.java index ce4e801db5..69dc81a0e8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleSupportingObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleSupportingObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentSectionImpl.java index 16b5a9e029..f06864a5b1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorParticipationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorParticipationImpl.java index f3d7bbb2af..71752cc2eb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorParticipationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorParticipationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorizationActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorizationActivityImpl.java index 79073cfc90..c81c09ab2d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorizationActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorizationActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BirthSexObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BirthSexObservationImpl.java index 01b4a05540..f3e31dc969 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BirthSexObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BirthSexObservationImpl.java @@ -2,22 +2,15 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.ObservationImpl; - import org.openhealthtools.mdht.uml.cda.consol.BirthSexObservation; import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; - import org.openhealthtools.mdht.uml.cda.consol.operations.BirthSexObservationOperations; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BoundaryObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BoundaryObservationImpl.java index 9e7abeff56..997625d189 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BoundaryObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BoundaryObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CarePlanImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CarePlanImpl.java index 24a8d29803..131bb81f3e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CarePlanImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CarePlanImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CaregiverCharacteristicsImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CaregiverCharacteristicsImpl.java index 52f1d89f0f..4f79c48aed 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CaregiverCharacteristicsImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CaregiverCharacteristicsImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CharacteristicsOfHomeEnvironmentImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CharacteristicsOfHomeEnvironmentImpl.java index f18459fc78..0c20d03d5b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CharacteristicsOfHomeEnvironmentImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CharacteristicsOfHomeEnvironmentImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintAndReasonForVisitSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintAndReasonForVisitSectionImpl.java index 19cf3233cc..b7df53f484 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintAndReasonForVisitSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintAndReasonForVisitSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintSectionImpl.java index 1cbc074b08..b55cd07757 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CodeObservationsImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CodeObservationsImpl.java index e53a30614b..31c4725480 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CodeObservationsImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CodeObservationsImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveAbilitiesObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveAbilitiesObservationImpl.java index d16cfb2072..302377a9aa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveAbilitiesObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveAbilitiesObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusProblemObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusProblemObservationImpl.java index ad950c59ab..eef0862d92 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusProblemObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusProblemObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultObservationImpl.java index 1b7fe1cfb8..5b184795c5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultOrganizerImpl.java index 837183d974..a4b26463d7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultOrganizerImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CommentActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CommentActivityImpl.java index 61a807f38f..b22e9b8e76 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CommentActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CommentActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSection2Impl.java index dea8798fb5..9ead5beb94 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSectionImpl.java index 09f9bbf73c..c87223d5d7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsolPackageImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsolPackageImpl.java index a7546c865d..90e3add259 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsolPackageImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsolPackageImpl.java @@ -19,12 +19,17 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EValidator; +import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EPackageImpl; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl; import org.eclipse.mdht.emf.runtime.util.Initializer; import org.eclipse.mdht.uml.cda.CDAPackage; import org.eclipse.mdht.uml.cda.util.AnnotationBasedInitializer; +import org.eclipse.mdht.uml.hl7.datatypes.DatatypesPackage; +import org.eclipse.mdht.uml.hl7.rim.RIMPackage; +import org.eclipse.mdht.uml.hl7.vocab.VocabPackage; +import org.eclipse.uml2.types.TypesPackage; import org.openhealthtools.mdht.uml.cda.consol.ConsolFactory; import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; import org.openhealthtools.mdht.uml.cda.consol.util.ConsolValidator; @@ -2355,6 +2360,11 @@ public static ConsolPackage init() { // Initialize simple dependencies CDAPackage.eINSTANCE.eClass(); + DatatypesPackage.eINSTANCE.eClass(); + EcorePackage.eINSTANCE.eClass(); + RIMPackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); + VocabPackage.eINSTANCE.eClass(); // Load packages theConsolPackage.loadPackage(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNote2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNote2Impl.java index 2c47907596..8339d39931 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNote2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNote2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNoteImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNoteImpl.java index efbb5f66fd..a0021eaf5e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNoteImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNoteImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocument2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocument2Impl.java index 6b5f232ffc..bd138bc7a8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocument2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocument2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocumentImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocumentImpl.java index e3a541eb20..5f113dec65 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocumentImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocumentImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CourseOfCareSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CourseOfCareSectionImpl.java index 9ae85f6545..d8c43dedd3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CourseOfCareSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CourseOfCareSectionImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivity2Impl.java index bac432b959..7cb5b65b94 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivityImpl.java index 1eee6a0fd8..0229f9e1b5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CriticalityObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CriticalityObservationImpl.java index e25b5bd401..3e1462c2b2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CriticalityObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CriticalityObservationImpl.java @@ -2,22 +2,15 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.ObservationImpl; - import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; import org.openhealthtools.mdht.uml.cda.consol.CriticalityObservation; - import org.openhealthtools.mdht.uml.cda.consol.operations.CriticalityObservationOperations; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CulturalAndReligiousObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CulturalAndReligiousObservationImpl.java index 885ae90457..b9a0620eb8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CulturalAndReligiousObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CulturalAndReligiousObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DICOMObjectCatalogSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DICOMObjectCatalogSectionImpl.java index 9c8cdbe1ea..841d5b0229 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DICOMObjectCatalogSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DICOMObjectCatalogSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservation2Impl.java index 87d11d494a..426c54d279 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservationImpl.java index 330eab2478..b035f16c88 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReport2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReport2Impl.java index feb9a2517f..22eaeb9bab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReport2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReport2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReportImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReportImpl.java index e13f9514aa..b47230ad90 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReportImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReportImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDiagnosisSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDiagnosisSection2Impl.java index 27f2b9a835..0d4688ee51 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDiagnosisSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDiagnosisSection2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDietSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDietSectionImpl.java index 2a99c391ac..7e18f763e6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDietSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDietSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedication2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedication2Impl.java index ea42d22501..575f118dab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedication2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedication2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationImpl.java index cca83d2d4e..a70cdcf989 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSection2Impl.java index 9d6dfca01f..c773efee3e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSection2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSectionEntriesOptional2Impl.java index 0e0f7859d7..dc7c538b37 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSectionEntriesOptional2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummary2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummary2Impl.java index 972da16787..f467887171 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummary2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummary2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummaryImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummaryImpl.java index 0955e186d7..b95357fa9b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummaryImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummaryImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugMonitoringActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugMonitoringActImpl.java index fb12c3fffb..cf89fc2884 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugMonitoringActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugMonitoringActImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugVehicleImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugVehicleImpl.java index 44bbe5a81d..e84e5909f3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugVehicleImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugVehicleImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivitiesImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivitiesImpl.java index 3c73316e19..0403112f96 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivitiesImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivitiesImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivity2Impl.java index 018a0ba9e7..9096b3dd1e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosis2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosis2Impl.java index a362e7b675..2c9c15c12b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosis2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosis2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosisImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosisImpl.java index 7c41781d49..fc6cea025b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosisImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosisImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSection2Impl.java index ebcb6ef1b1..971ffa21d1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptional2Impl.java index b9f25da0c7..e74d95a259 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptionalImpl.java index 8b7577016e..4f98bf6c4a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionImpl.java index 20b1762b30..e114f5c8d9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EntryReferenceImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EntryReferenceImpl.java index 4a9b623787..ceffc770f2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EntryReferenceImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EntryReferenceImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EstimatedDateOfDeliveryImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EstimatedDateOfDeliveryImpl.java index 5f25518bef..964a733da0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EstimatedDateOfDeliveryImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EstimatedDateOfDeliveryImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ExternalDocumentReferenceImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ExternalDocumentReferenceImpl.java index b0547fb8d1..7c2508db9a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ExternalDocumentReferenceImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ExternalDocumentReferenceImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryDeathObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryDeathObservationImpl.java index 9be25c6310..130ef67aa5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryDeathObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryDeathObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservation2Impl.java index a04002ccf0..df5c5153a2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservation2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservationImpl.java index e8d84aa7ae..46088291b9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizer2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizer2Impl.java index bfbf2844bd..385ef80d99 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizer2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizer2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizerImpl.java index 0534e9d271..8270e2badb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizerImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySection2Impl.java index 94b8a2ab02..c78edb5454 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySection2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySectionImpl.java index b635d9085d..fd3a59af2d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FetusSubjectContextImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FetusSubjectContextImpl.java index 645c9ccfaf..238ef3e746 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FetusSubjectContextImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FetusSubjectContextImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FindingsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FindingsSectionImpl.java index 5c1b7d680a..5e931cfa5e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FindingsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FindingsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusObservation2Impl.java index cb7d293b7f..1766203dd7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusOrganizer2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusOrganizer2Impl.java index 834026d4f6..2747193572 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusOrganizer2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusOrganizer2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusProblemObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusProblemObservationImpl.java index 48adc07448..705a980d2f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusProblemObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusProblemObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultObservationImpl.java index e5c5d0f16f..da51a6436d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultOrganizerImpl.java index 4287eb1d85..1ff60061d1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultOrganizerImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSection2Impl.java index 7c5fb9a964..517956138b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSectionImpl.java index 5cc6dff4f6..59e060431e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralHeaderConstraintsImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralHeaderConstraintsImpl.java index e37f4464a1..b701e66416 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralHeaderConstraintsImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralHeaderConstraintsImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralStatusSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralStatusSectionImpl.java index 2d7f3c8fd7..777ca0a090 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralStatusSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralStatusSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalObservationImpl.java index 0849e0a357..b7876e2a86 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalsSectionImpl.java index f049137bd3..cd802dabcf 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalsSectionImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HandoffCommunicationParticipantsImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HandoffCommunicationParticipantsImpl.java index 34d1996903..a8bf7547f5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HandoffCommunicationParticipantsImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HandoffCommunicationParticipantsImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernActImpl.java index 2a614b4858..294de24914 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernActImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernsSectionImpl.java index 6cff1baba3..918108e6f7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernsSectionImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusEvaluationsAndOutcomesSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusEvaluationsAndOutcomesSectionImpl.java index b0c25b9c01..58c949142b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusEvaluationsAndOutcomesSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusEvaluationsAndOutcomesSectionImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservation2Impl.java index 727fd879d1..8a55be1219 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservationImpl.java index 66f68a17d0..62715b042b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HighestPressureUlcerStageImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HighestPressureUlcerStageImpl.java index f3c445f9d0..88fae1b04e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HighestPressureUlcerStageImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HighestPressureUlcerStageImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNote2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNote2Impl.java index 95fdafe0f7..f3b70dadee 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNote2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNote2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNoteImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNoteImpl.java index d8660f1ee6..e77e416c06 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNoteImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNoteImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSection2Impl.java index be348e4ded..84d4b30075 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSectionImpl.java index b6d0cff074..87c130da5b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPresentIllnessSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPresentIllnessSectionImpl.java index c22b943615..16c55d2511 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPresentIllnessSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPresentIllnessSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosis2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosis2Impl.java index 9220d3de8a..9748ae257e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosis2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosis2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisImpl.java index fcf61ede1f..3a8c21f772 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisSectionImpl.java index d071ea1530..e813d6cf44 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionMedicationsSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionMedicationsSectionEntriesOptionalImpl.java index 3e30c8226b..480830dc75 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionMedicationsSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionMedicationsSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalConsultationsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalConsultationsSectionImpl.java index 641d8632cd..2fc1e111e7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalConsultationsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalConsultationsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalCourseSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalCourseSectionImpl.java index ab965a54d5..482c4961d8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalCourseSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalCourseSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosis2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosis2Impl.java index 1ce47ce30b..5e2d134719 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosis2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosis2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisImpl.java index e752afc6c6..31dbfa568e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisSectionImpl.java index 78c4027308..fce6d0ad51 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeInstructionsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeInstructionsSectionImpl.java index 30bce82e2c..bd87ee8b2c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeInstructionsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeInstructionsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionEntriesOptionalImpl.java index 742912b80a..99c6a393a7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionImpl.java index 3690845c95..ca51f618dc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargePhysicalSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargePhysicalSectionImpl.java index a9f5c9952b..c42e90edbe 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargePhysicalSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargePhysicalSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeStudiesSummarySectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeStudiesSummarySectionImpl.java index 81d8307444..92218a84d5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeStudiesSummarySectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeStudiesSummarySectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivity2Impl.java index c7c26f0257..4a7f640065 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivityImpl.java index 42c263c536..d4847b1d82 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformation2Impl.java index 8c97ba6951..0efcb70e3b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformationImpl.java index 0b66e668a3..4eb06bbe2b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationRefusalReasonImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationRefusalReasonImpl.java index 315c856e78..4e0c7fc3be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationRefusalReasonImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationRefusalReasonImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSection2Impl.java index 0e01d0b30c..0d0012263d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptional2Impl.java index cf488278e9..1d46221c4a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptionalImpl.java index e1893fe467..448d2f1855 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionImpl.java index 1a36c73a3e..d898f463be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Indication2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Indication2Impl.java index 988b2ad0ec..05b83d8566 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Indication2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Indication2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/IndicationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/IndicationImpl.java index 22aa42ace0..c8ef83459b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/IndicationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/IndicationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Instruction2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Instruction2Impl.java index bc70b1317b..c57392ce4f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Instruction2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Instruction2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsImpl.java index 472511934e..2852e61206 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSection2Impl.java index aa8e09be6b..ea4796a394 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSectionImpl.java index 4b89bf06d6..e560dfc229 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionActImpl.java index 51e3bfcaf9..a4e4eda3de 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionActImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSection2Impl.java index 02a2bbdf3c..b29f22dc37 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSectionImpl.java index c4f62d3ade..009088fe2c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/LongitudinalCareWoundObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/LongitudinalCareWoundObservationImpl.java index b0df982241..504a3292a4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/LongitudinalCareWoundObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/LongitudinalCareWoundObservationImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentOrganizerImpl.java index b1c66ae108..4f110ac2b6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentOrganizerImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSection2Impl.java index f31d4bd1d9..57f8d46a50 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSectionImpl.java index e0eb2f3f45..e9cad518f9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalHistorySectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalHistorySectionImpl.java index 4b413354bb..9e31498da2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalHistorySectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalHistorySectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivity2Impl.java index 142e93cebf..9a8fa2ce53 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivityImpl.java index 8858742866..7d683dfe1a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispense2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispense2Impl.java index 38078db906..6e9f39fd8d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispense2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispense2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispenseImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispenseImpl.java index 53c5865b2f..a59e518bf8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispenseImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispenseImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationFreeTextSigImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationFreeTextSigImpl.java index 743186b294..cdfbfc6699 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationFreeTextSigImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationFreeTextSigImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformation2Impl.java index 7dd208f769..3ea40411cd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformationImpl.java index 043074233a..4bbeb3ac9c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrder2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrder2Impl.java index d00731efd2..687907a522 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrder2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrder2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrderImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrderImpl.java index 2b54bc5e68..59878521ae 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrderImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrderImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationUseNoneKnownImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationUseNoneKnownImpl.java index 5c4e767218..405793793d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationUseNoneKnownImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationUseNoneKnownImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSection2Impl.java index 1a2309170c..a9e466eaa8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSectionImpl.java index a2008e1986..80f68fc7fa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSection2Impl.java index 813925db11..a033326de3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptional2Impl.java index b0029d45af..87634475b4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptionalImpl.java index b7dffe617f..79bf4cc95d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionImpl.java index 1b14f9ac94..9a52ad5dab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservation2Impl.java index 900a446813..824774edb0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservation2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservationImpl.java index 196b0cfa57..16d7765391 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusOrganizer2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusOrganizer2Impl.java index cf2a0969ac..03c08ba7be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusOrganizer2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusOrganizer2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusSectionImpl.java index 0795df79a2..cfc50ed4d4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusSectionImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivity2Impl.java index 523b270b37..7ea4ec955d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivityImpl.java index 9e4850f5c9..47d6b6c386 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservation2Impl.java index 2a63a3979c..207d23a170 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservation2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservationImpl.java index b87062c6af..a160b27bb2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionAssessmentImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionAssessmentImpl.java index 7c0eee7227..40e3d20aa6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionAssessmentImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionAssessmentImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionRecommendationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionRecommendationImpl.java index 71e2c86544..044195b44a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionRecommendationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionRecommendationImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionSectionImpl.java index 1b58e61409..2c2de07834 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionSectionImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionalStatusObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionalStatusObservationImpl.java index ce9590c357..bd61f43645 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionalStatusObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionalStatusObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObjectiveSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObjectiveSectionImpl.java index e3c4ff9950..b65d378a54 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObjectiveSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObjectiveSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObserverContextImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObserverContextImpl.java index 77ff1e5c27..f23b138a31 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObserverContextImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObserverContextImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNote2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNote2Impl.java index a072b03542..7b680ed221 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNote2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNote2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteFluidSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteFluidSectionImpl.java index b46f6e5ae0..b56818f0ec 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteFluidSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteFluidSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteImpl.java index 3ce5061895..877eed71b9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteSurgicalProcedureSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteSurgicalProcedureSectionImpl.java index 30718c6d77..76f19e1879 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteSurgicalProcedureSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteSurgicalProcedureSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OutcomeObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OutcomeObservationImpl.java index ad4885422e..f3cf2417b4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OutcomeObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OutcomeObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PatientReferralActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PatientReferralActImpl.java index 0181dd1610..e9e91ce342 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PatientReferralActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PatientReferralActImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSection2Impl.java index 9010505bff..1e994438ae 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSectionImpl.java index 12296926ff..fd0683a9bc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSection2Impl.java index 648ebb11df..0eb77bda2a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSectionImpl.java index b22041ba3a..f2bba64f70 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalFindingsOfSkinSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalFindingsOfSkinSectionImpl.java index aaa23cbef5..f012eacc73 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalFindingsOfSkinSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalFindingsOfSkinSectionImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformer2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformer2Impl.java index 2334aa3526..4edb861d18 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformer2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformer2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformerImpl.java index 08d5ffe020..aad07245a9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformerImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipant2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipant2Impl.java index a532f125c9..66c417d11e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipant2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipant2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipantImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipantImpl.java index 12ae8c5b4c..38dd95d3ab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipantImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipantImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityActImpl.java index 0d57ade78e..bdb8023f91 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityActImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityEncounterImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityEncounterImpl.java index 708050bacb..924b8c271f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityEncounterImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityEncounterImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityObservationImpl.java index 17f42d2563..b019accb24 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityProcedureImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityProcedureImpl.java index 2a0f3e9b79..94ad03e659 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityProcedureImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityProcedureImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySubstanceAdministrationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySubstanceAdministrationImpl.java index efc5b925b2..b05f779fd9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySubstanceAdministrationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySubstanceAdministrationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySupplyImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySupplyImpl.java index 36db91ef44..1c0e1c5037 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySupplyImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySupplyImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareSectionImpl.java index 44df4b44a2..4b20b087ac 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfTreatmentSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfTreatmentSection2Impl.java index a4181a882e..b99686d71b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfTreatmentSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfTreatmentSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedAct2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedAct2Impl.java index b39c0e0f8a..c107ad317b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedAct2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedAct2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedCoverageImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedCoverageImpl.java index 2b14c3dbad..60dccfdf85 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedCoverageImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedCoverageImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedEncounter2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedEncounter2Impl.java index 91a367de6f..d9b544fa14 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedEncounter2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedEncounter2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedImmunizationActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedImmunizationActivityImpl.java index 6debea1c34..0375c49f41 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedImmunizationActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedImmunizationActivityImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedInterventionActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedInterventionActImpl.java index dbfc0de156..265d072726 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedInterventionActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedInterventionActImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedMedicationActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedMedicationActivity2Impl.java index f41012bfdc..39a02f5d87 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedMedicationActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedMedicationActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedObservation2Impl.java index 7a2958b6e4..9d029c6d20 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedure2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedure2Impl.java index 7c534a6d06..a3a658b9e0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedure2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedure2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSection2Impl.java index 700a73c06f..95ba8fe297 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSectionImpl.java index b137326f97..aa544e657b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedSupply2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedSupply2Impl.java index f91f2f2fb2..847fda3a06 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedSupply2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedSupply2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivity2Impl.java index 2711e9b80d..421288beb6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivityImpl.java index e2405e1d08..1050484824 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostoperativeDiagnosisSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostoperativeDiagnosisSectionImpl.java index b74530da01..30febeb418 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostoperativeDiagnosisSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostoperativeDiagnosisSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosis2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosis2Impl.java index 24cfe861db..294e293f2f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosis2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosis2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisImpl.java index d73f1bf933..840c5f007d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSection2Impl.java index 32e398e4ce..49bd07608b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSectionImpl.java index 1080163a1b..97822cde11 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministration2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministration2Impl.java index aba51fd757..e7c0747d76 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministration2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministration2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministrationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministrationImpl.java index 749b2f2eb1..851853a307 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministrationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministrationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PregnancyObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PregnancyObservationImpl.java index c5fc321dd2..9f550c7415 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PregnancyObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PregnancyObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosis2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosis2Impl.java index cef697d202..b8ba6455d4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosis2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosis2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisImpl.java index 4699e177b4..d0fe589297 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSection2Impl.java index 809a231034..73ab6f48ab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSectionImpl.java index 1527def971..38d646b5b1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PressureUlcerObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PressureUlcerObservationImpl.java index 346d82d4a5..017f67964a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PressureUlcerObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PressureUlcerObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PriorityPreferenceImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PriorityPreferenceImpl.java index 0a78b4abb9..11abec9a5f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PriorityPreferenceImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PriorityPreferenceImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernAct2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernAct2Impl.java index a822d5ffe2..3f1335246e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernAct2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernAct2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernActImpl.java index 6a168fa41f..aa4d972e07 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernActImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservation2Impl.java index 44d34bee04..3f1a15dc82 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservationImpl.java index d81256d301..f9f3b911cb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSection2Impl.java index 82f8f69305..a2fc08bd33 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptional2Impl.java index 5845c78a92..9b6b91a310 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptionalImpl.java index 100e5d7a7d..2bf918204e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionImpl.java index c71dc634a8..b6d4e32333 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatus2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatus2Impl.java index 7059e69641..e14838973e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatus2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatus2Impl.java @@ -2,20 +2,14 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; import org.openhealthtools.mdht.uml.cda.consol.ProblemStatus2; - import org.openhealthtools.mdht.uml.cda.consol.operations.ProblemStatus2Operations; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatusImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatusImpl.java index f51bf0eaa4..e2d4122bcf 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatusImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatusImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityAct2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityAct2Impl.java index 15db54694a..32a7d12c96 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityAct2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityAct2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityActImpl.java index 78bb5903d1..77b1e7bb2d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityActImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservation2Impl.java index f5c99ee4e7..e7c91d072a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservationImpl.java index dc9eb55bc2..930fba4c4e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedure2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedure2Impl.java index b062ace6ae..aaf833c971 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedure2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedure2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedureImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedureImpl.java index 47f968276a..31c3f39824 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedureImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedureImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureContextImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureContextImpl.java index a380af7e1c..c09527668a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureContextImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureContextImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDescriptionSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDescriptionSectionImpl.java index 567f66ec78..21a3ee71b1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDescriptionSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDescriptionSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDispositionSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDispositionSectionImpl.java index a2b11ad8c8..6222260777 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDispositionSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDispositionSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureEstimatedBloodLossSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureEstimatedBloodLossSectionImpl.java index 6a76443f2b..8f759166ef 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureEstimatedBloodLossSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureEstimatedBloodLossSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSection2Impl.java index 4a0d2b5e81..8faf3badc1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSectionImpl.java index 8ed19b8b7a..74ea55feb1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureImplantsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureImplantsSectionImpl.java index 11e54329e2..d45b5bcdfe 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureImplantsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureImplantsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSection2Impl.java index 8136fec653..786cacce26 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSectionImpl.java index 39b49db70e..96eb1b2f86 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNote2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNote2Impl.java index af817aa298..0610bb71d7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNote2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNote2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNoteImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNoteImpl.java index 69624b6a39..351cd049be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNoteImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNoteImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureSpecimensTakenSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureSpecimensTakenSectionImpl.java index d050276b9c..de8339dcfd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureSpecimensTakenSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureSpecimensTakenSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSection2Impl.java index 5bd3563ae7..d8304b9911 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptional2Impl.java index a711213099..bf34c77224 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptionalImpl.java index b8e0008049..9500de9965 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionImpl.java index 9ebdb35e8f..a40ef28b91 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProductInstanceImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProductInstanceImpl.java index e6e1ce7e52..1861edf8c5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProductInstanceImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProductInstanceImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PrognosisObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PrognosisObservationImpl.java index ec864bf42a..c5adec98c4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PrognosisObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PrognosisObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNote2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNote2Impl.java index 9017698476..55fedb10ea 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNote2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNote2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNoteImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNoteImpl.java index 56d2a6bb7d..55554c7ffc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNoteImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNoteImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressTowardGoalObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressTowardGoalObservationImpl.java index a3fc41b8b5..36a1fcef0a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressTowardGoalObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressTowardGoalObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PurposeofReferenceObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PurposeofReferenceObservationImpl.java index 824f83cc46..c07471f095 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PurposeofReferenceObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PurposeofReferenceObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/QuantityMeasurementObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/QuantityMeasurementObservationImpl.java index a474b835cf..be2cd300f0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/QuantityMeasurementObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/QuantityMeasurementObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservation2Impl.java index 11666d01fa..0feee6c193 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservationImpl.java index 0b2c56e9b3..f82efa1e9e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSection2Impl.java index ec0e035cdf..f1958d08ed 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSectionImpl.java index db2bbf299e..0495fda462 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForVisitSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForVisitSectionImpl.java index ee6649500a..9604a2aa61 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForVisitSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForVisitSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferencedFramesObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferencedFramesObservationImpl.java index 9486ac8602..e38593f612 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferencedFramesObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferencedFramesObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferralNoteImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferralNoteImpl.java index 550741f0f3..0a0714704b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferralNoteImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferralNoteImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservation2Impl.java index ebd7676f8f..7819712baf 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservationImpl.java index 57de4f4af1..4a0728d6b0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizer2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizer2Impl.java index acb2b6e41c..6ee06d3c0f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizer2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizer2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizerImpl.java index 87b7df4a0e..f81335ecc0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizerImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSection2Impl.java index f24310b5ba..31b13e8813 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptional2Impl.java index 027880b8f7..64dfb64a90 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptionalImpl.java index eac4d5a5d6..242ff40e15 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionImpl.java index 58a7e2128d..7b5ca4c89a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReviewOfSystemsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReviewOfSystemsSectionImpl.java index 9b76d6d7bb..34e40f3843 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReviewOfSystemsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReviewOfSystemsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/RiskConcernActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/RiskConcernActImpl.java index 935f1a9f90..fb6d0849b5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/RiskConcernActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/RiskConcernActImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SOPInstanceObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SOPInstanceObservationImpl.java index f9e4d8df4d..5e6da472f3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SOPInstanceObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SOPInstanceObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SelfCareActivitiesImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SelfCareActivitiesImpl.java index 39dc518bc4..2e5cd24747 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SelfCareActivitiesImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SelfCareActivitiesImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SensoryStatusImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SensoryStatusImpl.java index d431cefb39..e7d93d6246 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SensoryStatusImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SensoryStatusImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeriesActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeriesActImpl.java index edb5c62da3..cf7792059b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeriesActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeriesActImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ServiceDeliveryLocationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ServiceDeliveryLocationImpl.java index 6cb8585bb2..1af869865a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ServiceDeliveryLocationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ServiceDeliveryLocationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservation2Impl.java index 9974893b88..0385e533a8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservationImpl.java index c7ad8fe8f5..f9d8b44800 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusMeaningfulUse2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusMeaningfulUse2Impl.java index 9ec318feeb..1672417586 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusMeaningfulUse2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusMeaningfulUse2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusObservationImpl.java index 6a59299f8e..c3e7504fc0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservation2Impl.java index e31c1f0647..ead4e56206 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservationImpl.java index d801fc7c68..9ea307c67a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySection2Impl.java index 6706d37380..0092013083 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySectionImpl.java index c27b82585b..1e1de2337c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/StudyActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/StudyActImpl.java index b079dc0776..dedbc321e6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/StudyActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/StudyActImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubjectiveSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubjectiveSectionImpl.java index 0277280bc9..f34bad50e4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubjectiveSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubjectiveSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceAdministeredActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceAdministeredActImpl.java index 909c1ae8ec..d3b0563dfb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceAdministeredActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceAdministeredActImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservation2Impl.java index 36b672bbf3..7194ffb6cf 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservationImpl.java index 03837e108f..614d0ac19b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SurgicalDrainsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SurgicalDrainsSectionImpl.java index dd2824dc5e..c70b76c469 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SurgicalDrainsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SurgicalDrainsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TextObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TextObservationImpl.java index 7434ba97a7..62d498cde9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TextObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TextObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUse2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUse2Impl.java index 0cc8f10b78..9c968fc344 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUse2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUse2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUseImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUseImpl.java index 8905724cdd..70c38137b4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUseImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUseImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TransferSummaryImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TransferSummaryImpl.java index 9f8a2f9a61..5b085e4669 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TransferSummaryImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TransferSummaryImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeader2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeader2Impl.java index 1574c2c417..e64e19087e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeader2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeader2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeaderPatientGeneratedDocumentImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeaderPatientGeneratedDocumentImpl.java index d667d03770..f1b1de29b0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeaderPatientGeneratedDocumentImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeaderPatientGeneratedDocumentImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocument2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocument2Impl.java index 297dd0b1fc..6d93234f31 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocument2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocument2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocumentImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocumentImpl.java index 0dcb9e97eb..c89ecf9395 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocumentImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocumentImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservation2Impl.java index f32d6dbb9d..20468077b5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservationImpl.java index f98b12d51e..83d370e986 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizer2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizer2Impl.java index 863596f045..2473fb57a0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizer2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizer2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizerImpl.java index f1f15a8a83..ec23cf7803 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizerImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSection2Impl.java index 42f0b0598d..561088d7fc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptional2Impl.java index 2bfb1ab1c5..5de65fe917 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptionalImpl.java index d40a76d6b9..ee0a40344c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionImpl.java index 584e776658..ebeee178c5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundCharacteristicImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundCharacteristicImpl.java index c33949c65f..92aafeb630 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundCharacteristicImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundCharacteristicImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundMeasurementObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundMeasurementObservationImpl.java index f32c73eb5d..ca9aaf8b4a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundMeasurementObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundMeasurementObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionDiagnosisSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionDiagnosisSection2Operations.java index b8b883dcdb..e1122dfc40 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionDiagnosisSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionDiagnosisSection2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -94,6 +95,8 @@ public static boolean validateAdmissionDiagnosisSection2TemplateId( AdmissionDiagnosisSection2 admissionDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionDiagnosisSection2AdmissionDiagnosisSection2TemplateId", "ERROR"); + if (VALIDATE_ADMISSION_DIAGNOSIS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,8 @@ public static boolean validateAdmissionDiagnosisSection2CETranslation( AdmissionDiagnosisSection2 admissionDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionDiagnosisSection2AdmissionDiagnosisSection2CETranslation", "ERROR"); + if (VALIDATE_ADMISSION_DIAGNOSIS_SECTION2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +240,8 @@ public static boolean validateAdmissionDiagnosisSection2CETranslationP( AdmissionDiagnosisSection2 admissionDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionDiagnosisSection2AdmissionDiagnosisSection2CETranslationP", "ERROR"); + if (VALIDATE_ADMISSION_DIAGNOSIS_SECTION2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +361,8 @@ public static boolean validateHospitalAdmissionDiagnosisSectionCodeP( AdmissionDiagnosisSection2 admissionDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionDiagnosisSection2HospitalAdmissionDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -445,6 +454,8 @@ public static boolean validateHospitalAdmissionDiagnosisSectionCode( return true; } + DatatypesUtil.increment(context, "AdmissionDiagnosisSection2HospitalAdmissionDiagnosisSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +523,10 @@ public static boolean validateHospitalAdmissionDiagnosisSectionHospitalAdmission AdmissionDiagnosisSection2 admissionDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdmissionDiagnosisSection2HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosis", + "WARNING"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_HOSPITAL_ADMISSION_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedication2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedication2Operations.java index c576a8af9b..0aa3efadd1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedication2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedication2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected AdmissionMedication2Operations() { public static boolean validateAdmissionMedication2TemplateId(AdmissionMedication2 admissionMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedication2AdmissionMedication2TemplateId", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -207,6 +210,8 @@ public static EList getConsolMedicationActivity2s(Admission public static boolean validateAdmissionMedicationCodeP(AdmissionMedication2 admissionMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedication2AdmissionMedicationCodeP", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +298,8 @@ public static boolean validateAdmissionMedicationCode(AdmissionMedication2 admis return true; } + DatatypesUtil.increment(context, "AdmissionMedication2AdmissionMedicationCode", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -356,6 +363,8 @@ public static boolean validateAdmissionMedicationCode(AdmissionMedication2 admis public static boolean validateAdmissionMedicationMedicationActivity(AdmissionMedication2 admissionMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedication2AdmissionMedicationMedicationActivity", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationOperations.java index 3dcb391952..5beff65a7e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected AdmissionMedicationOperations() { public static boolean validateAdmissionMedicationTemplateId(AdmissionMedication admissionMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedicationAdmissionMedicationTemplateId", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateAdmissionMedicationTemplateId(AdmissionMedication public static boolean validateAdmissionMedicationClassCode(AdmissionMedication admissionMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedicationAdmissionMedicationClassCode", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -209,6 +214,8 @@ public static boolean validateAdmissionMedicationClassCode(AdmissionMedication a public static boolean validateAdmissionMedicationCodeP(AdmissionMedication admissionMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedicationAdmissionMedicationCodeP", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -272,6 +279,8 @@ public static boolean validateAdmissionMedicationCode(AdmissionMedication admiss return true; } + DatatypesUtil.increment(context, "AdmissionMedicationAdmissionMedicationCode", "INFO"); + if (VALIDATE_ADMISSION_MEDICATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -379,6 +388,8 @@ public static boolean validateAdmissionMedicationCode(AdmissionMedication admiss public static boolean validateAdmissionMedicationMoodCode(AdmissionMedication admissionMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedicationAdmissionMedicationMoodCode", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -442,6 +453,8 @@ public static boolean validateAdmissionMedicationMoodCode(AdmissionMedication ad public static boolean validateAdmissionMedicationMedicationActivity(AdmissionMedication admissionMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedicationAdmissionMedicationMedicationActivity", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationsSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationsSectionEntriesOptional2Operations.java index a9f6205ebe..49951c4185 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationsSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationsSectionEntriesOptional2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -143,6 +144,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional AdmissionMedicationsSectionEntriesOptional2 admissionMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdmissionMedicationsSectionEntriesOptional2HospitalAdmissionMedicationsSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -210,6 +216,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional AdmissionMedicationsSectionEntriesOptional2 admissionMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdmissionMedicationsSectionEntriesOptional2HospitalAdmissionMedicationsSectionEntriesOptionalCodeP", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +315,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional return true; } + DatatypesUtil.increment( + context, + "AdmissionMedicationsSectionEntriesOptional2HospitalAdmissionMedicationsSectionEntriesOptionalCode", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -371,6 +387,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional AdmissionMedicationsSectionEntriesOptional2 admissionMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdmissionMedicationsSectionEntriesOptional2HospitalAdmissionMedicationsSectionEntriesOptionalAdmissionMedication", + "WARNING"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_ADMISSION_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservation2Operations.java index 7beda7dd59..b6354e0867 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservation2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -129,6 +130,8 @@ public static boolean validateAdvanceDirectiveObservation2TemplateId( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2TemplateId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -196,6 +199,8 @@ public static boolean validateAdvanceDirectiveObservation2Value( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2Value", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -263,6 +268,9 @@ public static boolean validateAdvanceDirectiveObservation2AuthorParticipation( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -332,6 +340,9 @@ public static boolean validateAdvanceDirectiveObservation2CDTranslation( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2CDTranslation", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -404,6 +415,9 @@ public static boolean validateAdvanceDirectiveObservation2CDTranslationP( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2CDTranslationP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -476,6 +490,8 @@ public static boolean validateAdvanceDirectiveObservation2IVLTSLow( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2IVLTSLow", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -548,6 +564,8 @@ public static boolean validateAdvanceDirectiveObservation2IVLTSHigh( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2IVLTSHigh", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -620,6 +638,10 @@ public static boolean validateAdvanceDirectiveObservation2VerifierParticipantRol AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2VerifierParticipantRolePlayingEntityName", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VERIFIER_PARTICIPANT_ROLE_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -692,6 +714,9 @@ public static boolean validateAdvanceDirectiveObservation2VerifierParticipantRol AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2VerifierParticipantRoleCodeP", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VERIFIER_PARTICIPANT_ROLE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -780,6 +805,9 @@ public static boolean validateAdvanceDirectiveObservation2VerifierParticipantRol AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2VerifierParticipantRoleCode", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VERIFIER_PARTICIPANT_ROLE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -862,6 +890,9 @@ public static boolean validateAdvanceDirectiveObservation2VerifierParticipantRol AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2VerifierParticipantRoleAddr", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VERIFIER_PARTICIPANT_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -934,6 +965,10 @@ public static boolean validateAdvanceDirectiveObservation2VerifierParticipantRol AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2VerifierParticipantRolePlayingEntity", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VERIFIER_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1006,6 +1041,9 @@ public static boolean validateAdvanceDirectiveObservation2VerifierTemplateId( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2VerifierTemplateId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VERIFIER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1078,6 +1116,11 @@ public static boolean validateAdvanceDirectiveObservation2CustodianCustodianRole AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservation2AdvanceDirectiveObservation2CustodianCustodianRoleCustodianEntityCodeP", + "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_CUSTODIAN_CUSTODIAN_ROLE_CUSTODIAN_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1166,6 +1209,11 @@ public static boolean validateAdvanceDirectiveObservation2CustodianCustodianRole AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservation2AdvanceDirectiveObservation2CustodianCustodianRoleCustodianEntityCode", + "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_CUSTODIAN_CUSTODIAN_ROLE_CUSTODIAN_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1248,6 +1296,9 @@ public static boolean validateAdvanceDirectiveObservation2CustodianCustodianRole AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2CustodianCustodianRoleCodeP", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_CUSTODIAN_CUSTODIAN_ROLE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1336,6 +1387,9 @@ public static boolean validateAdvanceDirectiveObservation2CustodianCustodianRole AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2CustodianCustodianRoleCode", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_CUSTODIAN_CUSTODIAN_ROLE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1418,6 +1472,11 @@ public static boolean validateAdvanceDirectiveObservation2ReferenceAdvanceDirect AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservation2AdvanceDirectiveObservation2ReferenceAdvanceDirectiveObservationReferenceExternalDocumentTextMediaType", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_REFERENCE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_TEXT_MEDIA_TYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1490,6 +1549,11 @@ public static boolean validateAdvanceDirectiveObservation2ReferenceAdvanceDirect AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservation2AdvanceDirectiveObservation2ReferenceAdvanceDirectiveObservationReferenceExternalDocumentTextReference", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_REFERENCE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1562,6 +1626,11 @@ public static boolean validateAdvanceDirectiveObservation2AdvanceDirectiveObserv AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservation2AdvanceDirectiveObservation2AdvanceDirectiveObservationReferenceExternalDocument", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1634,6 +1703,9 @@ public static boolean validateAdvanceDirectiveObservationHasStartingTime( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationHasStartingTime", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_HAS_STARTING_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1701,6 +1773,9 @@ public static boolean validateAdvanceDirectiveObservationHasEndingTime( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationHasEndingTime", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_HAS_ENDING_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1768,6 +1843,8 @@ public static boolean validateAdvanceDirectiveObservationCodeP( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1858,6 +1935,8 @@ public static boolean validateAdvanceDirectiveObservationCode( return true; } + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCode", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1924,6 +2003,9 @@ public static boolean validateAdvanceDirectiveObservationEffectiveTime( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationEffectiveTime", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1991,6 +2073,8 @@ public static boolean validateAdvanceDirectiveObservationVerifier( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationVerifier", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2058,6 +2142,8 @@ public static boolean validateAdvanceDirectiveObservationCustodian( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCustodian", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2125,6 +2211,8 @@ public static boolean validateAdvanceDirectiveObservationReference( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationReference", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2192,6 +2280,9 @@ public static boolean validateAdvanceDirectiveObservationVerifierTime( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationVerifierTime", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2264,6 +2355,9 @@ public static boolean validateAdvanceDirectiveObservationVerifierParticipantRole AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationVerifierParticipantRole", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2336,6 +2430,10 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleC AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCustodianCustodianRoleCustodianEntityName", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_CUSTODIAN_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2408,6 +2506,9 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleA AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCustodianCustodianRoleAddr", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2480,6 +2581,9 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleT AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCustodianCustodianRoleTelecom", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2552,6 +2656,10 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleP AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCustodianCustodianRolePlayingEntity", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2624,6 +2732,11 @@ public static boolean validateAdvanceDirectiveObservationCustodianAdvanceDirecti AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservation2AdvanceDirectiveObservationCustodianAdvanceDirectiveObservationCustodianRole", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2696,6 +2809,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationReferenceExternalDocumentId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2768,6 +2884,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationReferenceExternalDocumentText", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2842,6 +2961,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceTypeCode( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationReferenceTypeCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservationOperations.java index 76685efa69..deddc5ff77 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservationOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -124,6 +125,9 @@ public static boolean validateAdvanceDirectiveObservationHasStartingTime( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationHasStartingTime", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_HAS_STARTING_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -191,6 +195,9 @@ public static boolean validateAdvanceDirectiveObservationHasEndingTime( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationHasEndingTime", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_HAS_ENDING_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -258,6 +265,8 @@ public static boolean validateAdvanceDirectiveObservationTemplateId( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationTemplateId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -325,6 +334,8 @@ public static boolean validateAdvanceDirectiveObservationClassCode( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationClassCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -392,6 +403,8 @@ public static boolean validateAdvanceDirectiveObservationMoodCode( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationMoodCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -458,6 +471,8 @@ public static boolean validateAdvanceDirectiveObservationMoodCode( public static boolean validateAdvanceDirectiveObservationId(AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -523,6 +538,8 @@ public static boolean validateAdvanceDirectiveObservationCodeP( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -612,6 +629,8 @@ public static boolean validateAdvanceDirectiveObservationCode( return true; } + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCode", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -679,6 +698,8 @@ public static boolean validateAdvanceDirectiveObservationStatusCode( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationStatusCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -746,6 +767,9 @@ public static boolean validateAdvanceDirectiveObservationEffectiveTime( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationEffectiveTime", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -813,6 +837,8 @@ public static boolean validateAdvanceDirectiveObservationVerifier( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationVerifier", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -880,6 +906,8 @@ public static boolean validateAdvanceDirectiveObservationCustodian( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodian", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -947,6 +975,8 @@ public static boolean validateAdvanceDirectiveObservationReference( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReference", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1014,6 +1044,9 @@ public static boolean validateAdvanceDirectiveObservationVerifierTime( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationVerifierTime", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1086,6 +1119,9 @@ public static boolean validateAdvanceDirectiveObservationVerifierTypeCode( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationVerifierTypeCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1158,6 +1194,9 @@ public static boolean validateAdvanceDirectiveObservationVerifierParticipantRole AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationVerifierParticipantRole", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1230,6 +1269,10 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleC AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianCustodianRoleCustodianEntityName", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_CUSTODIAN_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1302,6 +1345,9 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleA AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianCustodianRoleAddr", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1374,6 +1420,9 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleC AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianCustodianRoleClassCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1446,6 +1495,9 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleT AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianCustodianRoleTelecom", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1518,6 +1570,10 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleP AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianCustodianRolePlayingEntity", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1590,6 +1646,9 @@ public static boolean validateAdvanceDirectiveObservationCustodianTypeCode( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianTypeCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1662,6 +1721,11 @@ public static boolean validateAdvanceDirectiveObservationCustodianAdvanceDirecti AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianAdvanceDirectiveObservationCustodianRole", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1734,6 +1798,10 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReferenceExternalDocumentTextMediaType", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_TEXT_MEDIA_TYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1806,6 +1874,10 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReferenceExternalDocumentTextReference", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1878,6 +1950,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReferenceExternalDocumentId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1950,6 +2025,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReferenceExternalDocumentText", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2024,6 +2102,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceTypeCode( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReferenceTypeCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2096,6 +2177,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReferenceExternalDocument", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveOrganizerOperations.java index 9eeab38527..f3c68c1fc6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveOrganizerOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.OrganizerOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,8 @@ public static boolean validateAdvanceDirectiveOrganizerTemplateId( AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerTemplateId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateAdvanceDirectiveOrganizerClassCode( AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerClassCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -234,6 +239,8 @@ public static boolean validateAdvanceDirectiveOrganizerClassCode( public static boolean validateAdvanceDirectiveOrganizerMoodCode(AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerMoodCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -299,6 +306,8 @@ public static boolean validateAdvanceDirectiveOrganizerMoodCode(AdvanceDirective public static boolean validateAdvanceDirectiveOrganizerId(AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +374,8 @@ public static boolean validateAdvanceDirectiveOrganizerId(AdvanceDirectiveOrgani public static boolean validateAdvanceDirectiveOrganizerCode(AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -429,6 +440,8 @@ public static boolean validateAdvanceDirectiveOrganizerCode(AdvanceDirectiveOrga public static boolean validateAdvanceDirectiveOrganizerCodeP(AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -495,6 +508,8 @@ public static boolean validateAdvanceDirectiveOrganizerStatusCodeP( AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +600,8 @@ public static boolean validateAdvanceDirectiveOrganizerStatusCode( return true; } + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerStatusCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -651,6 +668,9 @@ public static boolean validateAdvanceDirectiveOrganizerAdvanceDirectiveObservati AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerAdvanceDirectiveObservation2", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_ADVANCE_DIRECTIVE_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -718,6 +738,9 @@ public static boolean validateAdvanceDirectiveOrganizerAuthorParticipation( AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerAuthorParticipation", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSection2Operations.java index c93be34f0e..4c69da5c57 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSection2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -108,6 +109,11 @@ public static boolean validateAdvanceDirectivesSection2HasAdvanceDirectiveObserv AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectivesSection2AdvanceDirectivesSection2HasAdvanceDirectiveObservation2XorAdvanceDirectiveOrganizer", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_HAS_ADVANCE_DIRECTIVE_OBSERVATION2_XOR_ADVANCE_DIRECTIVE_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -153,6 +159,8 @@ public static boolean validateAdvanceDirectivesSection2HasAdvanceDirectiveObserv public static boolean validateAdvanceDirectivesSection2Text(AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSection2AdvanceDirectivesSection2Text", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +246,8 @@ public static boolean validateAdvanceDirectivesSection2Text(AdvanceDirectivesSec public static boolean validateAdvanceDirectivesSection2Title(AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSection2AdvanceDirectivesSection2Title", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +313,8 @@ public static boolean validateAdvanceDirectivesSection2NullFlavor( AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSection2AdvanceDirectivesSection2NullFlavor", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +380,8 @@ public static boolean validateAdvanceDirectivesSection2NullFlavor( public static boolean validateAdvanceDirectivesSection2Entry(AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSection2AdvanceDirectivesSection2Entry", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_ENTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -433,6 +447,9 @@ public static boolean validateAdvanceDirectivesSection2EntryAdvanceDirectiveOrga AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSection2EntryAdvanceDirectiveOrganizer", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_ENTRY_ADVANCE_DIRECTIVE_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -505,6 +522,9 @@ public static boolean validateAdvanceDirectivesSection2EntryAdvanceDirectiveObse AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSection2EntryAdvanceDirectiveObservation2", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_ENTRY_ADVANCE_DIRECTIVE_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -556,6 +576,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalCodeP( AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -625,6 +648,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +697,10 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptional2AdvanceDir AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSectionEntriesOptional2AdvanceDirectiveOrganizer", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL2_ADVANCE_DIRECTIVE_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -717,6 +747,10 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalAdvanceDire AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSectionEntriesOptionalAdvanceDirectiveObservation", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_ADVANCE_DIRECTIVE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -864,6 +898,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalTemplateId( AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptional2Operations.java index 14f4224f50..22d73c50f7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,11 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptional2AdvanceDir AdvanceDirectivesSectionEntriesOptional2 advanceDirectivesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectivesSectionEntriesOptional2AdvanceDirectivesSectionEntriesOptional2AdvanceDirectiveOrganizer", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL2_ADVANCE_DIRECTIVE_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -267,6 +273,10 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalTemplateId( AdvanceDirectivesSectionEntriesOptional2 advanceDirectivesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptional2AdvanceDirectivesSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -334,6 +344,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalCodeP( AdvanceDirectivesSectionEntriesOptional2 advanceDirectivesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptional2AdvanceDirectivesSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -427,6 +440,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptional2AdvanceDirectivesSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -494,6 +510,11 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalAdvanceDire AdvanceDirectivesSectionEntriesOptional2 advanceDirectivesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectivesSectionEntriesOptional2AdvanceDirectivesSectionEntriesOptionalAdvanceDirectiveObservation", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_ADVANCE_DIRECTIVE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptionalOperations.java index b8b6868e3e..a7c84e921c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,10 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalTemplateId( AdvanceDirectivesSectionEntriesOptional advanceDirectivesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptionalAdvanceDirectivesSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +177,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalCode( AdvanceDirectivesSectionEntriesOptional advanceDirectivesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptionalAdvanceDirectivesSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +247,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalCodeP( AdvanceDirectivesSectionEntriesOptional advanceDirectivesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptionalAdvanceDirectivesSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +317,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalTitle( AdvanceDirectivesSectionEntriesOptional advanceDirectivesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptionalAdvanceDirectivesSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +387,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalText( AdvanceDirectivesSectionEntriesOptional advanceDirectivesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptionalAdvanceDirectivesSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +457,11 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalAdvanceDire AdvanceDirectivesSectionEntriesOptional advanceDirectivesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectivesSectionEntriesOptionalAdvanceDirectivesSectionEntriesOptionalAdvanceDirectiveObservation", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_ADVANCE_DIRECTIVE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionOperations.java index 69cbc8141e..bc103b8c4a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected AdvanceDirectivesSectionOperations() { public static boolean validateAdvanceDirectivesSectionCodeP(AdvanceDirectivesSection advanceDirectivesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSectionAdvanceDirectivesSectionCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -188,6 +191,8 @@ public static boolean validateAdvanceDirectivesSectionCode(AdvanceDirectivesSect return true; } + DatatypesUtil.increment(context, "AdvanceDirectivesSectionAdvanceDirectivesSectionCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -252,6 +257,8 @@ public static boolean validateAdvanceDirectivesSectionCode(AdvanceDirectivesSect public static boolean validateAdvanceDirectivesSectionTitle(AdvanceDirectivesSection advanceDirectivesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSectionAdvanceDirectivesSectionTitle", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -316,6 +323,8 @@ public static boolean validateAdvanceDirectivesSectionTitle(AdvanceDirectivesSec public static boolean validateAdvanceDirectivesSectionText(AdvanceDirectivesSection advanceDirectivesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSectionAdvanceDirectivesSectionText", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -381,6 +390,9 @@ public static boolean validateAdvanceDirectivesSectionAdvanceDirectiveObservatio AdvanceDirectivesSection advanceDirectivesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionAdvanceDirectivesSectionAdvanceDirectiveObservation", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ADVANCE_DIRECTIVE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -498,6 +510,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalTemplateId( AdvanceDirectivesSection advanceDirectivesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionAdvanceDirectivesSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AgeObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AgeObservationOperations.java index 9bf4a201ec..1e2a015680 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AgeObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AgeObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -99,6 +100,8 @@ protected AgeObservationOperations() { public static boolean validateAgeObservationValueUnits(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationValueUnits", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_VALUE_UNITS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateAgeObservationValueUnits(AgeObservation ageObserva public static boolean validateAgeObservationTemplateId(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationTemplateId", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateAgeObservationTemplateId(AgeObservation ageObserva public static boolean validateAgeObservationClassCode(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationClassCode", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateAgeObservationClassCode(AgeObservation ageObservat public static boolean validateAgeObservationMoodCode(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationMoodCode", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -351,6 +360,8 @@ public static boolean validateAgeObservationMoodCode(AgeObservation ageObservati public static boolean validateAgeObservationCodeP(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationCodeP", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validateAgeObservationCode(AgeObservation ageObservation, return true; } + DatatypesUtil.increment(context, "AgeObservationAgeObservationCode", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -501,6 +514,8 @@ public static boolean validateAgeObservationCode(AgeObservation ageObservation, public static boolean validateAgeObservationStatusCode(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationStatusCode", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -564,6 +579,8 @@ public static boolean validateAgeObservationStatusCode(AgeObservation ageObserva public static boolean validateAgeObservationStatusCodeP(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationStatusCodeP", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -627,6 +644,8 @@ public static boolean validateAgeObservationStatusCodeP(AgeObservation ageObserv public static boolean validateAgeObservationValue(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationValue", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSection2Operations.java index 9030fd3b24..f9d2ae9928 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected AllergiesSection2Operations() { public static boolean validateAllergiesSection2NullFlavor(AllergiesSection2 allergiesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSection2NullFlavor", "INFO"); + if (VALIDATE_ALLERGIES_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateAllergiesSection2NullFlavor(AllergiesSection2 alle public static boolean validateAllergiesSection2Title(AllergiesSection2 allergiesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSection2Title", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateAllergiesSection2Title(AllergiesSection2 allergies public static boolean validateAllergiesSection2Text(AllergiesSection2 allergiesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSection2Text", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateAllergiesSection2Text(AllergiesSection2 allergiesS public static boolean validateAllergiesSectionEntriesOptionalTemplateId(AllergiesSection2 allergiesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateAllergiesSectionEntriesOptionalTemplateId(Allergie public static boolean validateAllergiesSectionEntriesOptionalCodeP(AllergiesSection2 allergiesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -441,6 +452,8 @@ public static boolean validateAllergiesSectionEntriesOptionalCode(AllergiesSecti return true; } + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +519,8 @@ public static boolean validateAllergiesSectionEntriesOptionalCode(AllergiesSecti public static boolean validateAllergiesSectionEntriesOptionalAllergyProblemAct(AllergiesSection2 allergiesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSectionEntriesOptionalAllergyProblemAct", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_ALLERGY_PROBLEM_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptional2Operations.java index 1d828f76cb..87a6bbc73d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -146,6 +147,9 @@ public static boolean validateAllergiesSectionEntriesOptionalTemplateId( AllergiesSectionEntriesOptional2 allergiesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptional2AllergiesSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +217,9 @@ public static boolean validateAllergiesSectionEntriesOptionalCodeP( AllergiesSectionEntriesOptional2 allergiesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptional2AllergiesSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +312,9 @@ public static boolean validateAllergiesSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptional2AllergiesSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +382,9 @@ public static boolean validateAllergiesSectionEntriesOptionalAllergyProblemAct( AllergiesSectionEntriesOptional2 allergiesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptional2AllergiesSectionEntriesOptionalAllergyProblemAct", "WARNING"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_ALLERGY_PROBLEM_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptionalOperations.java index 8bed6c2eeb..313105fc73 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateAllergiesSectionEntriesOptionalTemplateId( AllergiesSectionEntriesOptional allergiesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptionalAllergiesSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,8 @@ public static boolean validateAllergiesSectionEntriesOptionalCode( AllergiesSectionEntriesOptional allergiesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionEntriesOptionalAllergiesSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +245,9 @@ public static boolean validateAllergiesSectionEntriesOptionalCodeP( AllergiesSectionEntriesOptional allergiesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptionalAllergiesSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +315,9 @@ public static boolean validateAllergiesSectionEntriesOptionalTitle( AllergiesSectionEntriesOptional allergiesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptionalAllergiesSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +385,8 @@ public static boolean validateAllergiesSectionEntriesOptionalText( AllergiesSectionEntriesOptional allergiesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionEntriesOptionalAllergiesSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +454,9 @@ public static boolean validateAllergiesSectionEntriesOptionalAllergyProblemAct( AllergiesSectionEntriesOptional allergiesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptionalAllergiesSectionEntriesOptionalAllergyProblemAct", "WARNING"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_ALLERGY_PROBLEM_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionOperations.java index 9ef290b139..a7b08a4d21 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected AllergiesSectionOperations() { public static boolean validateAllergiesSectionCodeP(AllergiesSection allergiesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionAllergiesSectionCodeP", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +190,8 @@ public static boolean validateAllergiesSectionCode(AllergiesSection allergiesSec return true; } + DatatypesUtil.increment(context, "AllergiesSectionAllergiesSectionCode", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +255,8 @@ public static boolean validateAllergiesSectionCode(AllergiesSection allergiesSec public static boolean validateAllergiesSectionTitle(AllergiesSection allergiesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionAllergiesSectionTitle", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +320,8 @@ public static boolean validateAllergiesSectionTitle(AllergiesSection allergiesSe public static boolean validateAllergiesSectionText(AllergiesSection allergiesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionAllergiesSectionText", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +385,8 @@ public static boolean validateAllergiesSectionText(AllergiesSection allergiesSec public static boolean validateAllergiesSectionAllergyProblemAct(AllergiesSection allergiesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionAllergiesSectionAllergyProblemAct", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ALLERGY_PROBLEM_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -489,6 +500,8 @@ public static EList getConsolAllergyProblemActs(AllergiesSect public static boolean validateAllergiesSectionEntriesOptionalTemplateId(AllergiesSection allergiesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionAllergiesSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyConcernAct2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyConcernAct2Operations.java index 22d20aacb0..ab28330467 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyConcernAct2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyConcernAct2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -100,6 +101,8 @@ protected AllergyConcernAct2Operations() { public static boolean validateAllergyConcernAct2TemplateId(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyConcernAct2TemplateId", "ERROR"); + if (VALIDATE_ALLERGY_CONCERN_ACT2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateAllergyConcernAct2TemplateId(AllergyConcernAct2 al public static boolean validateAllergyConcernAct2AuthorParticipation(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyConcernAct2AuthorParticipation", "WARNING"); + if (VALIDATE_ALLERGY_CONCERN_ACT2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -277,6 +282,8 @@ public static EList getConsolAllergyObservation2s(AllergyCo public static boolean validateAllergyProblemActCode(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyProblemActCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -340,6 +347,8 @@ public static boolean validateAllergyProblemActCode(AllergyConcernAct2 allergyCo public static boolean validateAllergyProblemActAllergyObservation(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyProblemActAllergyObservation", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_ALLERGY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -405,6 +414,8 @@ public static boolean validateAllergyProblemActAllergyObservation(AllergyConcern public static boolean validateAllergyProblemActCDCodeAndCodeSystemValues(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyProblemActCDCodeAndCodeSystemValues", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CD_CODE_AND_CODE_SYSTEM_VALUES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -476,6 +487,8 @@ public static boolean validateAllergyProblemActCDCodeAndCodeSystemValues(Allergy public static boolean validateAllergyProblemActCDCode(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyProblemActCDCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -546,6 +559,8 @@ public static boolean validateAllergyProblemActCDCode(AllergyConcernAct2 allergy public static boolean validateAllergyProblemActCDCodeSystem(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyProblemActCDCodeSystem", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CD_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservation2Operations.java index d6846738f5..94044fb77d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservation2Operations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -140,6 +141,9 @@ protected AllergyObservation2Operations() { public static boolean validateAllergyObservation2CriticalityInversionIndicator( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2AllergyObservation2CriticalityInversionIndicator", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION2_CRITICALITY_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -206,6 +210,8 @@ public static boolean validateAllergyObservation2CriticalityInversionIndicator( public static boolean validateAllergyObservation2TemplateId(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservation2TemplateId", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -270,6 +276,8 @@ public static boolean validateAllergyObservation2TemplateId(AllergyObservation2 public static boolean validateAllergyObservation2NegationInd(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservation2NegationInd", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION2_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +321,8 @@ public static boolean validateAllergyObservation2NegationInd(AllergyObservation2 public static boolean validateAllergyObservationValueP(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationValueP", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +378,8 @@ public static boolean validateAllergyObservationValueP(AllergyObservation2 aller public static boolean validateAllergyObservationStatusCodeP(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationStatusCodeP", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +436,8 @@ public static boolean validateAllergyObservationStatusCodeP(AllergyObservation2 public static boolean validateAllergyObservation2AuthorParticipation(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -468,6 +482,8 @@ public static boolean validateAllergyObservation2AuthorParticipation(AllergyObse public static boolean validateAllergyObservation2CriticalityObservation(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservation2CriticalityObservation", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION2_CRITICALITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +528,8 @@ public static boolean validateAllergyObservation2CriticalityObservation(AllergyO public static boolean validateAllergyObservation2IVLTSLow(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservation2IVLTSLow", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION2_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -561,6 +579,8 @@ public static boolean validateAllergyObservation2IVLTSLow(AllergyObservation2 al public static boolean validateAllergyObservation2IVLTSHigh(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservation2IVLTSHigh", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION2_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -610,6 +630,11 @@ public static boolean validateAllergyObservation2IVLTSHigh(AllergyObservation2 a public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergySpecificMedication( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityAllergySpecificMedication", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ALLERGY_SPECIFIC_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -660,6 +685,11 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergyClassMedication( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityAllergyClassMedication", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ALLERGY_CLASS_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -710,6 +740,11 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergyFoodOtherSubstance( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityAllergyFoodOtherSubstance", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ALLERGY_FOOD_OTHER_SUBSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -870,6 +905,8 @@ public static CriticalityObservation getCriticalityObservation(AllergyObservatio public static boolean validateAllergyObservationValueOriginalText(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationValueOriginalText", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_VALUE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -914,6 +951,8 @@ public static boolean validateAllergyObservationValueOriginalText(AllergyObserva public static boolean validateAllergyObservationOriginalTextReference(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationOriginalTextReference", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -958,6 +997,8 @@ public static boolean validateAllergyObservationOriginalTextReference(AllergyObs public static boolean validateAllergyObservationOriginalTextReferenceValue(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationOriginalTextReferenceValue", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1003,6 +1044,8 @@ public static boolean validateAllergyObservationOriginalTextReferenceValue(Aller public static boolean validateAllergyObservationReferenceValue(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationReferenceValue", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1047,6 +1090,9 @@ public static boolean validateAllergyObservationReferenceValue(AllergyObservatio public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2SubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator", "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ALLERGY_STATUS_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1092,6 +1138,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusIn public static boolean validateSubstanceOrDeviceAllergyObservationReactionInversionIndicator( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2SubstanceOrDeviceAllergyObservationReactionInversionIndicator", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_REACTION_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1137,6 +1186,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationReactionInversi public static boolean validateSubstanceOrDeviceAllergyObservationSeverityInversionIndicator( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2SubstanceOrDeviceAllergyObservationSeverityInversionIndicator", "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_SEVERITY_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1182,6 +1234,8 @@ public static boolean validateSubstanceOrDeviceAllergyObservationSeverityInversi public static boolean validateAllergyObservationCodeP(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationCodeP", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1266,6 +1320,8 @@ public static boolean validateAllergyObservationCode(AllergyObservation2 allergy return true; } + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1778,6 +1834,8 @@ public static boolean validateAllergyObservationValue(AllergyObservation2 allerg return true; } + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationValue", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1850,6 +1908,8 @@ public static boolean validateAllergyObservationStatusCode(AllergyObservation2 a return true; } + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationStatusCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1914,6 +1974,8 @@ public static boolean validateAllergyObservationStatusCode(AllergyObservation2 a public static boolean validateAllergyObservationEffectiveTime(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationEffectiveTime", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1979,6 +2041,8 @@ public static boolean validateAllergyObservationEffectiveTime(AllergyObservation public static boolean validateAllergyObservationAllergyStatusObservation(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationAllergyStatusObservation", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_ALLERGY_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2045,6 +2109,8 @@ public static boolean validateAllergyObservationAllergyStatusObservation(Allergy public static boolean validateAllergyObservationReactionObservation(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationReactionObservation", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2110,6 +2176,8 @@ public static boolean validateAllergyObservationReactionObservation(AllergyObser public static boolean validateAllergyObservationSeverityObservation(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationSeverityObservation", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_SEVERITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2175,6 +2243,8 @@ public static boolean validateAllergyObservationSeverityObservation(AllergyObser public static boolean validateAllergyObservationParticipant(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationParticipant", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2239,6 +2309,10 @@ public static boolean validateAllergyObservationParticipant(AllergyObservation2 public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText", + "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2310,6 +2384,10 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCETranslation( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityCETranslation", + "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2381,6 +2459,11 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2452,6 +2535,10 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityReferenceValue", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2523,6 +2610,11 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2594,6 +2686,9 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCode( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2665,6 +2760,9 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntity( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntity", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2736,6 +2834,8 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRole(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationParticipantParticipantRole", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservationOperations.java index 5189d7df47..03d3356152 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -133,6 +134,8 @@ protected AllergyObservationOperations() { public static boolean validateAllergyObservationValueOriginalText(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationValueOriginalText", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_VALUE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -198,6 +201,8 @@ public static boolean validateAllergyObservationValueOriginalText(AllergyObserva public static boolean validateAllergyObservationOriginalTextReference(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationOriginalTextReference", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -263,6 +268,8 @@ public static boolean validateAllergyObservationOriginalTextReference(AllergyObs public static boolean validateAllergyObservationOriginalTextReferenceValue(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationOriginalTextReferenceValue", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -329,6 +336,8 @@ public static boolean validateAllergyObservationOriginalTextReferenceValue(Aller public static boolean validateAllergyObservationReferenceValue(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationReferenceValue", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -394,6 +403,8 @@ public static boolean validateAllergyObservationReferenceValue(AllergyObservatio public static boolean validateAllergyObservationClassCode(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationClassCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -457,6 +468,8 @@ public static boolean validateAllergyObservationClassCode(AllergyObservation all public static boolean validateAllergyObservationMoodCode(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationMoodCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +533,8 @@ public static boolean validateAllergyObservationMoodCode(AllergyObservation alle public static boolean validateAllergyObservationId(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationId", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -583,6 +598,8 @@ public static boolean validateAllergyObservationId(AllergyObservation allergyObs public static boolean validateAllergyObservationCodeP(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationCodeP", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -669,6 +686,8 @@ public static boolean validateAllergyObservationCode(AllergyObservation allergyO return true; } + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -733,6 +752,8 @@ public static boolean validateAllergyObservationCode(AllergyObservation allergyO public static boolean validateAllergyObservationStatusCode(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationStatusCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -796,6 +817,8 @@ public static boolean validateAllergyObservationStatusCode(AllergyObservation al public static boolean validateAllergyObservationEffectiveTime(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationEffectiveTime", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -863,6 +886,8 @@ public static boolean validateAllergyObservationEffectiveTime(AllergyObservation public static boolean validateAllergyObservationValue(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationValue", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -926,6 +951,8 @@ public static boolean validateAllergyObservationValue(AllergyObservation allergy public static boolean validateAllergyObservationReactionObservation(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationReactionObservation", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -991,6 +1018,8 @@ public static boolean validateAllergyObservationReactionObservation(AllergyObser public static boolean validateAllergyObservationSeverityObservation(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationSeverityObservation", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_SEVERITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1056,6 +1085,8 @@ public static boolean validateAllergyObservationSeverityObservation(AllergyObser public static boolean validateAllergyObservationAllergyStatusObservation(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationAllergyStatusObservation", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_ALLERGY_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1121,6 +1152,8 @@ public static boolean validateAllergyObservationAllergyStatusObservation(Allergy public static boolean validateAllergyObservationParticipant(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationParticipant", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1184,6 +1217,10 @@ public static boolean validateAllergyObservationParticipant(AllergyObservation a public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText", + "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1255,6 +1292,10 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCETranslation( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityCETranslation", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1326,6 +1367,11 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue", + "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1397,6 +1443,10 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue", + "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1468,6 +1518,10 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference", + "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1539,6 +1593,11 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCodeTerminologyValueSetGroupSRFI( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityCodeTerminologyValueSetGroupSRFI", + "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CODE_TERMINOLOGY_VALUE_SET_GROUP_SRFI__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1610,6 +1669,9 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityClassCode( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityClassCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1681,6 +1743,9 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCode( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1754,6 +1819,9 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRoleClassCode( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRoleClassCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1825,6 +1893,9 @@ public static boolean validateAllergyObservationParticipantParticipantRoleClassC public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntity( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntity", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1898,6 +1969,8 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantTypeCode(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationParticipantTypeCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1968,6 +2041,8 @@ public static boolean validateAllergyObservationParticipantTypeCode(AllergyObser public static boolean validateAllergyObservationParticipantParticipantRole(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationParticipantParticipantRole", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2179,6 +2254,9 @@ public static AllergyStatusObservation getConsolAllergyStatusObservation(Allergy public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationSubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ALLERGY_STATUS_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2245,6 +2323,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusIn public static boolean validateSubstanceOrDeviceAllergyObservationReactionInversionIndicator( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationSubstanceOrDeviceAllergyObservationReactionInversionIndicator", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_REACTION_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2311,6 +2392,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationReactionInversi public static boolean validateSubstanceOrDeviceAllergyObservationSeverityInversionIndicator( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationSubstanceOrDeviceAllergyObservationSeverityInversionIndicator", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_SEVERITY_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2377,6 +2461,8 @@ public static boolean validateSubstanceOrDeviceAllergyObservationSeverityInversi public static boolean validateSubstanceOrDeviceAllergyObservationTemplateId(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationSubstanceOrDeviceAllergyObservationTemplateId", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyProblemActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyProblemActOperations.java index f573e373bc..5d02a9173c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyProblemActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyProblemActOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -111,6 +112,8 @@ protected AllergyProblemActOperations() { public static boolean validateAllergyProblemActEffectiveTimeLow(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActEffectiveTimeLow", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -176,6 +179,8 @@ public static boolean validateAllergyProblemActEffectiveTimeLow(AllergyProblemAc public static boolean validateAllergyProblemActEffectiveTimeHigh(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActEffectiveTimeHigh", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -241,6 +246,8 @@ public static boolean validateAllergyProblemActEffectiveTimeHigh(AllergyProblemA public static boolean validateAllergyProblemActTemplateId(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActTemplateId", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +311,8 @@ public static boolean validateAllergyProblemActTemplateId(AllergyProblemAct alle public static boolean validateAllergyProblemActClassCode(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActClassCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +376,8 @@ public static boolean validateAllergyProblemActClassCode(AllergyProblemAct aller public static boolean validateAllergyProblemActMoodCode(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActMoodCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -430,6 +441,8 @@ public static boolean validateAllergyProblemActMoodCode(AllergyProblemAct allerg public static boolean validateAllergyProblemActId(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActId", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -493,6 +506,8 @@ public static boolean validateAllergyProblemActId(AllergyProblemAct allergyProbl public static boolean validateAllergyProblemActCode(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -558,6 +573,8 @@ public static boolean validateAllergyProblemActCode(AllergyProblemAct allergyPro public static boolean validateAllergyProblemActStatusCode(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActStatusCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -621,6 +638,8 @@ public static boolean validateAllergyProblemActStatusCode(AllergyProblemAct alle public static boolean validateAllergyProblemActEffectiveTime(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActEffectiveTime", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -686,6 +705,8 @@ public static boolean validateAllergyProblemActEffectiveTime(AllergyProblemAct a public static boolean validateAllergyProblemActAllergyObservation(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActAllergyObservation", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_ALLERGY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -751,6 +772,8 @@ public static boolean validateAllergyProblemActAllergyObservation(AllergyProblem public static boolean validateAllergyProblemActCDCodeAndCodeSystemValues(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActCDCodeAndCodeSystemValues", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CD_CODE_AND_CODE_SYSTEM_VALUES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -822,6 +845,8 @@ public static boolean validateAllergyProblemActCDCodeAndCodeSystemValues(Allergy public static boolean validateAllergyProblemActCDCode(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActCDCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -892,6 +917,8 @@ public static boolean validateAllergyProblemActCDCode(AllergyProblemAct allergyP public static boolean validateAllergyProblemActCDCodeSystem(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActCDCodeSystem", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CD_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservation2Operations.java index 77c460cbdb..35abdde7a4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservation2Operations.java @@ -7,17 +7,13 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.openhealthtools.mdht.uml.cda.consol.AllergyStatusObservation2; import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; - import org.openhealthtools.mdht.uml.cda.consol.util.ConsolValidator; - import org.openhealthtools.mdht.uml.cda.consol2.ConsolPlugin; /** @@ -90,6 +86,8 @@ public static boolean validateAllergyStatusObservation2TemplateId( AllergyStatusObservation2 allergyStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservation2AllergyStatusObservation2TemplateId", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -157,6 +155,8 @@ public static boolean validateAllergyStatusObservation2TemplateId( public static boolean validateAllergyStatusObservationCode(AllergyStatusObservation2 allergyStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservation2AllergyStatusObservationCode", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -223,6 +223,8 @@ public static boolean validateAllergyStatusObservationCode(AllergyStatusObservat public static boolean validateAllergyStatusObservationValue(AllergyStatusObservation2 allergyStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservation2AllergyStatusObservationValue", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservationOperations.java index 16d2fedfc1..9ce3258fb1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected AllergyStatusObservationOperations() { public static boolean validateAllergyStatusObservationTemplateId(AllergyStatusObservation allergyStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservationAllergyStatusObservationTemplateId", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateAllergyStatusObservationTemplateId(AllergyStatusOb public static boolean validateAllergyStatusObservationClassCode(AllergyStatusObservation allergyStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservationAllergyStatusObservationClassCode", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateAllergyStatusObservationClassCode(AllergyStatusObs public static boolean validateAllergyStatusObservationMoodCode(AllergyStatusObservation allergyStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservationAllergyStatusObservationMoodCode", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -292,6 +299,8 @@ public static boolean validateAllergyStatusObservationMoodCode(AllergyStatusObse public static boolean validateAllergyStatusObservationCode(AllergyStatusObservation allergyStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservationAllergyStatusObservationCode", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +366,8 @@ public static boolean validateAllergyStatusObservationCode(AllergyStatusObservat public static boolean validateAllergyStatusObservationStatusCode(AllergyStatusObservation allergyStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservationAllergyStatusObservationStatusCode", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +435,8 @@ public static boolean validateAllergyStatusObservationStatusCode(AllergyStatusOb public static boolean validateAllergyStatusObservationValue(AllergyStatusObservation allergyStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservationAllergyStatusObservationValue", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSection2Operations.java index c0604a2878..e7be55f350 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected AnesthesiaSection2Operations() { public static boolean validateAnesthesiaSection2TemplateId(AnesthesiaSection2 anesthesiaSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSection2AnesthesiaSection2TemplateId", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -259,6 +262,8 @@ public static EList getConsolMedicationActivity2s(Anesthesi public static boolean validateAnesthesiaSectionCodeP(AnesthesiaSection2 anesthesiaSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSection2AnesthesiaSectionCodeP", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -345,6 +350,8 @@ public static boolean validateAnesthesiaSectionCode(AnesthesiaSection2 anesthesi return true; } + DatatypesUtil.increment(context, "AnesthesiaSection2AnesthesiaSectionCode", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -408,6 +415,8 @@ public static boolean validateAnesthesiaSectionCode(AnesthesiaSection2 anesthesi public static boolean validateAnesthesiaSectionProcedureActivityProcedure(AnesthesiaSection2 anesthesiaSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSection2AnesthesiaSectionProcedureActivityProcedure", "INFO"); + if (VALIDATE_ANESTHESIA_SECTION_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -474,6 +483,8 @@ public static boolean validateAnesthesiaSectionProcedureActivityProcedure(Anesth public static boolean validateAnesthesiaSectionMedicationActivity(AnesthesiaSection2 anesthesiaSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSection2AnesthesiaSectionMedicationActivity", "INFO"); + if (VALIDATE_ANESTHESIA_SECTION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSectionOperations.java index c48a9d3ca2..f4f34f4b6e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -105,6 +106,8 @@ protected AnesthesiaSectionOperations() { public static boolean validateAnesthesiaSectionTemplateId(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionTemplateId", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +173,8 @@ public static boolean validateAnesthesiaSectionTemplateId(AnesthesiaSection anes public static boolean validateAnesthesiaSectionCode(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionCode", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateAnesthesiaSectionCode(AnesthesiaSection anesthesia public static boolean validateAnesthesiaSectionCodeP(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionCodeP", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -275,6 +282,8 @@ public static boolean validateAnesthesiaSectionCodeP(AnesthesiaSection anesthesi public static boolean validateAnesthesiaSectionText(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionText", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validateAnesthesiaSectionText(AnesthesiaSection anesthesia public static boolean validateAnesthesiaSectionTitle(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionTitle", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -422,6 +433,8 @@ public static boolean validateAnesthesiaSectionTitle(AnesthesiaSection anesthesi public static boolean validateAnesthesiaSectionProcedureActivityProcedure(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionProcedureActivityProcedure", "INFO"); + if (VALIDATE_ANESTHESIA_SECTION_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -487,6 +500,8 @@ public static boolean validateAnesthesiaSectionProcedureActivityProcedure(Anesth public static boolean validateAnesthesiaSectionMedicationActivity(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionMedicationActivity", "INFO"); + if (VALIDATE_ANESTHESIA_SECTION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSection2Operations.java index b96286bbb3..5d59345f7d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateAssessmentAndPlanSection2TemplateId( AssessmentAndPlanSection2 assessmentAndPlanSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentAndPlanSection2AssessmentAndPlanSection2TemplateId", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -208,6 +211,8 @@ public static EList getConsolPlannedAct2s(AssessmentAndPlanSection2 public static boolean validateAssessmentAndPlanSectionCodeP(AssessmentAndPlanSection2 assessmentAndPlanSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentAndPlanSection2AssessmentAndPlanSectionCodeP", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +301,8 @@ public static boolean validateAssessmentAndPlanSectionCode(AssessmentAndPlanSect return true; } + DatatypesUtil.increment(context, "AssessmentAndPlanSection2AssessmentAndPlanSectionCode", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +368,9 @@ public static boolean validateAssessmentAndPlanSectionPlanOfCareActivityAct( AssessmentAndPlanSection2 assessmentAndPlanSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentAndPlanSection2AssessmentAndPlanSectionPlanOfCareActivityAct", "INFO"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_PLAN_OF_CARE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSectionOperations.java index 3570c554bd..abc7364dbf 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected AssessmentAndPlanSectionOperations() { public static boolean validateAssessmentAndPlanSectionTemplateId(AssessmentAndPlanSection assessmentAndPlanSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentAndPlanSectionAssessmentAndPlanSectionTemplateId", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validateAssessmentAndPlanSectionTemplateId(AssessmentAndPl public static boolean validateAssessmentAndPlanSectionCode(AssessmentAndPlanSection assessmentAndPlanSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentAndPlanSectionAssessmentAndPlanSectionCode", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateAssessmentAndPlanSectionCode(AssessmentAndPlanSect public static boolean validateAssessmentAndPlanSectionCodeP(AssessmentAndPlanSection assessmentAndPlanSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentAndPlanSectionAssessmentAndPlanSectionCodeP", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateAssessmentAndPlanSectionCodeP(AssessmentAndPlanSec public static boolean validateAssessmentAndPlanSectionText(AssessmentAndPlanSection assessmentAndPlanSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentAndPlanSectionAssessmentAndPlanSectionText", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,9 @@ public static boolean validateAssessmentAndPlanSectionPlanOfCareActivityAct( AssessmentAndPlanSection assessmentAndPlanSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentAndPlanSectionAssessmentAndPlanSectionPlanOfCareActivityAct", "INFO"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_PLAN_OF_CARE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleObservationOperations.java index 6fed9a05d9..a37555a01b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -116,6 +117,9 @@ public static boolean validateAssessmentScaleObservationCodeCodeSystem( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationCodeCodeSystem", "WARNING"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_CODE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -183,6 +187,9 @@ public static boolean validateAssessmentScaleObservationInterpretationCodeTransl AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationInterpretationCodeTranslation", "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_INTERPRETATION_CODE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +257,8 @@ public static boolean validateAssessmentScaleObservationTemplateId( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationTemplateId", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +326,8 @@ public static boolean validateAssessmentScaleObservationClassCode( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationClassCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -384,6 +395,8 @@ public static boolean validateAssessmentScaleObservationMoodCode( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationMoodCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -449,6 +462,8 @@ public static boolean validateAssessmentScaleObservationMoodCode( public static boolean validateAssessmentScaleObservationCode(AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -514,6 +529,8 @@ public static boolean validateAssessmentScaleObservationDerivationExpr( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationDerivationExpr", "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_DERIVATION_EXPR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -581,6 +598,8 @@ public static boolean validateAssessmentScaleObservationEffectiveTime( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationEffectiveTime", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -647,6 +666,8 @@ public static boolean validateAssessmentScaleObservationEffectiveTime( public static boolean validateAssessmentScaleObservationId(AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationId", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -712,6 +733,9 @@ public static boolean validateAssessmentScaleObservationInterpretationCode( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationInterpretationCode", "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -780,6 +804,8 @@ public static boolean validateAssessmentScaleObservationStatusCode( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationStatusCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -847,6 +873,8 @@ public static boolean validateAssessmentScaleObservationStatusCodeP( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationStatusCodeP", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -913,6 +941,8 @@ public static boolean validateAssessmentScaleObservationStatusCodeP( public static boolean validateAssessmentScaleObservationValue(AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationValue", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -979,6 +1009,8 @@ public static boolean validateAssessmentScaleObservationAuthor( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationAuthor", "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1045,6 +1077,8 @@ public static boolean validateAssessmentScaleObservationReferenceRange( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationReferenceRange", "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_REFERENCE_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1112,6 +1146,10 @@ public static boolean validateAssessmentScaleObservationAssessmentScaleSupportin AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationAssessmentScaleSupportingObservation", + "WARNING"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1179,6 +1217,10 @@ public static boolean validateAssessmentScaleObservationReferenceRangeObservatio AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationReferenceRangeObservationRangeTextReference", + "WARNING"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1251,6 +1293,11 @@ public static boolean validateAssessmentScaleObservationReferenceRangeObservatio AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AssessmentScaleObservationAssessmentScaleObservationReferenceRangeObservationRangeTextReferenceValue", + "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1323,6 +1370,10 @@ public static boolean validateAssessmentScaleObservationReferenceRangeObservatio AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationReferenceRangeObservationRangeReferenceValue", + "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1395,6 +1446,10 @@ public static boolean validateAssessmentScaleObservationReferenceRangeObservatio AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationReferenceRangeObservationRangeText", + "WARNING"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1467,6 +1522,9 @@ public static boolean validateAssessmentScaleObservationReferenceRangeObservatio AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationReferenceRangeObservationRange", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleSupportingObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleSupportingObservationOperations.java index 6aa939b802..59891ea92f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleSupportingObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleSupportingObservationOperations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,9 @@ public static boolean validateAssessmentScaleSupportingObservationCodeCodeSystem AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationCodeCodeSystem", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_CODE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +167,10 @@ public static boolean validateAssessmentScaleSupportingObservationValueTranslati AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationValueTranslation", + "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_VALUE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +238,9 @@ public static boolean validateAssessmentScaleSupportingObservationTemplateId( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationTemplateId", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +308,9 @@ public static boolean validateAssessmentScaleSupportingObservationClassCode( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationClassCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +378,9 @@ public static boolean validateAssessmentScaleSupportingObservationMoodCode( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationMoodCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -431,6 +448,9 @@ public static boolean validateAssessmentScaleSupportingObservationCode( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -498,6 +518,9 @@ public static boolean validateAssessmentScaleSupportingObservationId( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationId", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -566,6 +589,9 @@ public static boolean validateAssessmentScaleSupportingObservationStatusCode( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationStatusCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -633,6 +659,9 @@ public static boolean validateAssessmentScaleSupportingObservationStatusCodeP( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationStatusCodeP", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -700,6 +729,9 @@ public static boolean validateAssessmentScaleSupportingObservationValue( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationValue", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentSectionOperations.java index 22d39bb401..f32ab08864 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected AssessmentSectionOperations() { public static boolean validateAssessmentSectionTemplateId(AssessmentSection assessmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentSectionAssessmentSectionTemplateId", "ERROR"); + if (VALIDATE_ASSESSMENT_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -159,6 +162,8 @@ public static boolean validateAssessmentSectionTemplateId(AssessmentSection asse public static boolean validateAssessmentSectionCode(AssessmentSection assessmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentSectionAssessmentSectionCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -222,6 +227,8 @@ public static boolean validateAssessmentSectionCode(AssessmentSection assessment public static boolean validateAssessmentSectionCodeP(AssessmentSection assessmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentSectionAssessmentSectionCodeP", "ERROR"); + if (VALIDATE_ASSESSMENT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +292,8 @@ public static boolean validateAssessmentSectionCodeP(AssessmentSection assessmen public static boolean validateAssessmentSectionText(AssessmentSection assessmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentSectionAssessmentSectionText", "ERROR"); + if (VALIDATE_ASSESSMENT_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -348,6 +357,8 @@ public static boolean validateAssessmentSectionText(AssessmentSection assessment public static boolean validateAssessmentSectionTitle(AssessmentSection assessmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentSectionAssessmentSectionTitle", "ERROR"); + if (VALIDATE_ASSESSMENT_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorParticipationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorParticipationOperations.java index bdde79e159..15489b8c43 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorParticipationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorParticipationOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.AuthorOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -103,6 +104,8 @@ protected AuthorParticipationOperations() { public static boolean validateAuthorParticipationTemplateId(AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorParticipationAuthorParticipationTemplateId", "ERROR"); + if (VALIDATE_AUTHOR_PARTICIPATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -167,6 +170,8 @@ public static boolean validateAuthorParticipationTemplateId(AuthorParticipation public static boolean validateAuthorParticipationTime(AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorParticipationAuthorParticipationTime", "ERROR"); + if (VALIDATE_AUTHOR_PARTICIPATION_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateAuthorParticipationTime(AuthorParticipation author public static boolean validateAuthorParticipationAssignedAuthor(AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorParticipationAuthorParticipationAssignedAuthor", "ERROR"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +302,9 @@ public static boolean validateAuthorParticipationAssignedAuthor(AuthorParticipat public static boolean validateAuthorParticipationAssignedAuthorAssignedPersonName( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorAssignedPersonName", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_ASSIGNED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -366,6 +376,9 @@ public static boolean validateAuthorParticipationAssignedAuthorAssignedPersonNam public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationId( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorRepresentedOrganizationId", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +450,9 @@ public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrgani public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationName( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorRepresentedOrganizationName", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -508,6 +524,9 @@ public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrgani public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationTelecom( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorRepresentedOrganizationTelecom", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -579,6 +598,9 @@ public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrgani public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationAddr( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorRepresentedOrganizationAddr", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -650,6 +672,9 @@ public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrgani public static boolean validateAuthorParticipationAssignedAuthorCodeTerminology( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorCodeTerminology", "WARNING"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_CODE_TERMINOLOGY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -721,6 +746,8 @@ public static boolean validateAuthorParticipationAssignedAuthorCodeTerminology( public static boolean validateAuthorParticipationAssignedAuthorId(AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorParticipationAuthorParticipationAssignedAuthorId", "ERROR"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -791,6 +818,8 @@ public static boolean validateAuthorParticipationAssignedAuthorId(AuthorParticip public static boolean validateAuthorParticipationAssignedAuthorCode(AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorParticipationAuthorParticipationAssignedAuthorCode", "WARNING"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -861,6 +890,8 @@ public static boolean validateAuthorParticipationAssignedAuthorCode(AuthorPartic public static boolean validateAuthorParticipationAssignedAuthorAssignedPerson( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorParticipationAuthorParticipationAssignedAuthorAssignedPerson", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +963,9 @@ public static boolean validateAuthorParticipationAssignedAuthorAssignedPerson( public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrganization( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorRepresentedOrganization", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorizationActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorizationActivityOperations.java index cfd61546ea..e0e3194f01 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorizationActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorizationActivityOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -102,6 +103,8 @@ protected AuthorizationActivityOperations() { public static boolean validateAuthorizationActivityTemplateId(AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorizationActivityAuthorizationActivityTemplateId", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -167,6 +170,8 @@ public static boolean validateAuthorizationActivityTemplateId(AuthorizationActiv public static boolean validateAuthorizationActivityClassCode(AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorizationActivityAuthorizationActivityClassCode", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validateAuthorizationActivityClassCode(AuthorizationActivi public static boolean validateAuthorizationActivityId(AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorizationActivityAuthorizationActivityId", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -294,6 +301,8 @@ public static boolean validateAuthorizationActivityId(AuthorizationActivity auth public static boolean validateAuthorizationActivityMoodCode(AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorizationActivityAuthorizationActivityMoodCode", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +367,8 @@ public static boolean validateAuthorizationActivityMoodCode(AuthorizationActivit public static boolean validateAuthorizationActivityEntryRelationship(AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorizationActivityAuthorizationActivityEntryRelationship", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -423,6 +434,9 @@ public static boolean validateAuthorizationActivityEntryRelationship(Authorizati public static boolean validateAuthorizationActivityEntryRelationshipHasClinicalStatement( AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorizationActivityAuthorizationActivityEntryRelationshipHasClinicalStatement", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_ENTRY_RELATIONSHIP_HAS_CLINICAL_STATEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +516,9 @@ public static boolean validateAuthorizationActivityEntryRelationshipHasClinicalS public static boolean validateAuthorizationActivityEntryRelationshipHasAuthorizedPerformers( AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorizationActivityAuthorizationActivityEntryRelationshipHasAuthorizedPerformers", "INFO"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_ENTRY_RELATIONSHIP_HAS_AUTHORIZED_PERFORMERS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -573,6 +590,9 @@ public static boolean validateAuthorizationActivityEntryRelationshipHasAuthorize public static boolean validateAuthorizationActivityEntryRelationshipTypeCode( AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorizationActivityAuthorizationActivityEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BirthSexObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BirthSexObservationOperations.java index 867cb5cb77..b119898ddc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BirthSexObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BirthSexObservationOperations.java @@ -9,6 +9,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -91,6 +92,8 @@ protected BirthSexObservationOperations() { public static boolean validateBirthSexObservationTemplateId(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationTemplateId", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -155,6 +158,8 @@ public static boolean validateBirthSexObservationTemplateId(BirthSexObservation public static boolean validateBirthSexObservationClassCode(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationClassCode", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -219,6 +224,8 @@ public static boolean validateBirthSexObservationClassCode(BirthSexObservation b public static boolean validateBirthSexObservationMoodCode(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationMoodCode", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -283,6 +290,8 @@ public static boolean validateBirthSexObservationMoodCode(BirthSexObservation bi public static boolean validateBirthSexObservationCodeP(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationCodeP", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -369,6 +378,8 @@ public static boolean validateBirthSexObservationCode(BirthSexObservation birthS return true; } + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationCode", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -433,6 +444,8 @@ public static boolean validateBirthSexObservationCode(BirthSexObservation birthS public static boolean validateBirthSexObservationStatusCode(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationStatusCode", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -497,6 +510,8 @@ public static boolean validateBirthSexObservationStatusCode(BirthSexObservation public static boolean validateBirthSexObservationStatusCodeP(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationStatusCodeP", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -564,6 +579,8 @@ public static boolean validateBirthSexObservationStatusCodeP(BirthSexObservation public static boolean validateBirthSexObservationValue(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationValue", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -627,6 +644,8 @@ public static boolean validateBirthSexObservationValue(BirthSexObservation birth public static boolean validateBirthSexObservationValueP(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationValueP", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BoundaryObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BoundaryObservationOperations.java index 73750a1806..287b42431e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BoundaryObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BoundaryObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected BoundaryObservationOperations() { public static boolean validateBoundaryObservationTemplateId(BoundaryObservation boundaryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BoundaryObservationBoundaryObservationTemplateId", "ERROR"); + if (VALIDATE_BOUNDARY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -158,6 +161,8 @@ public static boolean validateBoundaryObservationTemplateId(BoundaryObservation public static boolean validateBoundaryObservationClassCode(BoundaryObservation boundaryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BoundaryObservationBoundaryObservationClassCode", "ERROR"); + if (VALIDATE_BOUNDARY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateBoundaryObservationClassCode(BoundaryObservation b public static boolean validateBoundaryObservationCode(BoundaryObservation boundaryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BoundaryObservationBoundaryObservationCode", "ERROR"); + if (VALIDATE_BOUNDARY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateBoundaryObservationCode(BoundaryObservation bounda public static boolean validateBoundaryObservationMoodCode(BoundaryObservation boundaryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BoundaryObservationBoundaryObservationMoodCode", "ERROR"); + if (VALIDATE_BOUNDARY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -350,6 +359,8 @@ public static boolean validateBoundaryObservationMoodCode(BoundaryObservation bo public static boolean validateBoundaryObservationValue(BoundaryObservation boundaryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BoundaryObservationBoundaryObservationValue", "ERROR"); + if (VALIDATE_BOUNDARY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CarePlanOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CarePlanOperations.java index 6b5d7b5aed..031b8366c1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CarePlanOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CarePlanOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -173,6 +174,8 @@ protected CarePlanOperations() { public static boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDoesNotHavePlanOfTreatmentSectionV2", "ERROR"); + if (VALIDATE_CARE_PLAN_DOES_NOT_HAVE_PLAN_OF_TREATMENT_SECTION_V2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +241,8 @@ public static boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(CarePl public static boolean validateCarePlanCodeP(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanCodeP", "ERROR"); + if (VALIDATE_CARE_PLAN_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -323,6 +328,8 @@ public static boolean validateCarePlanCode(CarePlan carePlan, DiagnosticChain di return true; } + DatatypesUtil.increment(context, "CarePlanCarePlanCode", "ERROR"); + if (VALIDATE_CARE_PLAN_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -384,6 +391,8 @@ public static boolean validateCarePlanCode(CarePlan carePlan, DiagnosticChain di public static boolean validateCarePlanSetId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanSetId", "WARNING"); + if (VALIDATE_CARE_PLAN_SET_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -446,6 +455,8 @@ public static boolean validateCarePlanSetId(CarePlan carePlan, DiagnosticChain d public static boolean validateCarePlanVersionNumber(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanVersionNumber", "WARNING"); + if (VALIDATE_CARE_PLAN_VERSION_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -508,6 +519,8 @@ public static boolean validateCarePlanVersionNumber(CarePlan carePlan, Diagnosti public static boolean validateCarePlanInformationRecipient(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanInformationRecipient", "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -571,6 +584,8 @@ public static boolean validateCarePlanInformationRecipient(CarePlan carePlan, Di public static boolean validateCarePlanAuthenticator(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticator", "WARNING"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -633,6 +648,8 @@ public static boolean validateCarePlanAuthenticator(CarePlan carePlan, Diagnosti public static boolean validateCarePlanParticipantCarePlanReview(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReview", "WARNING"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -697,6 +714,8 @@ public static boolean validateCarePlanParticipantCarePlanReview(CarePlan carePla public static boolean validateCarePlanParticipantCaregiver(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCaregiver", "WARNING"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -760,6 +779,8 @@ public static boolean validateCarePlanParticipantCaregiver(CarePlan carePlan, Di public static boolean validateCarePlanDocumentationOf(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOf", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -822,6 +843,8 @@ public static boolean validateCarePlanDocumentationOf(CarePlan carePlan, Diagnos public static boolean validateCarePlanRelatedDocument(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocument", "INFO"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -884,6 +907,8 @@ public static boolean validateCarePlanRelatedDocument(CarePlan carePlan, Diagnos public static boolean validateCarePlanComponentOf(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanComponentOf", "WARNING"); + if (VALIDATE_CARE_PLAN_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -946,6 +971,8 @@ public static boolean validateCarePlanComponentOf(CarePlan carePlan, DiagnosticC public static boolean validateCarePlanHealthConcernsSection(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanHealthConcernsSection", "ERROR"); + if (VALIDATE_CARE_PLAN_HEALTH_CONCERNS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1009,6 +1036,8 @@ public static boolean validateCarePlanHealthConcernsSection(CarePlan carePlan, D public static boolean validateCarePlanGoalsSection(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanGoalsSection", "ERROR"); + if (VALIDATE_CARE_PLAN_GOALS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1071,6 +1100,8 @@ public static boolean validateCarePlanGoalsSection(CarePlan carePlan, Diagnostic public static boolean validateCarePlanHealthStatusEvaluationsOutcomesSection(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanHealthStatusEvaluationsOutcomesSection", "WARNING"); + if (VALIDATE_CARE_PLAN_HEALTH_STATUS_EVALUATIONS_OUTCOMES_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1136,6 +1167,8 @@ public static boolean validateCarePlanHealthStatusEvaluationsOutcomesSection(Car public static boolean validateCarePlanInterventionsSection2(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanInterventionsSection2", "WARNING"); + if (VALIDATE_CARE_PLAN_INTERVENTIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1210,6 +1243,9 @@ public static boolean validateCarePlanInterventionsSection2(CarePlan carePlan, D public static boolean validateCarePlanInformationRecipientIntendedRecipientInformationRecipientName( CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanInformationRecipientIntendedRecipientInformationRecipientName", "ERROR"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_INFORMATION_RECIPIENT_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1281,6 +1317,9 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientInfor public static boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanInformationRecipientIntendedRecipientReceivedOrganizationId", "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_RECEIVED_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1352,6 +1391,9 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientRecei public static boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationName( CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanInformationRecipientIntendedRecipientReceivedOrganizationName", "ERROR"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_RECEIVED_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1423,6 +1465,11 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientRecei public static boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationStandardIndustryClassCodeP( CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "CarePlanCarePlanInformationRecipientIntendedRecipientReceivedOrganizationStandardIndustryClassCodeP", + "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_RECEIVED_ORGANIZATION_STANDARD_INDUSTRY_CLASS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1510,6 +1557,11 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientRecei public static boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationStandardIndustryClassCode( CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "CarePlanCarePlanInformationRecipientIntendedRecipientReceivedOrganizationStandardIndustryClassCode", + "ERROR"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_RECEIVED_ORGANIZATION_STANDARD_INDUSTRY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1591,6 +1643,8 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientRecei public static boolean validateCarePlanInformationRecipientIntendedRecipientId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanInformationRecipientIntendedRecipientId", "ERROR"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1661,6 +1715,8 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientId(Ca public static boolean validateCarePlanInformationRecipientIntendedRecipientAddr(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanInformationRecipientIntendedRecipientAddr", "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1732,6 +1788,8 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientAddr( public static boolean validateCarePlanInformationRecipientIntendedRecipientTelecom(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanInformationRecipientIntendedRecipientTelecom", "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1803,6 +1861,9 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientTelec public static boolean validateCarePlanInformationRecipientIntendedRecipientInformationRecipient(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanInformationRecipientIntendedRecipientInformationRecipient", "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1874,6 +1935,9 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientInfor public static boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganization(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanInformationRecipientIntendedRecipientReceivedOrganization", "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_RECEIVED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1945,6 +2009,8 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientRecei public static boolean validateCarePlanInformationRecipientIntendedRecipient(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanInformationRecipientIntendedRecipient", "ERROR"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2015,6 +2081,8 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipient(Care public static boolean validateCarePlanAuthenticatorAssignedEntityId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorAssignedEntityId", "ERROR"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2087,6 +2155,8 @@ public static boolean validateCarePlanAuthenticatorAssignedEntityId(CarePlan car public static boolean validateCarePlanAuthenticatorAssignedEntityCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorAssignedEntityCode", "ERROR"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2157,6 +2227,8 @@ public static boolean validateCarePlanAuthenticatorAssignedEntityCode(CarePlan c public static boolean validateCarePlanAuthenticatorAssignedEntityCodeP(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorAssignedEntityCodeP", "ERROR"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2227,6 +2299,8 @@ public static boolean validateCarePlanAuthenticatorAssignedEntityCodeP(CarePlan public static boolean validateCarePlanAuthenticatorTime(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorTime", "ERROR"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2297,6 +2371,8 @@ public static boolean validateCarePlanAuthenticatorTime(CarePlan carePlan, Diagn public static boolean validateCarePlanAuthenticatorSignatureCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorSignatureCode", "ERROR"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_SIGNATURE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2367,6 +2443,8 @@ public static boolean validateCarePlanAuthenticatorSignatureCode(CarePlan carePl public static boolean validateCarePlanAuthenticatorSDTCSignatureText(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorSDTCSignatureText", "INFO"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_SDTC_SIGNATURE_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2437,6 +2515,8 @@ public static boolean validateCarePlanAuthenticatorSDTCSignatureText(CarePlan ca public static boolean validateCarePlanAuthenticatorAssignedEntity(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorAssignedEntity", "ERROR"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2507,6 +2587,8 @@ public static boolean validateCarePlanAuthenticatorAssignedEntity(CarePlan careP public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityClassCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2578,6 +2660,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityC public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewAssociatedEntityId", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_ASSOCIATED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2649,6 +2733,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityI public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCodeP(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewAssociatedEntityCodeP", "WARNING"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_ASSOCIATED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2736,6 +2822,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityC public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewAssociatedEntityCode", "WARNING"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_ASSOCIATED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2817,6 +2905,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityC public static boolean validateCarePlanParticipantCarePlanReviewTypeCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewTypeCode", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2889,6 +2979,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewTypeCode(CarePlan public static boolean validateCarePlanParticipantCarePlanReviewFunctionCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewFunctionCode", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_FUNCTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2959,6 +3051,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewFunctionCode(Care public static boolean validateCarePlanParticipantCarePlanReviewFunctionCodeP(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewFunctionCodeP", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_FUNCTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3029,6 +3123,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewFunctionCodeP(Car public static boolean validateCarePlanParticipantCarePlanReviewTime(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewTime", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3099,6 +3195,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewTime(CarePlan car public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntity(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewAssociatedEntity", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3170,6 +3268,9 @@ public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntity( public static boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPersonName(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanParticipantCaregiverAssociatedEntityAssociatedPersonName", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_ASSOCIATED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3241,6 +3342,8 @@ public static boolean validateCarePlanParticipantCaregiverAssociatedEntityAssoci public static boolean validateCarePlanParticipantCaregiverAssociatedEntityClassCodeP(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCaregiverAssociatedEntityClassCodeP", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_CLASS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3328,6 +3431,8 @@ public static boolean validateCarePlanParticipantCaregiverAssociatedEntityClassC public static boolean validateCarePlanParticipantCaregiverAssociatedEntityClassCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCaregiverAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3409,6 +3514,9 @@ public static boolean validateCarePlanParticipantCaregiverAssociatedEntityClassC public static boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPerson(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanParticipantCaregiverAssociatedEntityAssociatedPerson", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3480,6 +3588,8 @@ public static boolean validateCarePlanParticipantCaregiverAssociatedEntityAssoci public static boolean validateCarePlanParticipantCaregiverTypeCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCaregiverTypeCode", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3550,6 +3660,8 @@ public static boolean validateCarePlanParticipantCaregiverTypeCode(CarePlan care public static boolean validateCarePlanParticipantCaregiverAssociatedEntity(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCaregiverAssociatedEntity", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3620,6 +3732,8 @@ public static boolean validateCarePlanParticipantCaregiverAssociatedEntity(CareP public static boolean validateCarePlanDocumentationOfServiceEventIVLTSLow(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEventIVLTSLow", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3690,6 +3804,8 @@ public static boolean validateCarePlanDocumentationOfServiceEventIVLTSLow(CarePl public static boolean validateCarePlanDocumentationOfServiceEventIVLTSHigh(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEventIVLTSHigh", "INFO"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3760,6 +3876,9 @@ public static boolean validateCarePlanDocumentationOfServiceEventIVLTSHigh(CareP public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssignedPersonName( CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssignedPersonName", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ASSIGNED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3831,6 +3950,9 @@ public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssign public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanDocumentationOfServiceEventPerformerAssignedEntityId", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3902,6 +4024,9 @@ public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssign public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanDocumentationOfServiceEventPerformerAssignedEntityCode", "INFO"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3973,6 +4098,9 @@ public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssign public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssignedPerson( CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssignedPerson", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4044,6 +4172,8 @@ public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssign public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntity(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEventPerformerAssignedEntity", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4115,6 +4245,8 @@ public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssign public static boolean validateCarePlanDocumentationOfServiceEventClassCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEventClassCode", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4185,6 +4317,8 @@ public static boolean validateCarePlanDocumentationOfServiceEventClassCode(CareP public static boolean validateCarePlanDocumentationOfServiceEventEffectiveTime(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEventEffectiveTime", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4255,6 +4389,8 @@ public static boolean validateCarePlanDocumentationOfServiceEventEffectiveTime(C public static boolean validateCarePlanDocumentationOfServiceEventPerformer1(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEventPerformer1", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4325,6 +4461,8 @@ public static boolean validateCarePlanDocumentationOfServiceEventPerformer1(Care public static boolean validateCarePlanDocumentationOfServiceEvent(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4395,6 +4533,8 @@ public static boolean validateCarePlanDocumentationOfServiceEvent(CarePlan careP public static boolean validateCarePlanRelatedDocumentParentDocumentId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocumentParentDocumentId", "ERROR"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT_PARENT_DOCUMENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4465,6 +4605,8 @@ public static boolean validateCarePlanRelatedDocumentParentDocumentId(CarePlan c public static boolean validateCarePlanRelatedDocumentParentDocumentSetId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocumentParentDocumentSetId", "ERROR"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT_PARENT_DOCUMENT_SET_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4535,6 +4677,8 @@ public static boolean validateCarePlanRelatedDocumentParentDocumentSetId(CarePla public static boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocumentParentDocumentVersionNumber", "ERROR"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT_PARENT_DOCUMENT_VERSION_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4606,6 +4750,8 @@ public static boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber public static boolean validateCarePlanRelatedDocumentTypeCodeP(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocumentTypeCodeP", "ERROR"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT_TYPE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4691,6 +4837,8 @@ public static boolean validateCarePlanRelatedDocumentTypeCodeP(CarePlan carePlan public static boolean validateCarePlanRelatedDocumentTypeCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocumentTypeCode", "ERROR"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4770,6 +4918,8 @@ public static boolean validateCarePlanRelatedDocumentTypeCode(CarePlan carePlan, public static boolean validateCarePlanRelatedDocumentParentDocument(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocumentParentDocument", "ERROR"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT_PARENT_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4840,6 +4990,8 @@ public static boolean validateCarePlanRelatedDocumentParentDocument(CarePlan car public static boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanComponentOfEncompassingEncounterEffectiveTime", "ERROR"); + if (VALIDATE_CARE_PLAN_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4911,6 +5063,8 @@ public static boolean validateCarePlanComponentOfEncompassingEncounterEffectiveT public static boolean validateCarePlanComponentOfEncompassingEncounter(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_CARE_PLAN_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5159,6 +5313,8 @@ public static InterventionsSection2 getInterventionsSection2(CarePlan carePlan) public static boolean validateUSRealmHeader2TemplateId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanUSRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CaregiverCharacteristicsOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CaregiverCharacteristicsOperations.java index 12caec049e..8a37364ac7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CaregiverCharacteristicsOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CaregiverCharacteristicsOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -107,6 +108,8 @@ public static boolean validateCaregiverCharacteristicsValueCodeSystem( CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsValueCodeSystem", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_VALUE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +176,8 @@ public static boolean validateCaregiverCharacteristicsValueCodeSystem( public static boolean validateCaregiverCharacteristicsTemplateId(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsTemplateId", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +243,8 @@ public static boolean validateCaregiverCharacteristicsTemplateId(CaregiverCharac public static boolean validateCaregiverCharacteristicsClassCode(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsClassCode", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +310,8 @@ public static boolean validateCaregiverCharacteristicsClassCode(CaregiverCharact public static boolean validateCaregiverCharacteristicsMoodCode(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsMoodCode", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +377,8 @@ public static boolean validateCaregiverCharacteristicsMoodCode(CaregiverCharacte public static boolean validateCaregiverCharacteristicsId(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsId", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -432,6 +443,8 @@ public static boolean validateCaregiverCharacteristicsId(CaregiverCharacteristic public static boolean validateCaregiverCharacteristicsCode(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsCode", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -497,6 +510,8 @@ public static boolean validateCaregiverCharacteristicsCode(CaregiverCharacterist public static boolean validateCaregiverCharacteristicsStatusCode(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsStatusCode", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -562,6 +577,8 @@ public static boolean validateCaregiverCharacteristicsStatusCode(CaregiverCharac public static boolean validateCaregiverCharacteristicsStatusCodeP(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsStatusCodeP", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -627,6 +644,8 @@ public static boolean validateCaregiverCharacteristicsStatusCodeP(CaregiverChara public static boolean validateCaregiverCharacteristicsValue(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsValue", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +710,8 @@ public static boolean validateCaregiverCharacteristicsValue(CaregiverCharacteris public static boolean validateCaregiverCharacteristicsParticipant(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipant", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -757,6 +778,9 @@ public static boolean validateCaregiverCharacteristicsParticipantParticipantRole CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipantParticipantRoleClassCode", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT_PARTICIPANT_ROLE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -829,6 +853,8 @@ public static boolean validateCaregiverCharacteristicsParticipantTimeLow( CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipantTimeLow", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -901,6 +927,8 @@ public static boolean validateCaregiverCharacteristicsParticipantTimeHigh( CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipantTimeHigh", "INFO"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -973,6 +1001,9 @@ public static boolean validateCaregiverCharacteristicsParticipantTypeCode( CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipantTypeCode", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1045,6 +1076,8 @@ public static boolean validateCaregiverCharacteristicsParticipantTime( CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipantTime", "INFO"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1117,6 +1150,9 @@ public static boolean validateCaregiverCharacteristicsParticipantParticipantRole CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipantParticipantRole", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CharacteristicsOfHomeEnvironmentOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CharacteristicsOfHomeEnvironmentOperations.java index 07e566bd9a..ade79824c7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CharacteristicsOfHomeEnvironmentOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CharacteristicsOfHomeEnvironmentOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentTemplateId( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentTemplateId", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentClassCode( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentClassCode", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentMoodCode( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentMoodCode", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,8 @@ public static boolean validateCharacteristicsOfHomeEnvironmentId( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentId", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +377,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentCodeP( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentCodeP", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -457,6 +472,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentCode( return true; } + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentCode", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -525,6 +543,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentStatusCode( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentStatusCode", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -592,6 +613,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentStatusCodeP( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentStatusCodeP", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -661,6 +685,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentValue( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentValue", "WARNING"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -728,6 +755,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentValueP( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentValueP", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintAndReasonForVisitSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintAndReasonForVisitSectionOperations.java index ca3434c015..4e0f9287cd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintAndReasonForVisitSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintAndReasonForVisitSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateChiefComplaintAndReasonForVisitSectionTemplateId( ChiefComplaintAndReasonForVisitSection chiefComplaintAndReasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ChiefComplaintAndReasonForVisitSectionChiefComplaintAndReasonForVisitSectionTemplateId", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateChiefComplaintAndReasonForVisitSectionCode( ChiefComplaintAndReasonForVisitSection chiefComplaintAndReasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ChiefComplaintAndReasonForVisitSectionChiefComplaintAndReasonForVisitSectionCode", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateChiefComplaintAndReasonForVisitSectionCodeP( ChiefComplaintAndReasonForVisitSection chiefComplaintAndReasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ChiefComplaintAndReasonForVisitSectionChiefComplaintAndReasonForVisitSectionCodeP", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,9 @@ public static boolean validateChiefComplaintAndReasonForVisitSectionText( ChiefComplaintAndReasonForVisitSection chiefComplaintAndReasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ChiefComplaintAndReasonForVisitSectionChiefComplaintAndReasonForVisitSectionText", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +378,9 @@ public static boolean validateChiefComplaintAndReasonForVisitSectionTitle( ChiefComplaintAndReasonForVisitSection chiefComplaintAndReasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ChiefComplaintAndReasonForVisitSectionChiefComplaintAndReasonForVisitSectionTitle", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintSectionOperations.java index 9fa1f5b441..14f053004f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected ChiefComplaintSectionOperations() { public static boolean validateChiefComplaintSectionTemplateId(ChiefComplaintSection chiefComplaintSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ChiefComplaintSectionChiefComplaintSectionTemplateId", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateChiefComplaintSectionTemplateId(ChiefComplaintSect public static boolean validateChiefComplaintSectionCode(ChiefComplaintSection chiefComplaintSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ChiefComplaintSectionChiefComplaintSectionCode", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateChiefComplaintSectionCode(ChiefComplaintSection ch public static boolean validateChiefComplaintSectionCodeP(ChiefComplaintSection chiefComplaintSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ChiefComplaintSectionChiefComplaintSectionCodeP", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateChiefComplaintSectionCodeP(ChiefComplaintSection c public static boolean validateChiefComplaintSectionText(ChiefComplaintSection chiefComplaintSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ChiefComplaintSectionChiefComplaintSectionText", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -351,6 +360,8 @@ public static boolean validateChiefComplaintSectionText(ChiefComplaintSection ch public static boolean validateChiefComplaintSectionTitle(ChiefComplaintSection chiefComplaintSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ChiefComplaintSectionChiefComplaintSectionTitle", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CodeObservationsOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CodeObservationsOperations.java index 6142275f1f..54d44906ea 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CodeObservationsOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CodeObservationsOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -106,6 +107,8 @@ protected CodeObservationsOperations() { public static boolean validateCodeObservationsTemplateId(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsTemplateId", "ERROR"); + if (VALIDATE_CODE_OBSERVATIONS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateCodeObservationsTemplateId(CodeObservations codeOb public static boolean validateCodeObservationsClassCode(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsClassCode", "ERROR"); + if (VALIDATE_CODE_OBSERVATIONS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateCodeObservationsClassCode(CodeObservations codeObs public static boolean validateCodeObservationsMoodCode(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsMoodCode", "ERROR"); + if (VALIDATE_CODE_OBSERVATIONS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +302,8 @@ public static boolean validateCodeObservationsMoodCode(CodeObservations codeObse public static boolean validateCodeObservationsCode(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsCode", "ERROR"); + if (VALIDATE_CODE_OBSERVATIONS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +367,8 @@ public static boolean validateCodeObservationsCode(CodeObservations codeObservat public static boolean validateCodeObservationsEffectiveTime(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsEffectiveTime", "WARNING"); + if (VALIDATE_CODE_OBSERVATIONS_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -421,6 +432,8 @@ public static boolean validateCodeObservationsEffectiveTime(CodeObservations cod public static boolean validateCodeObservationsValue(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsValue", "ERROR"); + if (VALIDATE_CODE_OBSERVATIONS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -484,6 +497,8 @@ public static boolean validateCodeObservationsValue(CodeObservations codeObserva public static boolean validateCodeObservationsSOPInstanceObservation(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsSOPInstanceObservation", "INFO"); + if (VALIDATE_CODE_OBSERVATIONS_SOP_INSTANCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -549,6 +564,8 @@ public static boolean validateCodeObservationsSOPInstanceObservation(CodeObserva public static boolean validateCodeObservationsQuantityMeasurementObservation(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsQuantityMeasurementObservation", "INFO"); + if (VALIDATE_CODE_OBSERVATIONS_QUANTITY_MEASUREMENT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveAbilitiesObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveAbilitiesObservationOperations.java index 0a27d49549..e23af8ae61 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveAbilitiesObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveAbilitiesObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -107,6 +108,9 @@ public static boolean validateCognitiveAbilitiesObservationTemplateId( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationTemplateId", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -174,6 +178,9 @@ public static boolean validateCognitiveAbilitiesObservationClassCode( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationClassCode", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -241,6 +248,8 @@ public static boolean validateCognitiveAbilitiesObservationMoodCode( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationMoodCode", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -308,6 +317,8 @@ public static boolean validateCognitiveAbilitiesObservationId( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationId", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -374,6 +385,8 @@ public static boolean validateCognitiveAbilitiesObservationCodeP( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationCodeP", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -466,6 +479,8 @@ public static boolean validateCognitiveAbilitiesObservationCode( return true; } + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationCode", "WARNING"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -533,6 +548,8 @@ public static boolean validateCognitiveAbilitiesObservationText( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationText", "WARNING"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -601,6 +618,9 @@ public static boolean validateCognitiveAbilitiesObservationStatusCode( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationStatusCode", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -668,6 +688,9 @@ public static boolean validateCognitiveAbilitiesObservationStatusCodeP( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationStatusCodeP", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -735,6 +758,9 @@ public static boolean validateCognitiveAbilitiesObservationEffectiveTime( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationEffectiveTime", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -804,6 +830,8 @@ public static boolean validateCognitiveAbilitiesObservationValue( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationValue", "WARNING"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -871,6 +899,8 @@ public static boolean validateCognitiveAbilitiesObservationValueP( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationValueP", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -938,6 +968,9 @@ public static boolean validateCognitiveAbilitiesObservationAssessmentScaleObserv CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationAssessmentScaleObservation", "INFO"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1005,6 +1038,9 @@ public static boolean validateCognitiveAbilitiesObservationAuthorParticipation( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationAuthorParticipation", "WARNING"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusProblemObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusProblemObservationOperations.java index a58b6c93c0..66f4a63ca8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusProblemObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusProblemObservationOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -116,6 +117,9 @@ public static boolean validateCognitiveStatusProblemObservationMethodCode( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationCognitiveStatusProblemObservationMethodCode", "INFO"); + if (VALIDATE_COGNITIVE_STATUS_PROBLEM_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -183,6 +187,10 @@ public static boolean validateCognitiveStatusProblemObservationNonMedicinalSuppl CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationCognitiveStatusProblemObservationNonMedicinalSupplyActivity", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_PROBLEM_OBSERVATION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +258,10 @@ public static boolean validateCognitiveStatusProblemObservationCaregiverCharacte CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationCognitiveStatusProblemObservationCaregiverCharacteristics", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_PROBLEM_OBSERVATION_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +329,10 @@ public static boolean validateCognitiveStatusProblemObservationAssessmentScaleOb CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationCognitiveStatusProblemObservationAssessmentScaleObservation", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_PROBLEM_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -533,6 +549,9 @@ public static boolean validateProblemObservationHasTextReference( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationProblemObservationHasTextReference", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -600,6 +619,9 @@ public static boolean validateProblemObservationHasTextReferenceValue( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationProblemObservationHasTextReferenceValue", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -667,6 +689,8 @@ public static boolean validateProblemObservationHasOnsetDate( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationHasOnsetDate", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_ONSET_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -734,6 +758,9 @@ public static boolean validateProblemObservationHasResolutionDate( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationProblemObservationHasResolutionDate", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_RESOLUTION_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +828,8 @@ public static boolean validateProblemObservationTemplateId( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -867,6 +896,8 @@ public static boolean validateProblemObservationClassCode( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationClassCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +963,8 @@ public static boolean validateProblemObservationMoodCode( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationMoodCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -997,6 +1030,8 @@ public static boolean validateProblemObservationNegationInd( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationNegationInd", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1063,6 +1098,8 @@ public static boolean validateProblemObservationId( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1127,6 +1164,8 @@ public static boolean validateProblemObservationCodeP( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationCodeP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1216,6 +1255,8 @@ public static boolean validateProblemObservationCode( return true; } + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationCode", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1280,6 +1321,8 @@ public static boolean validateProblemObservationText( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationText", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1345,6 +1388,8 @@ public static boolean validateProblemObservationStatusCode( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1411,6 +1456,8 @@ public static boolean validateProblemObservationEffectiveTime( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationEffectiveTime", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1478,6 +1525,8 @@ public static boolean validateProblemObservationValueP( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationValueP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1567,6 +1616,8 @@ public static boolean validateProblemObservationValue( return true; } + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationValue", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultObservationOperations.java index 1a8bf9e81c..a84e7110f5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -122,6 +123,9 @@ public static boolean validateCognitiveStatusResultObservationValueDatatype( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationValueDatatype", "WARNING"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_VALUE_DATATYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -189,6 +193,8 @@ public static boolean validateResultObservationCodeP( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -266,6 +272,9 @@ public static boolean validateCognitiveStatusResultObservationAuthor( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationAuthor", "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -333,6 +342,10 @@ public static boolean validateCognitiveStatusResultObservationNonMedicinalSupply CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationNonMedicinalSupplyActivity", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -400,6 +413,10 @@ public static boolean validateCognitiveStatusResultObservationCaregiverCharacter CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationCaregiverCharacteristics", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -467,6 +484,10 @@ public static boolean validateCognitiveStatusResultObservationAssessmentScaleObs CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationAssessmentScaleObservation", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -534,6 +555,9 @@ public static boolean validateCognitiveStatusResultObservationReferenceRange( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationReferenceRange", "WARNING"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -601,6 +625,11 @@ public static boolean validateCognitiveStatusResultObservationReferenceRangeObse CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "CognitiveStatusResultObservationCognitiveStatusResultObservationReferenceRangeObservationRangeNoCode", + "ERROR"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_NO_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -673,6 +702,10 @@ public static boolean validateCognitiveStatusResultObservationReferenceRangeObse CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationReferenceRangeObservationRange", + "ERROR"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -894,6 +927,8 @@ public static boolean validateResultObservationTextReference( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationTextReference", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -960,6 +995,9 @@ public static boolean validateResultObservationTextReferenceValue( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationResultObservationTextReferenceValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1027,6 +1065,8 @@ public static boolean validateResultObservationTemplateId( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationTemplateId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1092,6 +1132,8 @@ public static boolean validateResultObservationClassCode( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationClassCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1157,6 +1199,8 @@ public static boolean validateResultObservationMoodCode( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationMoodCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1221,6 +1265,8 @@ public static boolean validateResultObservationMoodCode( public static boolean validateResultObservationId(CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1296,6 +1342,8 @@ public static boolean validateResultObservationCode( return true; } + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationCode", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1360,6 +1408,8 @@ public static boolean validateResultObservationText( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationText", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1424,6 +1474,8 @@ public static boolean validateResultObservationStatusCodeP( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1512,6 +1564,8 @@ public static boolean validateResultObservationStatusCode( return true; } + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationStatusCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1577,6 +1631,8 @@ public static boolean validateResultObservationEffectiveTime( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationEffectiveTime", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1643,6 +1699,8 @@ public static boolean validateResultObservationValue( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1707,6 +1765,9 @@ public static boolean validateResultObservationInterpretationCode( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationResultObservationInterpretationCode", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1774,6 +1835,8 @@ public static boolean validateResultObservationMethodCode( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationMethodCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1839,6 +1902,8 @@ public static boolean validateResultObservationTargetSiteCode( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationTargetSiteCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultOrganizerOperations.java index 809620ef0c..f8dec718a3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultOrganizerOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,9 @@ public static boolean validateCognitiveStatusResultOrganizerCodeCodeSystem( CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultOrganizerCognitiveStatusResultOrganizerCodeCodeSystem", "WARNING"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_ORGANIZER_CODE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -218,6 +222,8 @@ public static boolean validateResultOrganizerTemplateId( CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerTemplateId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -283,6 +289,8 @@ public static boolean validateResultOrganizerClassCode( CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerClassCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -347,6 +355,8 @@ public static boolean validateResultOrganizerClassCode( public static boolean validateResultOrganizerMoodCode(CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerMoodCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -411,6 +421,8 @@ public static boolean validateResultOrganizerMoodCode(CognitiveStatusResultOrgan public static boolean validateResultOrganizerId(CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -474,6 +486,8 @@ public static boolean validateResultOrganizerId(CognitiveStatusResultOrganizer c public static boolean validateResultOrganizerCode(CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -538,6 +552,8 @@ public static boolean validateResultOrganizerStatusCodeP( CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -626,6 +642,8 @@ public static boolean validateResultOrganizerStatusCode( return true; } + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerStatusCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +709,8 @@ public static boolean validateResultOrganizerResultObservation( CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerResultObservation", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CommentActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CommentActivityOperations.java index 5f03e7ae13..8e7b97d502 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CommentActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CommentActivityOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected CommentActivityOperations() { public static boolean validateCommentActivityTextReference(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityTextReference", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateCommentActivityTextReference(CommentActivity comme public static boolean validateCommentActivityTextReferenceValue(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityTextReferenceValue", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -226,6 +231,8 @@ public static boolean validateCommentActivityTextReferenceValue(CommentActivity public static boolean validateCommentActivityReferenceValue(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityReferenceValue", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateCommentActivityReferenceValue(CommentActivity comm public static boolean validateCommentActivityTemplateId(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityTemplateId", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateCommentActivityTemplateId(CommentActivity commentA public static boolean validateCommentActivityClassCode(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityClassCode", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -415,6 +426,8 @@ public static boolean validateCommentActivityClassCode(CommentActivity commentAc public static boolean validateCommentActivityMoodCode(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityMoodCode", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -480,6 +493,8 @@ public static boolean validateCommentActivityMoodCode(CommentActivity commentAct public static boolean validateCommentActivityCode(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityCode", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -543,6 +558,8 @@ public static boolean validateCommentActivityCode(CommentActivity commentActivit public static boolean validateCommentActivityText(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityText", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -606,6 +623,8 @@ public static boolean validateCommentActivityText(CommentActivity commentActivit public static boolean validateCommentActivityAuthorParticipation(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityAuthorParticipation", "WARNING"); + if (VALIDATE_COMMENT_ACTIVITY_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSection2Operations.java index 894cfd611a..d904dcc396 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ protected ComplicationsSection2Operations() { public static boolean validateComplicationsSectionExplicitComplications(ComplicationsSection2 complicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSection2ComplicationsSectionExplicitComplications", "INFO"); + if (VALIDATE_COMPLICATIONS_SECTION_EXPLICIT_COMPLICATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateComplicationsSectionExplicitComplications(Complica public static boolean validateComplicationsSection2TemplateId(ComplicationsSection2 complicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSection2ComplicationsSection2TemplateId", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -277,6 +282,8 @@ public static EList getConsolProblemObservation2s( public static boolean validateComplicationsSectionCodeP(ComplicationsSection2 complicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSection2ComplicationsSectionCodeP", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +370,8 @@ public static boolean validateComplicationsSectionCode(ComplicationsSection2 com return true; } + DatatypesUtil.increment(context, "ComplicationsSection2ComplicationsSectionCode", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -426,6 +435,8 @@ public static boolean validateComplicationsSectionCode(ComplicationsSection2 com public static boolean validateComplicationsSectionProblemObservation(ComplicationsSection2 complicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSection2ComplicationsSectionProblemObservation", "INFO"); + if (VALIDATE_COMPLICATIONS_SECTION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSectionOperations.java index 8b3af6ed05..857bfa04df 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected ComplicationsSectionOperations() { public static boolean validateComplicationsSectionTemplateId(ComplicationsSection complicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSectionComplicationsSectionTemplateId", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validateComplicationsSectionTemplateId(ComplicationsSectio public static boolean validateComplicationsSectionCode(ComplicationsSection complicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSectionComplicationsSectionCode", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validateComplicationsSectionCode(ComplicationsSection comp public static boolean validateComplicationsSectionCodeP(ComplicationsSection complicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSectionComplicationsSectionCodeP", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -294,6 +301,8 @@ public static boolean validateComplicationsSectionCodeP(ComplicationsSection com public static boolean validateComplicationsSectionTitle(ComplicationsSection complicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSectionComplicationsSectionTitle", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +366,8 @@ public static boolean validateComplicationsSectionTitle(ComplicationsSection com public static boolean validateComplicationsSectionText(ComplicationsSection complicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSectionComplicationsSectionText", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -420,6 +431,8 @@ public static boolean validateComplicationsSectionText(ComplicationsSection comp public static boolean validateComplicationsSectionProblemObservation(ComplicationsSection complicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSectionComplicationsSectionProblemObservation", "INFO"); + if (VALIDATE_COMPLICATIONS_SECTION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNote2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNote2Operations.java index c7c733412e..05fb6fb455 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNote2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNote2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -194,6 +195,11 @@ protected ConsultationNote2Operations() { public static boolean validateConsultationNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2", + "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_HAS_AN_ASSEMENT_AND_PLAN_SECTION2_OR_BOTH_ASSEMENT_SECTION_AND_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -260,6 +266,11 @@ public static boolean validateConsultationNote2HasAnAssementAndPlanSection2OrBot public static boolean validateConsultationNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_DOES_NOT_HAVE_ASSEMENT_AND_PLAN_SECTION2_WHEN_ASSEMENT_OR_PLAN_OF_TREATMENT2_ARE_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -326,6 +337,11 @@ public static boolean validateConsultationNote2DoesNotHaveAssementAndPlanSection public static boolean validateConsultationNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReasonForVisitSection( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReasonForVisitSection", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_DOES_NOT_HAVE_CHIEF_COMPLAINT_WITH_CHIEF_COMPLAINT_OR_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -392,6 +408,10 @@ public static boolean validateConsultationNote2DoesNotHaveChiefComplaintWithChie public static boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_HAS_AN_ASSEMENT_AND_PLAN_SECTION_OR_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -458,6 +478,8 @@ public static boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndi public static boolean validateConsultationNote2CodeP(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2CodeP", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -544,6 +566,8 @@ public static boolean validateConsultationNote2Code(ConsultationNote2 consultati return true; } + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2Code", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -607,6 +631,8 @@ public static boolean validateConsultationNote2Code(ConsultationNote2 consultati public static boolean validateConsultationNote2Participant(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2Participant", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -670,6 +696,8 @@ public static boolean validateConsultationNote2Participant(ConsultationNote2 con public static boolean validateConsultationNote2InFulfillmentOf(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2InFulfillmentOf", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -735,6 +763,8 @@ public static boolean validateConsultationNote2InFulfillmentOf(ConsultationNote2 public static boolean validateConsultationNote2ComponentOf(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ComponentOf", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -798,6 +828,8 @@ public static boolean validateConsultationNote2ComponentOf(ConsultationNote2 con public static boolean validateConsultationNote2AssessmentSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2AssessmentSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -863,6 +895,8 @@ public static boolean validateConsultationNote2AssessmentSection(ConsultationNot public static boolean validateConsultationNote2AssessmentAndPlanSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2AssessmentAndPlanSection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_ASSESSMENT_AND_PLAN_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -928,6 +962,8 @@ public static boolean validateConsultationNote2AssessmentAndPlanSection2(Consult public static boolean validateConsultationNote2PlanOfTreatmentSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2PlanOfTreatmentSection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -993,6 +1029,8 @@ public static boolean validateConsultationNote2PlanOfTreatmentSection2(Consultat public static boolean validateConsultationNote2ReasonForVisitSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ReasonForVisitSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1058,6 +1096,8 @@ public static boolean validateConsultationNote2ReasonForVisitSection(Consultatio public static boolean validateConsultationNote2HistoryOfPresentIllnessSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2HistoryOfPresentIllnessSection", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1124,6 +1164,8 @@ public static boolean validateConsultationNote2HistoryOfPresentIllnessSection(Co public static boolean validateConsultationNote2PhysicalExamSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2PhysicalExamSection2", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_PHYSICAL_EXAM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1189,6 +1231,8 @@ public static boolean validateConsultationNote2PhysicalExamSection2(Consultation public static boolean validateConsultationNote2AllergiesSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2AllergiesSection2", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_ALLERGIES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1254,6 +1298,8 @@ public static boolean validateConsultationNote2AllergiesSection2(ConsultationNot public static boolean validateConsultationNote2ChiefComplaintSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ChiefComplaintSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1319,6 +1365,9 @@ public static boolean validateConsultationNote2ChiefComplaintSection(Consultatio public static boolean validateConsultationNote2ChiefComplaintAndReasonForVisitSection( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1385,6 +1434,8 @@ public static boolean validateConsultationNote2ChiefComplaintAndReasonForVisitSe public static boolean validateConsultationNote2GeneralStatusSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2GeneralStatusSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_GENERAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1450,6 +1501,8 @@ public static boolean validateConsultationNote2GeneralStatusSection(Consultation public static boolean validateConsultationNote2HistoryOfPastIllnessSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2HistoryOfPastIllnessSection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_HISTORY_OF_PAST_ILLNESS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1516,6 +1569,9 @@ public static boolean validateConsultationNote2HistoryOfPastIllnessSection2(Cons public static boolean validateConsultationNote2ImmunizationsSectionEntriesOptional2( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ImmunizationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1582,6 +1638,8 @@ public static boolean validateConsultationNote2ImmunizationsSectionEntriesOption public static boolean validateConsultationNote2MedicationsSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2MedicationsSection2", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_MEDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1647,6 +1705,8 @@ public static boolean validateConsultationNote2MedicationsSection2(ConsultationN public static boolean validateConsultationNote2ProblemSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ProblemSection2", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PROBLEM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1712,6 +1772,8 @@ public static boolean validateConsultationNote2ProblemSection2(ConsultationNote2 public static boolean validateConsultationNote2ProceduresSectionEntriesOptional2( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ProceduresSectionEntriesOptional2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_PROCEDURES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1778,6 +1840,8 @@ public static boolean validateConsultationNote2ProceduresSectionEntriesOptional2 public static boolean validateConsultationNote2ResultsSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ResultsSection2", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_RESULTS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1843,6 +1907,8 @@ public static boolean validateConsultationNote2ResultsSection2(ConsultationNote2 public static boolean validateConsultationNote2SocialHistorySection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2SocialHistorySection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1908,6 +1974,8 @@ public static boolean validateConsultationNote2SocialHistorySection2(Consultatio public static boolean validateConsultationNote2VitalSignsSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2VitalSignsSection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_VITAL_SIGNS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1973,6 +2041,9 @@ public static boolean validateConsultationNote2VitalSignsSection2(ConsultationNo public static boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2AdvanceDirectivesSectionEntriesOptional2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2039,6 +2110,8 @@ public static boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOp public static boolean validateConsultationNote2FunctionalStatusSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2FunctionalStatusSection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_FUNCTIONAL_STATUS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2104,6 +2177,8 @@ public static boolean validateConsultationNote2FunctionalStatusSection2(Consulta public static boolean validateConsultationNote2ReviewOfSystemsSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ReviewOfSystemsSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2169,6 +2244,8 @@ public static boolean validateConsultationNote2ReviewOfSystemsSection(Consultati public static boolean validateConsultationNote2MedicalEquipmentSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2MedicalEquipmentSection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_MEDICAL_EQUIPMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2234,6 +2311,8 @@ public static boolean validateConsultationNote2MedicalEquipmentSection2(Consulta public static boolean validateConsultationNote2MentalStatusSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2MentalStatusSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_MENTAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2299,6 +2378,8 @@ public static boolean validateConsultationNote2MentalStatusSection(ConsultationN public static boolean validateConsultationNote2NutritionSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2NutritionSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_NUTRITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2364,6 +2445,8 @@ public static boolean validateConsultationNote2NutritionSection(ConsultationNote public static boolean validateConsultationNote2FamilyHistorySection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2FamilyHistorySection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_FAMILY_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2429,6 +2512,9 @@ public static boolean validateConsultationNote2FamilyHistorySection2(Consultatio public static boolean validateConsultationNote2ParticipantAssociatedEntityAssociatedPersonName( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityAssociatedPersonName", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2500,6 +2586,9 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityAssoci public static boolean validateConsultationNote2ParticipantAssociatedEntityClassCode( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2571,6 +2660,8 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityClassC public static boolean validateConsultationNote2ParticipantAssociatedEntityId(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityId", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2642,6 +2733,9 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityId(Con public static boolean validateConsultationNote2ParticipantAssociatedEntityAddr(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityAddr", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2713,6 +2807,9 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityAddr(C public static boolean validateConsultationNote2ParticipantAssociatedEntityTelecom( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityTelecom", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2784,6 +2881,9 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityTeleco public static boolean validateConsultationNote2ParticipantAssociatedEntityAssociatedPerson( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityAssociatedPerson", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2855,6 +2955,9 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityAssoci public static boolean validateConsultationNote2ParticipantAssociatedEntityScopingOrganization( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityScopingOrganization", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_SCOPING_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2926,6 +3029,8 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityScopin public static boolean validateConsultationNote2ParticipantTypeCode(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ParticipantTypeCode", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2996,6 +3101,8 @@ public static boolean validateConsultationNote2ParticipantTypeCode(ConsultationN public static boolean validateConsultationNote2ParticipantAssociatedEntity(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntity", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3067,6 +3174,8 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntity(Consu public static boolean validateConsultationNote2InFulfillmentOfOrderId(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2InFulfillmentOfOrderId", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_IN_FULFILLMENT_OF_ORDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3137,6 +3246,8 @@ public static boolean validateConsultationNote2InFulfillmentOfOrderId(Consultati public static boolean validateConsultationNote2InFulfillmentOfOrder(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2InFulfillmentOfOrder", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_IN_FULFILLMENT_OF_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3207,6 +3318,11 @@ public static boolean validateConsultationNote2InFulfillmentOfOrder(Consultation public static boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_DAY_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3278,6 +3394,11 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterG public static boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS", + "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_MINUTE_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3349,6 +3470,11 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterG public static boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS", + "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_SECOND_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3420,6 +3546,11 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterG public static boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS", + "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3491,6 +3622,11 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterG public static boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrganizationOrBoth( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrganizationOrBoth", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_PERSON_ORGANIZATION_OR_BOTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3562,6 +3698,10 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterR public static boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3633,6 +3773,11 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterR public static boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrganizationOrBoth( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrganizationOrBoth", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_HAS_PERSON_ORGANIZATION_OR_BOTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3704,6 +3849,11 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterE public static boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3775,6 +3925,9 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterE public static boolean validateConsultationNote2ComponentOfEncompassingEncounterId( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterId", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3846,6 +3999,9 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterI public static boolean validateConsultationNote2ComponentOfEncompassingEncounterEffectiveTime( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterEffectiveTime", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3917,6 +4073,9 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterE public static boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsibleParty( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterResponsibleParty", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3988,6 +4147,9 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterR public static boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterParticipant( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterEncounterParticipant", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4059,6 +4221,8 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterE public static boolean validateConsultationNote2ComponentOfEncompassingEncounter(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5267,6 +5431,8 @@ public static FamilyHistorySection2 getFamilyHistorySection2(ConsultationNote2 c public static boolean validateUSRealmHeader2TemplateId(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNoteOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNoteOperations.java index 6303a348d9..6c614b0239 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNoteOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNoteOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -180,6 +181,10 @@ protected ConsultationNoteOperations() { public static boolean validateConsultationNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_HAS_AN_ASSEMENT_AND_PLAN_SECTION_OR_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -246,6 +251,11 @@ public static boolean validateConsultationNoteHasAnAssementAndPlanSectionOrIndiv public static boolean validateConsultationNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNoteConsultationNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_DOES_NOT_HAVE_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS_WHEN_ASSEMENT_AND_PLAN_SECTION_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -312,6 +322,11 @@ public static boolean validateConsultationNoteDoesNotHaveIndividualAssementAndPl public static boolean validateConsultationNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNoteConsultationNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_DOES_NOT_HAVE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_WITH_CHIEF_COMPLAINT_SECTION_OR_REASON_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -378,6 +393,9 @@ public static boolean validateConsultationNoteDoesNotHaveChiefComplaintAndReason public static boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteHasReasonForReferralOrReasonForVisit", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_HAS_REASON_FOR_REFERRAL_OR_REASON_FOR_VISIT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -444,6 +462,8 @@ public static boolean validateConsultationNoteHasReasonForReferralOrReasonForVis public static boolean validateGeneralHeaderConstraintsCodeP(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteGeneralHeaderConstraintsCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +540,8 @@ public static boolean validateGeneralHeaderConstraintsCodeP(ConsultationNote con public static boolean validateConsultationNoteComponentOf(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteComponentOf", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -583,6 +605,8 @@ public static boolean validateConsultationNoteComponentOf(ConsultationNote consu public static boolean validateConsultationNoteAssessmentSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteAssessmentSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -648,6 +672,8 @@ public static boolean validateConsultationNoteAssessmentSection(ConsultationNote public static boolean validateConsultationNoteAssessmentAndPlanSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteAssessmentAndPlanSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_ASSESSMENT_AND_PLAN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -713,6 +739,8 @@ public static boolean validateConsultationNoteAssessmentAndPlanSection(Consultat public static boolean validateConsultationNotePlanOfCareSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNotePlanOfCareSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -778,6 +806,8 @@ public static boolean validateConsultationNotePlanOfCareSection(ConsultationNote public static boolean validateConsultationNoteHistoryOfPresentIllness(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteHistoryOfPresentIllness", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_HISTORY_OF_PRESENT_ILLNESS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -843,6 +873,8 @@ public static boolean validateConsultationNoteHistoryOfPresentIllness(Consultati public static boolean validateConsultationNotePhysicalExamSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNotePhysicalExamSection", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE_PHYSICAL_EXAM_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -908,6 +940,8 @@ public static boolean validateConsultationNotePhysicalExamSection(ConsultationNo public static boolean validateConsultationNoteReasonForReferralSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteReasonForReferralSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_REASON_FOR_REFERRAL_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -973,6 +1007,8 @@ public static boolean validateConsultationNoteReasonForReferralSection(Consultat public static boolean validateConsultationNoteReasonForVisitSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteReasonForVisitSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1038,6 +1074,8 @@ public static boolean validateConsultationNoteReasonForVisitSection(Consultation public static boolean validateConsultationNoteAllergiesSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteAllergiesSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_ALLERGIES_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1103,6 +1141,8 @@ public static boolean validateConsultationNoteAllergiesSection(ConsultationNote public static boolean validateConsultationNoteChiefComplaintSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteChiefComplaintSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1168,6 +1208,9 @@ public static boolean validateConsultationNoteChiefComplaintSection(Consultation public static boolean validateConsultationNoteChiefComplaintAndReasonForVisitSection( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1234,6 +1277,8 @@ public static boolean validateConsultationNoteChiefComplaintAndReasonForVisitSec public static boolean validateConsultationNoteFamilyHistorySection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteFamilyHistorySection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_FAMILY_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1299,6 +1344,8 @@ public static boolean validateConsultationNoteFamilyHistorySection(ConsultationN public static boolean validateConsultationNoteGeneralStatusSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteGeneralStatusSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_GENERAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1364,6 +1411,8 @@ public static boolean validateConsultationNoteGeneralStatusSection(ConsultationN public static boolean validateConsultationNoteHistoryOfPastIllnessSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteHistoryOfPastIllnessSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_HISTORY_OF_PAST_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1429,6 +1478,8 @@ public static boolean validateConsultationNoteHistoryOfPastIllnessSection(Consul public static boolean validateConsultationNoteImmunizationsSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteImmunizationsSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_IMMUNIZATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1494,6 +1545,8 @@ public static boolean validateConsultationNoteImmunizationsSection(ConsultationN public static boolean validateConsultationNoteMedicationsSectionEntriesOptional(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteMedicationsSectionEntriesOptional", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1560,6 +1613,8 @@ public static boolean validateConsultationNoteMedicationsSectionEntriesOptional( public static boolean validateConsultationNoteProblemSectionEntriesOptional(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteProblemSectionEntriesOptional", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_PROBLEM_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1626,6 +1681,8 @@ public static boolean validateConsultationNoteProblemSectionEntriesOptional(Cons public static boolean validateConsultationNoteProceduresSectionEntriesOptional(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteProceduresSectionEntriesOptional", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_PROCEDURES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1692,6 +1749,8 @@ public static boolean validateConsultationNoteProceduresSectionEntriesOptional(C public static boolean validateConsultationNoteResultsSectionEntriesOptional(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteResultsSectionEntriesOptional", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_RESULTS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1758,6 +1817,8 @@ public static boolean validateConsultationNoteResultsSectionEntriesOptional(Cons public static boolean validateConsultationNoteReviewOfSystemsSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteReviewOfSystemsSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1823,6 +1884,8 @@ public static boolean validateConsultationNoteReviewOfSystemsSection(Consultatio public static boolean validateConsultationNoteSocialHistorySection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteSocialHistorySection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_SOCIAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1888,6 +1951,8 @@ public static boolean validateConsultationNoteSocialHistorySection(ConsultationN public static boolean validateConsultationNoteVitalSignsSectionEntriesOptional(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteVitalSignsSectionEntriesOptional", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1954,6 +2019,8 @@ public static boolean validateConsultationNoteVitalSignsSectionEntriesOptional(C public static boolean validateConsultationNoteInFulfillmentOf(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteInFulfillmentOf", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2019,6 +2086,11 @@ public static boolean validateConsultationNoteInFulfillmentOf(ConsultationNote c public static boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePartyAssignedEntityHasPersonOrganizationOrBoth( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2ResponsiblePartyAssignedEntityHasPersonOrganizationOrBoth", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_PERSON_ORGANIZATION_OR_BOTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2090,6 +2162,10 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2R public static boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePartyAssignedEntity( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2ResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2161,6 +2237,11 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2R public static boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterParticipantAssignedEntityHasPersonOrganizationOrBoth( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2EncounterParticipantAssignedEntityHasPersonOrganizationOrBoth", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_HAS_PERSON_ORGANIZATION_OR_BOTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2232,6 +2313,11 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2E public static boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterParticipantAssignedEntity( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2EncounterParticipantAssignedEntity", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2303,6 +2389,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2E public static boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheDay( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2PreciseToTheDay", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2374,6 +2463,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2P public static boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheMinute( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2PreciseToTheMinute", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2445,6 +2537,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2P public static boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheSecond( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2PreciseToTheSecond", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2516,6 +2611,11 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2P public static boolean validateConsultationNoteComponentOfEncompassingEncounter2IfMorePreciseThanDayIncludeTimeZoneOffset( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2IfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2587,6 +2687,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2I public static boolean validateConsultationNoteComponentOfEncompassingEncounter2EffectiveTime( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2EffectiveTime", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2658,6 +2761,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2E public static boolean validateConsultationNoteComponentOfEncompassingEncounter2Id(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2Id", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2729,6 +2835,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2I public static boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsibleParty( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2ResponsibleParty", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2800,6 +2909,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2R public static boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterParticipant( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2EncounterParticipant", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2871,6 +2983,8 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2E public static boolean validateConsultationNoteComponentOfEncompassingEncounter(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2942,6 +3056,8 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter(C public static boolean validateConsultationNoteInFulfillmentOfOrderId(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteInFulfillmentOfOrderId", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_IN_FULFILLMENT_OF_ORDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3012,6 +3128,8 @@ public static boolean validateConsultationNoteInFulfillmentOfOrderId(Consultatio public static boolean validateConsultationNoteInFulfillmentOfOrder(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteInFulfillmentOfOrder", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_IN_FULFILLMENT_OF_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4040,6 +4158,8 @@ public static VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOption public static boolean validateGeneralHeaderConstraintsTemplateId(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4115,6 +4235,8 @@ public static boolean validateGeneralHeaderConstraintsCode(ConsultationNote cons return true; } + DatatypesUtil.increment(context, "ConsultationNoteGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocument2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocument2Operations.java index d236529645..ecee6c0357 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocument2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocument2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -155,6 +156,8 @@ protected ContinuityOfCareDocument2Operations() { public static boolean validateContinuityOfCareDocument2CodeP(ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2CodeP", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -243,6 +246,8 @@ public static boolean validateContinuityOfCareDocument2Code(ContinuityOfCareDocu return true; } + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2Code", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -307,6 +312,8 @@ public static boolean validateContinuityOfCareDocument2Code(ContinuityOfCareDocu public static boolean validateContinuityOfCareDocument2Author(ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2Author", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +380,8 @@ public static boolean validateContinuityOfCareDocument2DocumentationOf( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOf", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +449,9 @@ public static boolean validateContinuityOfCareDocument2AllergiesSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2AllergiesSection2", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_ALLERGIES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -507,6 +519,9 @@ public static boolean validateContinuityOfCareDocument2MedicationsSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2MedicationsSection2", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_MEDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -574,6 +589,8 @@ public static boolean validateContinuityOfCareDocument2ProblemSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2ProblemSection2", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_PROBLEM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -641,6 +658,9 @@ public static boolean validateContinuityOfCareDocument2ProceduresSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2ProceduresSection2", "WARNING"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_PROCEDURES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -708,6 +728,8 @@ public static boolean validateContinuityOfCareDocument2ResultsSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2ResultsSection2", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_RESULTS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -775,6 +797,10 @@ public static boolean validateContinuityOfCareDocument2AdvanceDirectivesSectionE ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2AdvanceDirectivesSectionEntriesOptional2", + "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -842,6 +868,9 @@ public static boolean validateContinuityOfCareDocument2EncountersSectionEntriesO ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2EncountersSectionEntriesOptional2", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -909,6 +938,9 @@ public static boolean validateContinuityOfCareDocument2FunctionalStatusSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2FunctionalStatusSection2", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_FUNCTIONAL_STATUS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -976,6 +1008,9 @@ public static boolean validateContinuityOfCareDocument2ImmunizationsSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2ImmunizationsSection2", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_IMMUNIZATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1043,6 +1078,9 @@ public static boolean validateContinuityOfCareDocument2MedicalEquipmentSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2MedicalEquipmentSection2", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_MEDICAL_EQUIPMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1110,6 +1148,8 @@ public static boolean validateContinuityOfCareDocument2PayersSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2PayersSection2", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_PAYERS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1177,6 +1217,9 @@ public static boolean validateContinuityOfCareDocument2PlanOfTreatmentSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2PlanOfTreatmentSection2", "WARNING"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1244,6 +1287,9 @@ public static boolean validateContinuityOfCareDocument2SocialHistorySection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2SocialHistorySection2", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1311,6 +1357,9 @@ public static boolean validateContinuityOfCareDocument2VitalSignsSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2VitalSignsSection2", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_VITAL_SIGNS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1378,6 +1427,9 @@ public static boolean validateContinuityOfCareDocument2MentalStatusSection( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2MentalStatusSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_MENTAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1445,6 +1497,8 @@ public static boolean validateContinuityOfCareDocument2NutritionSection( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2NutritionSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_NUTRITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1512,6 +1566,9 @@ public static boolean validateContinuityOfCareDocument2FamilyHistorySection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2FamilyHistorySection2", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_FAMILY_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1579,6 +1636,11 @@ public static boolean validateContinuityOfCareDocument2AuthorAssignedAuthorHasAs ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocument2ContinuityOfCareDocument2AuthorAssignedAuthorHasAssignedPersonOrRepresentedOrganization", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_AUTHOR_ASSIGNED_AUTHOR_HAS_ASSIGNED_PERSON_OR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1651,6 +1713,10 @@ public static boolean validateContinuityOfCareDocument2AuthorAssignedAuthorHasRe ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2AuthorAssignedAuthorHasRepresentOrganization", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_AUTHOR_ASSIGNED_AUTHOR_HAS_REPRESENT_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1723,6 +1789,9 @@ public static boolean validateContinuityOfCareDocument2AuthorAssignedAuthor( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2AuthorAssignedAuthor", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_AUTHOR_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1795,6 +1864,9 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventIVLTSLow", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1867,6 +1939,9 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventIVLTSHigh", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1939,6 +2014,11 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntityHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2011,6 +2091,11 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntityId", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2083,6 +2168,11 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntityAssignedPerson", + "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2155,6 +2245,10 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventPerformerTypeCode", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2227,6 +2321,11 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntity", + "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2299,6 +2398,9 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventClassCode", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2371,6 +2473,10 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventEffectiveTime", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2443,6 +2549,10 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventPerformer", + "WARNING"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2515,6 +2625,9 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3358,6 +3471,8 @@ public static FamilyHistorySection2 getFamilyHistorySection2(ContinuityOfCareDoc public static boolean validateUSRealmHeader2TemplateId(ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocumentOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocumentOperations.java index 92cf19c3fb..1b2d637cb5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocumentOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocumentOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -158,6 +159,8 @@ protected ContinuityOfCareDocumentOperations() { public static boolean validateContinuityOfCareDocumentCodeP(ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentCodeP", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -246,6 +249,8 @@ public static boolean validateContinuityOfCareDocumentCode(ContinuityOfCareDocum return true; } + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentCode", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -311,6 +316,8 @@ public static boolean validateContinuityOfCareDocumentLanguageCode( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentLanguageCode", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_LANGUAGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -377,6 +384,8 @@ public static boolean validateContinuityOfCareDocumentDocumentationOf( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOf", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -443,6 +452,8 @@ public static boolean validateContinuityOfCareDocumentDocumentationOf( public static boolean validateContinuityOfCareDocumentAuthor(ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentAuthor", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -509,6 +520,8 @@ public static boolean validateContinuityOfCareDocumentAllergiesSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentAllergiesSection", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_ALLERGIES_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -576,6 +589,8 @@ public static boolean validateContinuityOfCareDocumentMedicationsSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentMedicationsSection", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_MEDICATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -643,6 +658,8 @@ public static boolean validateContinuityOfCareDocumentProblemSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentProblemSection", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_PROBLEM_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -710,6 +727,8 @@ public static boolean validateContinuityOfCareDocumentProceduresSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentProceduresSection", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_PROCEDURES_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -777,6 +796,8 @@ public static boolean validateContinuityOfCareDocumentResultsSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentResultsSection", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_RESULTS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -844,6 +865,9 @@ public static boolean validateContinuityOfCareDocumentAdvanceDirectivesSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentAdvanceDirectivesSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_ADVANCE_DIRECTIVES_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -911,6 +935,8 @@ public static boolean validateContinuityOfCareDocumentEncountersSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentEncountersSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_ENCOUNTERS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -978,6 +1004,9 @@ public static boolean validateContinuityOfCareDocumentFamilyHistorySection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentFamilyHistorySection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_FAMILY_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1045,6 +1074,9 @@ public static boolean validateContinuityOfCareDocumentFunctionalStatusSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentFunctionalStatusSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_FUNCTIONAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1112,6 +1144,9 @@ public static boolean validateContinuityOfCareDocumentImmunizationsSectionEntrie ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentImmunizationsSectionEntriesOptional", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1179,6 +1214,9 @@ public static boolean validateContinuityOfCareDocumentMedicalEquipmentSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentMedicalEquipmentSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_MEDICAL_EQUIPMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1246,6 +1284,8 @@ public static boolean validateContinuityOfCareDocumentPayersSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentPayersSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_PAYERS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1313,6 +1353,8 @@ public static boolean validateContinuityOfCareDocumentPlanOfCareSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentPlanOfCareSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1380,6 +1422,9 @@ public static boolean validateContinuityOfCareDocumentSocialHistorySection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentSocialHistorySection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_SOCIAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1447,6 +1492,9 @@ public static boolean validateContinuityOfCareDocumentVitalSignsSectionEntriesOp ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentVitalSignsSectionEntriesOptional", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1514,6 +1562,10 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTimeHigh", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1586,6 +1638,10 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTimeLow", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1658,6 +1714,11 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntityHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1732,6 +1793,11 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntityCode", + "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1804,6 +1870,11 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntityId", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1876,6 +1947,10 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventPerformerTypeCode", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1948,6 +2023,11 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntity", + "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2020,6 +2100,9 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventClassCode", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2092,6 +2175,10 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTime", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2164,6 +2251,9 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventPerformer", "WARNING"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2236,6 +2326,9 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2308,6 +2401,11 @@ public static boolean validateContinuityOfCareDocumentAuthorAssignedAuthorHasAss ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocumentContinuityOfCareDocumentAuthorAssignedAuthorHasAssignedPersonOrRepresentedOrganization", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR_HAS_ASSIGNED_PERSON_OR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2380,6 +2478,10 @@ public static boolean validateContinuityOfCareDocumentAuthorAssignedAuthorHasRep ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentAuthorAssignedAuthorHasRepresentOrganization", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR_HAS_REPRESENT_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2452,6 +2554,9 @@ public static boolean validateContinuityOfCareDocumentAuthorAssignedAuthor( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentAuthorAssignedAuthor", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3205,6 +3310,8 @@ public static VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOption public static boolean validateGeneralHeaderConstraintsTemplateId(ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CourseOfCareSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CourseOfCareSectionOperations.java index f5932c04d3..f13dbae7c4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CourseOfCareSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CourseOfCareSectionOperations.java @@ -8,6 +8,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -86,6 +87,8 @@ protected CourseOfCareSectionOperations() { public static boolean validateCourseOfCareSectionTemplateId(CourseOfCareSection courseOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CourseOfCareSectionCourseOfCareSectionTemplateId", "ERROR"); + if (VALIDATE_COURSE_OF_CARE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -153,6 +156,8 @@ public static boolean validateCourseOfCareSectionTemplateId(CourseOfCareSection public static boolean validateCourseOfCareSectionCode(CourseOfCareSection courseOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CourseOfCareSectionCourseOfCareSectionCode", "ERROR"); + if (VALIDATE_COURSE_OF_CARE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -216,6 +221,8 @@ public static boolean validateCourseOfCareSectionCode(CourseOfCareSection course public static boolean validateCourseOfCareSectionCodeP(CourseOfCareSection courseOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CourseOfCareSectionCourseOfCareSectionCodeP", "ERROR"); + if (VALIDATE_COURSE_OF_CARE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -279,6 +286,8 @@ public static boolean validateCourseOfCareSectionCodeP(CourseOfCareSection cours public static boolean validateCourseOfCareSectionTitle(CourseOfCareSection courseOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CourseOfCareSectionCourseOfCareSectionTitle", "ERROR"); + if (VALIDATE_COURSE_OF_CARE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -342,6 +351,8 @@ public static boolean validateCourseOfCareSectionTitle(CourseOfCareSection cours public static boolean validateCourseOfCareSectionText(CourseOfCareSection courseOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CourseOfCareSectionCourseOfCareSectionText", "ERROR"); + if (VALIDATE_COURSE_OF_CARE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivity2Operations.java index 3562156334..a6c5cf8975 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivity2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -103,6 +104,8 @@ protected CoverageActivity2Operations() { public static boolean validateCoverageActivity2TemplateId(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivity2TemplateId", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -145,6 +148,8 @@ public static boolean validateCoverageActivity2TemplateId(CoverageActivity2 cove public static boolean validateCoverageActivityCodeP(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivityCodeP", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -200,6 +205,8 @@ public static boolean validateCoverageActivityCodeP(CoverageActivity2 coverageAc public static boolean validateCoverageActivity2EntryRelationship(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivity2EntryRelationship", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY2_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -244,6 +251,8 @@ public static boolean validateCoverageActivity2EntryRelationship(CoverageActivit public static boolean validateCoverageActivity2EntryRelationshipINTValue(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivity2EntryRelationshipINTValue", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY2_ENTRY_RELATIONSHIP_INT_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -294,6 +303,8 @@ public static boolean validateCoverageActivity2EntryRelationshipINTValue(Coverag public static boolean validateCoverageActivity2EntryRelationshipTypeCode(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivity2EntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY2_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -344,6 +355,8 @@ public static boolean validateCoverageActivity2EntryRelationshipTypeCode(Coverag public static boolean validateCoverageActivity2EntryRelationshipSequenceNumber(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivity2EntryRelationshipSequenceNumber", "INFO"); + if (VALIDATE_COVERAGE_ACTIVITY2_ENTRY_RELATIONSHIP_SEQUENCE_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -394,6 +407,8 @@ public static boolean validateCoverageActivity2EntryRelationshipSequenceNumber(C public static boolean validateCoverageActivity2EntryRelationshipPolicyActivity2(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivity2EntryRelationshipPolicyActivity2", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY2_ENTRY_RELATIONSHIP_POLICY_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -471,6 +486,9 @@ public static EList getConsolPolicyActivity2s(CoverageActivity2 public static boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber( CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CoverageActivity2CoverageActivityCoverageActivityRelationshipSequenceNumber", "INFO"); + if (VALIDATE_COVERAGE_ACTIVITY_COVERAGE_ACTIVITY_RELATIONSHIP_SEQUENCE_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -714,6 +732,8 @@ public static boolean validateCoverageActivityCode(CoverageActivity2 coverageAct return true; } + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivityCode", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -777,6 +797,8 @@ public static boolean validateCoverageActivityCode(CoverageActivity2 coverageAct public static boolean validateCoverageActivityPolicyActivity(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivityPolicyActivity", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_POLICY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivityOperations.java index 47898a52d2..5493128005 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivityOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -104,6 +105,9 @@ protected CoverageActivityOperations() { public static boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber( CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CoverageActivityCoverageActivityCoverageActivityRelationshipSequenceNumber", "INFO"); + if (VALIDATE_COVERAGE_ACTIVITY_COVERAGE_ACTIVITY_RELATIONSHIP_SEQUENCE_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +174,8 @@ public static boolean validateCoverageActivityCoverageActivityRelationshipSequen public static boolean validateCoverageActivityTemplateId(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityTemplateId", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +239,8 @@ public static boolean validateCoverageActivityTemplateId(CoverageActivity covera public static boolean validateCoverageActivityClassCode(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityClassCode", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -275,6 +283,8 @@ public static boolean validateCoverageActivityClassCode(CoverageActivity coverag public static boolean validateCoverageActivityCode(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityCode", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +327,8 @@ public static boolean validateCoverageActivityCode(CoverageActivity coverageActi public static boolean validateCoverageActivityId(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityId", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +436,8 @@ public static boolean validateCoverageActivityId(CoverageActivity coverageActivi public static boolean validateCoverageActivityMoodCode(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityMoodCode", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -488,6 +502,8 @@ public static boolean validateCoverageActivityMoodCode(CoverageActivity coverage public static boolean validateCoverageActivityStatusCode(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityStatusCode", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -551,6 +567,8 @@ public static boolean validateCoverageActivityStatusCode(CoverageActivity covera public static boolean validateCoverageActivityPolicyActivity(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityPolicyActivity", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_POLICY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CriticalityObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CriticalityObservationOperations.java index 7725ff6f37..279ad1bad0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CriticalityObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CriticalityObservationOperations.java @@ -9,6 +9,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -91,6 +92,8 @@ protected CriticalityObservationOperations() { public static boolean validateCriticalityObservationTemplateId(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationTemplateId", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -156,6 +159,8 @@ public static boolean validateCriticalityObservationTemplateId(CriticalityObserv public static boolean validateCriticalityObservationClassCode(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationClassCode", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -221,6 +226,8 @@ public static boolean validateCriticalityObservationClassCode(CriticalityObserva public static boolean validateCriticalityObservationMoodCode(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationMoodCode", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +292,8 @@ public static boolean validateCriticalityObservationMoodCode(CriticalityObservat public static boolean validateCriticalityObservationCodeP(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationCodeP", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +381,8 @@ public static boolean validateCriticalityObservationCode(CriticalityObservation return true; } + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationCode", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validateCriticalityObservationCode(CriticalityObservation public static boolean validateCriticalityObservationStatusCode(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationStatusCode", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +515,8 @@ public static boolean validateCriticalityObservationStatusCode(CriticalityObserv public static boolean validateCriticalityObservationStatusCodeP(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationStatusCodeP", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -569,6 +584,8 @@ public static boolean validateCriticalityObservationStatusCodeP(CriticalityObser public static boolean validateCriticalityObservationValue(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationValue", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -633,6 +650,8 @@ public static boolean validateCriticalityObservationValue(CriticalityObservation public static boolean validateCriticalityObservationValueP(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationValueP", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CulturalAndReligiousObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CulturalAndReligiousObservationOperations.java index 7beefa5f18..510617eef0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CulturalAndReligiousObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CulturalAndReligiousObservationOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,10 @@ public static boolean validateCulturalAndReligiousObservationValueOfTypeCDIsFrom CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationValueOfTypeCDIsFromSnomed", + "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_VALUE_OF_TYPE_CD_IS_FROM_SNOMED__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +169,9 @@ public static boolean validateCulturalAndReligiousObservationTemplateId( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationTemplateId", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +239,9 @@ public static boolean validateCulturalAndReligiousObservationClassCode( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationClassCode", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +309,9 @@ public static boolean validateCulturalAndReligiousObservationMoodCode( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationMoodCode", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +379,8 @@ public static boolean validateCulturalAndReligiousObservationId( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CulturalAndReligiousObservationCulturalAndReligiousObservationId", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -432,6 +448,9 @@ public static boolean validateCulturalAndReligiousObservationCodeP( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationCodeP", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -524,6 +543,8 @@ public static boolean validateCulturalAndReligiousObservationCode( return true; } + DatatypesUtil.increment(context, "CulturalAndReligiousObservationCulturalAndReligiousObservationCode", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -592,6 +613,9 @@ public static boolean validateCulturalAndReligiousObservationStatusCode( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationStatusCode", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -659,6 +683,9 @@ public static boolean validateCulturalAndReligiousObservationStatusCodeP( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationStatusCodeP", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -726,6 +753,9 @@ public static boolean validateCulturalAndReligiousObservationValue( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationValue", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DICOMObjectCatalogSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DICOMObjectCatalogSectionOperations.java index 43482a9d23..25b2995030 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DICOMObjectCatalogSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DICOMObjectCatalogSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ public static boolean validateDICOMObjectCatalogSectionTemplateId( DICOMObjectCatalogSection dicomObjectCatalogSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DICOMObjectCatalogSectionDICOMObjectCatalogSectionTemplateId", "ERROR"); + if (VALIDATE_DICOM_OBJECT_CATALOG_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validateDICOMObjectCatalogSectionTemplateId( public static boolean validateDICOMObjectCatalogSectionCode(DICOMObjectCatalogSection dicomObjectCatalogSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DICOMObjectCatalogSectionDICOMObjectCatalogSectionCode", "ERROR"); + if (VALIDATE_DICOM_OBJECT_CATALOG_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateDICOMObjectCatalogSectionCode(DICOMObjectCatalogSe public static boolean validateDICOMObjectCatalogSectionCodeP(DICOMObjectCatalogSection dicomObjectCatalogSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DICOMObjectCatalogSectionDICOMObjectCatalogSectionCodeP", "ERROR"); + if (VALIDATE_DICOM_OBJECT_CATALOG_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateDICOMObjectCatalogSectionCodeP(DICOMObjectCatalogS public static boolean validateDICOMObjectCatalogSectionStudyAct(DICOMObjectCatalogSection dicomObjectCatalogSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DICOMObjectCatalogSectionDICOMObjectCatalogSectionStudyAct", "ERROR"); + if (VALIDATE_DICOM_OBJECT_CATALOG_SECTION_STUDY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservation2Operations.java index 1595efb7db..22cfc8d097 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservation2Operations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -93,6 +94,8 @@ protected DeceasedObservation2Operations() { public static boolean validateDeceasedObservation2TemplateId(DeceasedObservation2 deceasedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservation2DeceasedObservation2TemplateId", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -203,6 +206,8 @@ public static ProblemObservation2 getConsolProblemObservation2(DeceasedObservati public static boolean validateDeceasedObservationCodeP(DeceasedObservation2 deceasedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservation2DeceasedObservationCodeP", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +294,8 @@ public static boolean validateDeceasedObservationCode(DeceasedObservation2 decea return true; } + DatatypesUtil.increment(context, "DeceasedObservation2DeceasedObservationCode", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +359,8 @@ public static boolean validateDeceasedObservationCode(DeceasedObservation2 decea public static boolean validateDeceasedObservationProblemObservation(DeceasedObservation2 deceasedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservation2DeceasedObservationProblemObservation", "WARNING"); + if (VALIDATE_DECEASED_OBSERVATION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservationOperations.java index 0326575db7..a013065c96 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservationOperations.java @@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,8 @@ protected DeceasedObservationOperations() { public static boolean validateDeceasedObservationEffectiveTimeLow(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationEffectiveTimeLow", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validateDeceasedObservationEffectiveTimeLow(DeceasedObserv public static boolean validateDeceasedObservationTemplateId(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationTemplateId", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateDeceasedObservationTemplateId(DeceasedObservation public static boolean validateDeceasedObservationClassCode(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationClassCode", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validateDeceasedObservationClassCode(DeceasedObservation d public static boolean validateDeceasedObservationMoodCode(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationMoodCode", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validateDeceasedObservationMoodCode(DeceasedObservation de public static boolean validateDeceasedObservationId(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationId", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -422,6 +433,8 @@ public static boolean validateDeceasedObservationId(DeceasedObservation deceased public static boolean validateDeceasedObservationCodeP(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationCodeP", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -508,6 +521,8 @@ public static boolean validateDeceasedObservationCode(DeceasedObservation deceas return true; } + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationCode", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -572,6 +587,8 @@ public static boolean validateDeceasedObservationCode(DeceasedObservation deceas public static boolean validateDeceasedObservationStatusCode(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationStatusCode", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -636,6 +653,8 @@ public static boolean validateDeceasedObservationStatusCode(DeceasedObservation public static boolean validateDeceasedObservationStatusCodeP(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationStatusCodeP", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -701,6 +720,8 @@ public static boolean validateDeceasedObservationStatusCodeP(DeceasedObservation public static boolean validateDeceasedObservationEffectiveTime(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationEffectiveTime", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -768,6 +789,8 @@ public static boolean validateDeceasedObservationEffectiveTime(DeceasedObservati public static boolean validateDeceasedObservationValue(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationValue", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -831,6 +854,8 @@ public static boolean validateDeceasedObservationValue(DeceasedObservation decea public static boolean validateDeceasedObservationValueP(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationValueP", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -894,6 +919,8 @@ public static boolean validateDeceasedObservationValueP(DeceasedObservation dece public static boolean validateDeceasedObservationProblemObservation(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationProblemObservation", "WARNING"); + if (VALIDATE_DECEASED_OBSERVATION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReport2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReport2Operations.java index 3e7c49ca65..643aef8962 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReport2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReport2Operations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -155,6 +156,8 @@ protected DiagnosticImagingReport2Operations() { public static boolean validateDiagnosticImagingReport2Id(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2Id", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -219,6 +222,8 @@ public static boolean validateDiagnosticImagingReport2Id(DiagnosticImagingReport public static boolean validateDiagnosticImagingReport2CodeP(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2CodeP", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +311,8 @@ public static boolean validateDiagnosticImagingReport2Code(DiagnosticImagingRepo return true; } + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2Code", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -371,6 +378,9 @@ public static boolean validateDiagnosticImagingReport2InformationRecipient( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2InformationRecipient", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +447,8 @@ public static boolean validateDiagnosticImagingReport2InformationRecipient( public static boolean validateDiagnosticImagingReport2Participant(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2Participant", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -503,6 +515,8 @@ public static boolean validateDiagnosticImagingReport2InFulfillmentOf( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2InFulfillmentOf", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -570,6 +584,8 @@ public static boolean validateDiagnosticImagingReport2DocumentationOf( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2DocumentationOf", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -637,6 +653,8 @@ public static boolean validateDiagnosticImagingReport2RelatedDocument( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2RelatedDocument", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_RELATED_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -703,6 +721,8 @@ public static boolean validateDiagnosticImagingReport2RelatedDocument( public static boolean validateDiagnosticImagingReport2ComponentOf(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOf", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -769,6 +789,8 @@ public static boolean validateDiagnosticImagingReport2FindingsSection( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2FindingsSection", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_FINDINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -836,6 +858,9 @@ public static boolean validateDiagnosticImagingReport2DICOMObjectCatalogSection( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2DICOMObjectCatalogSection", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DICOM_OBJECT_CATALOG_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -902,6 +927,8 @@ public static boolean validateDiagnosticImagingReport2DICOMObjectCatalogSection( public static boolean validateDiagnosticImagingReport2Component2(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2Component2", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -967,6 +994,8 @@ public static boolean validateDiagnosticImagingReport2Component2(DiagnosticImagi public static boolean validateDiagnosticImagingReport2Informant(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2Informant", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_INFORMANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1033,6 +1062,9 @@ public static boolean validateDiagnosticImagingReport2IIRootOIDsMustBeNoMoreThan DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2IIRootOIDsMustBeNoMoreThan64Characters", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_II_ROOT_OI_DS_MUST_BE_NO_MORE_THAN64_CHARACTERS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1104,6 +1136,8 @@ public static boolean validateDiagnosticImagingReport2IIRootOIDsMustBeNoMoreThan public static boolean validateDiagnosticImagingReport2IIRoot(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2IIRoot", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_II_ROOT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1175,6 +1209,9 @@ public static boolean validateDiagnosticImagingReport2ParticipantAssociatedEntit DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ParticipantAssociatedEntityPersonName", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_PARTICIPANT_ASSOCIATED_ENTITY_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1247,6 +1284,10 @@ public static boolean validateDiagnosticImagingReport2ParticipantAssociatedEntit DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ParticipantAssociatedEntityAssociatedPerson", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_PARTICIPANT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1319,6 +1360,9 @@ public static boolean validateDiagnosticImagingReport2ParticipantAssociatedEntit DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ParticipantAssociatedEntity", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_PARTICIPANT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1391,6 +1435,9 @@ public static boolean validateDiagnosticImagingReport2InFulfillmentOfOrderId( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2InFulfillmentOfOrderId", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_IN_FULFILLMENT_OF_ORDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1463,6 +1510,9 @@ public static boolean validateDiagnosticImagingReport2InFulfillmentOfOrder( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2InFulfillmentOfOrder", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_IN_FULFILLMENT_OF_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1535,6 +1585,9 @@ public static boolean validateDiagnosticImagingReport2DocumentationOfServiceEven DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2DocumentationOfServiceEventClassCode", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DOCUMENTATION_OF_SERVICE_EVENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1607,6 +1660,9 @@ public static boolean validateDiagnosticImagingReport2DocumentationOfServiceEven DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2DocumentationOfServiceEventId", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DOCUMENTATION_OF_SERVICE_EVENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1679,6 +1735,9 @@ public static boolean validateDiagnosticImagingReport2DocumentationOfServiceEven DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2DocumentationOfServiceEventCode", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DOCUMENTATION_OF_SERVICE_EVENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1751,6 +1810,11 @@ public static boolean validateDiagnosticImagingReport2DocumentationOfServiceEven DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2DocumentationOfServiceEventPhysicianReadingStudyPerformer2", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DOCUMENTATION_OF_SERVICE_EVENT_PHYSICIAN_READING_STUDY_PERFORMER2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1823,6 +1887,9 @@ public static boolean validateDiagnosticImagingReport2DocumentationOfServiceEven DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2DocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1895,6 +1962,10 @@ public static boolean validateDiagnosticImagingReport2RelatedDocumentParentDocum DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2RelatedDocumentParentDocumentIIOidsLength", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_RELATED_DOCUMENT_PARENT_DOCUMENT_II_OIDS_LENGTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1967,6 +2038,9 @@ public static boolean validateDiagnosticImagingReport2RelatedDocumentParentDocum DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2RelatedDocumentParentDocumentId", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_RELATED_DOCUMENT_PARENT_DOCUMENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2039,6 +2113,9 @@ public static boolean validateDiagnosticImagingReport2RelatedDocumentParentDocum DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2RelatedDocumentParentDocument", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_RELATED_DOCUMENT_PARENT_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2111,6 +2188,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_DAY_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2183,6 +2265,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_MINUTE_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2255,6 +2342,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_SECOND_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2327,6 +2419,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2399,6 +2496,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasAssignPersonOrRepresentedOrganization", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_ASSIGN_PERSON_OR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2471,6 +2573,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2543,6 +2650,9 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterId", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2615,6 +2725,10 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterEffectiveTime", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2687,6 +2801,10 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterResponsibleParty", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2759,6 +2877,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterPhysicianofRecordParticipant2", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_PHYSICIANOF_RECORD_PARTICIPANT2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2831,6 +2954,9 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2903,6 +3029,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSubjectFetusSubjectContext", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_SUBJECT_FETUS_SUBJECT_CONTEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2975,6 +3106,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSectionsHaveText", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_SECTIONS_HAVE_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3049,6 +3185,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionCode", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3121,6 +3261,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionCodeP", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3193,6 +3337,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionTitle", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3265,6 +3413,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionText", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3337,6 +3489,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSubject", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_SUBJECT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3409,6 +3565,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionAuthor", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3481,6 +3641,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionProcedureContext", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_PROCEDURE_CONTEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3553,6 +3718,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionTextObservation", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_TEXT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3625,6 +3795,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionCodeObservations", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_CODE_OBSERVATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3697,6 +3872,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionQuantityMeasurementObservation", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_QUANTITY_MEASUREMENT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3769,6 +3949,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSOPInstanceObservation", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_SOP_INSTANCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3841,6 +4026,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3Section", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3913,6 +4102,9 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3985,6 +4177,9 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBody( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBody", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4148,6 +4343,8 @@ public static DICOMObjectCatalogSection getDICOMObjectCatalogSection( public static boolean validateUSRealmHeader2TemplateId(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReportOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReportOperations.java index 1f599772ce..e35ade795a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReportOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReportOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -132,6 +133,9 @@ protected DiagnosticImagingReportOperations() { public static boolean validateDiagnosticImagingReportUseDiagnosticImagingCode( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportUseDiagnosticImagingCode", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_USE_DIAGNOSTIC_IMAGING_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -198,6 +202,9 @@ public static boolean validateDiagnosticImagingReportUseDiagnosticImagingCode( public static boolean validateDiagnosticImagingReportAllSectionsHaveTitle( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportAllSectionsHaveTitle", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_ALL_SECTIONS_HAVE_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -264,6 +271,8 @@ public static boolean validateDiagnosticImagingReportAllSectionsHaveTitle( public static boolean validateDiagnosticImagingReportSectionsHaveText( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportSectionsHaveText", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_SECTIONS_HAVE_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -330,6 +339,8 @@ public static boolean validateDiagnosticImagingReportSectionsHaveText( public static boolean validateGeneralHeaderConstraintsCodeP(DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportGeneralHeaderConstraintsCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -407,6 +418,8 @@ public static boolean validateGeneralHeaderConstraintsCodeP(DiagnosticImagingRep public static boolean validateDiagnosticImagingReportInformant(DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportInformant", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_INFORMANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -472,6 +485,8 @@ public static boolean validateDiagnosticImagingReportInformant(DiagnosticImaging public static boolean validateDiagnosticImagingReportInformationRecipient( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportInformationRecipient", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -538,6 +553,8 @@ public static boolean validateDiagnosticImagingReportInformationRecipient( public static boolean validateDiagnosticImagingReportParticipant1(DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportParticipant1", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_PARTICIPANT1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -603,6 +620,8 @@ public static boolean validateDiagnosticImagingReportParticipant1(DiagnosticImag public static boolean validateDiagnosticImagingReportInFulfillmentOf( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportInFulfillmentOf", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -669,6 +688,8 @@ public static boolean validateDiagnosticImagingReportInFulfillmentOf( public static boolean validateDiagnosticImagingReportDocumentationOf( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportDocumentationOf", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -735,6 +756,8 @@ public static boolean validateDiagnosticImagingReportDocumentationOf( public static boolean validateDiagnosticImagingReportRelatedDocument( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportRelatedDocument", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_RELATED_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +824,8 @@ public static boolean validateDiagnosticImagingReportRelatedDocument( public static boolean validateDiagnosticImagingReportComponentOf(DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportComponentOf", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -866,6 +891,8 @@ public static boolean validateDiagnosticImagingReportComponentOf(DiagnosticImagi public static boolean validateDiagnosticImagingReportFindingsSection( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportFindingsSection", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_FINDINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +959,9 @@ public static boolean validateDiagnosticImagingReportFindingsSection( public static boolean validateDiagnosticImagingReportDICOMObjectCatalogSection( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportDICOMObjectCatalogSection", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DICOM_OBJECT_CATALOG_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -998,6 +1028,9 @@ public static boolean validateDiagnosticImagingReportDICOMObjectCatalogSection( public static boolean validateDiagnosticImagingReportParticipantAssociatedEntityPersonName( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportParticipantAssociatedEntityPersonName", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_PARTICIPANT_ASSOCIATED_ENTITY_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1069,6 +1102,10 @@ public static boolean validateDiagnosticImagingReportParticipantAssociatedEntity public static boolean validateDiagnosticImagingReportParticipantAssociatedEntityAssociatedPerson( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportParticipantAssociatedEntityAssociatedPerson", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_PARTICIPANT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1140,6 +1177,9 @@ public static boolean validateDiagnosticImagingReportParticipantAssociatedEntity public static boolean validateDiagnosticImagingReportParticipantAssociatedEntity( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportParticipantAssociatedEntity", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_PARTICIPANT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1211,6 +1251,9 @@ public static boolean validateDiagnosticImagingReportParticipantAssociatedEntity public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4ClassCode( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportDocumentationOfServiceEvent4ClassCode", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DOCUMENTATION_OF_SERVICE_EVENT4_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1282,6 +1325,9 @@ public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4Code( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportDocumentationOfServiceEvent4Code", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DOCUMENTATION_OF_SERVICE_EVENT4_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1353,6 +1399,9 @@ public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4Id( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportDocumentationOfServiceEvent4Id", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DOCUMENTATION_OF_SERVICE_EVENT4_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1424,6 +1473,11 @@ public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4PhysicianReadingStudyPerformer( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportDocumentationOfServiceEvent4PhysicianReadingStudyPerformer", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DOCUMENTATION_OF_SERVICE_EVENT4_PHYSICIAN_READING_STUDY_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1495,6 +1549,9 @@ public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent3( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportDocumentationOfServiceEvent3", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DOCUMENTATION_OF_SERVICE_EVENT3__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1566,6 +1623,11 @@ public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsiblePartyAssignedEntityHasAssignPersonOrRepresentedOrganization( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsiblePartyAssignedEntityHasAssignPersonOrRepresentedOrganization", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_ASSIGN_PERSON_OR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1637,6 +1699,11 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsiblePartyAssignedEntity( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1708,6 +1775,10 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheDay( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheDay", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1779,6 +1850,11 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheMinute( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheMinute", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1850,6 +1926,11 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheSecond( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheSecond", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1921,6 +2002,11 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7IfMorePreciseThanDayIncludeTimeZoneOffset( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7IfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1992,6 +2078,10 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7EffectiveTime( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7EffectiveTime", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2063,6 +2153,9 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Id( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7Id", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2134,6 +2227,11 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PhysicianofRecordParticipant( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7PhysicianofRecordParticipant", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_PHYSICIANOF_RECORD_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2205,6 +2303,10 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsibleParty( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsibleParty", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2276,6 +2378,9 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2439,6 +2544,8 @@ public static DICOMObjectCatalogSection getDICOMObjectCatalogSection( public static boolean validateGeneralHeaderConstraintsTemplateId(DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2514,6 +2621,8 @@ public static boolean validateGeneralHeaderConstraintsCode(DiagnosticImagingRepo return true; } + DatatypesUtil.increment(context, "DiagnosticImagingReportGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2578,6 +2687,8 @@ public static boolean validateGeneralHeaderConstraintsCode(DiagnosticImagingRepo public static boolean validateGeneralHeaderConstraintsId(DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportGeneralHeaderConstraintsId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDiagnosisSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDiagnosisSection2Operations.java index 88fefd81ea..ff50d91d23 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDiagnosisSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDiagnosisSection2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -94,6 +95,8 @@ public static boolean validateDischargeDiagnosisSection2TemplateId( DischargeDiagnosisSection2 dischargeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDiagnosisSection2DischargeDiagnosisSection2TemplateId", "ERROR"); + if (VALIDATE_DISCHARGE_DIAGNOSIS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,8 @@ public static boolean validateDischargeDiagnosisSection2CETranslation( DischargeDiagnosisSection2 dischargeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDiagnosisSection2DischargeDiagnosisSection2CETranslation", "ERROR"); + if (VALIDATE_DISCHARGE_DIAGNOSIS_SECTION2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +240,8 @@ public static boolean validateDischargeDiagnosisSection2CETranslationP( DischargeDiagnosisSection2 dischargeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDiagnosisSection2DischargeDiagnosisSection2CETranslationP", "ERROR"); + if (VALIDATE_DISCHARGE_DIAGNOSIS_SECTION2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +361,8 @@ public static boolean validateHospitalDischargeDiagnosisSectionCodeP( DischargeDiagnosisSection2 dischargeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDiagnosisSection2HospitalDischargeDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -445,6 +454,8 @@ public static boolean validateHospitalDischargeDiagnosisSectionCode( return true; } + DatatypesUtil.increment(context, "DischargeDiagnosisSection2HospitalDischargeDiagnosisSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +523,10 @@ public static boolean validateHospitalDischargeDiagnosisSectionHospitalDischarge DischargeDiagnosisSection2 dischargeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeDiagnosisSection2HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosis", + "WARNING"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_HOSPITAL_DISCHARGE_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDietSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDietSectionOperations.java index 031bba2cdf..df7b430c98 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDietSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDietSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected DischargeDietSectionOperations() { public static boolean validateDischargeDietSectionTemplateId(DischargeDietSection dischargeDietSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDietSectionDischargeDietSectionTemplateId", "ERROR"); + if (VALIDATE_DISCHARGE_DIET_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateDischargeDietSectionTemplateId(DischargeDietSectio public static boolean validateDischargeDietSectionCode(DischargeDietSection dischargeDietSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDietSectionDischargeDietSectionCode", "ERROR"); + if (VALIDATE_DISCHARGE_DIET_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateDischargeDietSectionCode(DischargeDietSection disc public static boolean validateDischargeDietSectionCodeP(DischargeDietSection dischargeDietSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDietSectionDischargeDietSectionCodeP", "ERROR"); + if (VALIDATE_DISCHARGE_DIET_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateDischargeDietSectionCodeP(DischargeDietSection dis public static boolean validateDischargeDietSectionTitle(DischargeDietSection dischargeDietSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDietSectionDischargeDietSectionTitle", "ERROR"); + if (VALIDATE_DISCHARGE_DIET_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -350,6 +359,8 @@ public static boolean validateDischargeDietSectionTitle(DischargeDietSection dis public static boolean validateDischargeDietSectionText(DischargeDietSection dischargeDietSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDietSectionDischargeDietSectionText", "ERROR"); + if (VALIDATE_DISCHARGE_DIET_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedication2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedication2Operations.java index bde6062563..69fc26abab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedication2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedication2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -101,6 +102,8 @@ protected DischargeMedication2Operations() { public static boolean validateDischargeMedication2TemplateId(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedication2TemplateId", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -144,6 +147,8 @@ public static boolean validateDischargeMedication2TemplateId(DischargeMedication public static boolean validateDischargeMedicationCodeP(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedicationCodeP", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -199,6 +204,8 @@ public static boolean validateDischargeMedicationCodeP(DischargeMedication2 disc public static boolean validateDischargeMedication2StatusCode(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedication2StatusCode", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -242,6 +249,8 @@ public static boolean validateDischargeMedication2StatusCode(DischargeMedication public static boolean validateDischargeMedication2StatusCodeP(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedication2StatusCodeP", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -286,6 +295,8 @@ public static boolean validateDischargeMedication2StatusCodeP(DischargeMedicatio public static boolean validateDischargeMedication2CDTranslation(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedication2CDTranslation", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -335,6 +346,8 @@ public static boolean validateDischargeMedication2CDTranslation(DischargeMedicat public static boolean validateDischargeMedication2CDTranslationP(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedication2CDTranslationP", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -571,6 +584,8 @@ public static boolean validateDischargeMedicationCode(DischargeMedication2 disch return true; } + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedicationCode", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -634,6 +649,8 @@ public static boolean validateDischargeMedicationCode(DischargeMedication2 disch public static boolean validateDischargeMedicationMedicationActivity(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedicationMedicationActivity", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationOperations.java index 9735dd723c..fff12fb2a5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected DischargeMedicationOperations() { public static boolean validateDischargeMedicationMedicationActivity(DischargeMedication dischargeMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationDischargeMedicationMedicationActivity", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateDischargeMedicationMedicationActivity(DischargeMed public static boolean validateDischargeMedicationTemplateId(DischargeMedication dischargeMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationDischargeMedicationTemplateId", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateDischargeMedicationTemplateId(DischargeMedication public static boolean validateDischargeMedicationClassCode(DischargeMedication dischargeMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationDischargeMedicationClassCode", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -294,6 +301,8 @@ public static boolean validateDischargeMedicationClassCode(DischargeMedication d public static boolean validateDischargeMedicationMoodCode(DischargeMedication dischargeMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationDischargeMedicationMoodCode", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validateDischargeMedicationMoodCode(DischargeMedication di public static boolean validateDischargeMedicationCode(DischargeMedication dischargeMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationDischargeMedicationCode", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSection2Operations.java index d9d2b9e803..636c3bda65 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSection2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -99,6 +100,8 @@ public static boolean validateDischargeMedicationsSection2NullFlavor( DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationsSection2DischargeMedicationsSection2NullFlavor", "INFO"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateDischargeMedicationsSection2CodeP( DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationsSection2DischargeMedicationsSection2CodeP", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -257,6 +262,8 @@ public static boolean validateDischargeMedicationsSection2Code( return true; } + DatatypesUtil.increment(context, "DischargeMedicationsSection2DischargeMedicationsSection2Code", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -323,6 +330,8 @@ public static boolean validateDischargeMedicationsSection2Title( DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationsSection2DischargeMedicationsSection2Title", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -390,6 +399,8 @@ public static boolean validateDischargeMedicationsSection2Text( DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationsSection2DischargeMedicationsSection2Text", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -458,6 +469,9 @@ public static boolean validateDischargeMedicationsSection2CETranslation( DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeMedicationsSection2DischargeMedicationsSection2CETranslation", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -530,6 +544,9 @@ public static boolean validateDischargeMedicationsSection2CETranslationP( DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeMedicationsSection2DischargeMedicationsSection2CETranslationP", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -602,6 +619,10 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeMedicationsSection2HospitalDischargeMedicationsSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -669,6 +690,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeMedicationsSection2HospitalDischargeMedicationsSectionEntriesOptionalDischargeMedication", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_DISCHARGE_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSectionEntriesOptional2Operations.java index 744f33bcac..8182f9e326 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSectionEntriesOptional2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -99,6 +100,11 @@ public static boolean validateDischargeMedicationsSectionEntriesOptional2CETrans DischargeMedicationsSectionEntriesOptional2 dischargeMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeMedicationsSectionEntriesOptional2DischargeMedicationsSectionEntriesOptional2CETranslation", + "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -171,6 +177,11 @@ public static boolean validateDischargeMedicationsSectionEntriesOptional2CETrans DischargeMedicationsSectionEntriesOptional2 dischargeMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeMedicationsSectionEntriesOptional2DischargeMedicationsSectionEntriesOptional2CETranslationP", + "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +304,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional DischargeMedicationsSectionEntriesOptional2 dischargeMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeMedicationsSectionEntriesOptional2HospitalDischargeMedicationsSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -360,6 +376,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional DischargeMedicationsSectionEntriesOptional2 dischargeMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeMedicationsSectionEntriesOptional2HospitalDischargeMedicationsSectionEntriesOptionalCodeP", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -454,6 +475,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional return true; } + DatatypesUtil.increment( + context, + "DischargeMedicationsSectionEntriesOptional2HospitalDischargeMedicationsSectionEntriesOptionalCode", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -521,6 +547,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional DischargeMedicationsSectionEntriesOptional2 dischargeMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeMedicationsSectionEntriesOptional2HospitalDischargeMedicationsSectionEntriesOptionalDischargeMedication", + "WARNING"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_DISCHARGE_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummary2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummary2Operations.java index 1d4261d976..fd25f0417b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummary2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummary2Operations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -199,6 +200,11 @@ protected DischargeSummary2Operations() { public static boolean validateDischargeSummary2DoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2DoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_DOES_NOT_HAVE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_WITH_CHIEF_COMPLAINT_SECTION_OR_REASON_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -265,6 +271,8 @@ public static boolean validateDischargeSummary2DoesNotHaveChiefComplaintAndReaso public static boolean validateDischargeSummary2CodeP(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2CodeP", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -351,6 +359,8 @@ public static boolean validateDischargeSummary2Code(DischargeSummary2 dischargeS return true; } + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2Code", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -414,6 +424,8 @@ public static boolean validateDischargeSummary2Code(DischargeSummary2 dischargeS public static boolean validateDischargeSummary2Participant(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2Participant", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -477,6 +489,8 @@ public static boolean validateDischargeSummary2Participant(DischargeSummary2 dis public static boolean validateDischargeSummary2ComponentOf(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ComponentOf", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -540,6 +554,8 @@ public static boolean validateDischargeSummary2ComponentOf(DischargeSummary2 dis public static boolean validateDischargeSummary2AllergiesSectionEntriesOptional2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2AllergiesSectionEntriesOptional2", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_ALLERGIES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -606,6 +622,8 @@ public static boolean validateDischargeSummary2AllergiesSectionEntriesOptional2( public static boolean validateDischargeSummary2HospitalCourseSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2HospitalCourseSection", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_HOSPITAL_COURSE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +689,8 @@ public static boolean validateDischargeSummary2HospitalCourseSection(DischargeSu public static boolean validateDischargeSummary2PlanOfTreatmentSection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2PlanOfTreatmentSection2", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -736,6 +756,8 @@ public static boolean validateDischargeSummary2PlanOfTreatmentSection2(Discharge public static boolean validateDischargeSummary2ChiefComplaintSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ChiefComplaintSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +823,9 @@ public static boolean validateDischargeSummary2ChiefComplaintSection(DischargeSu public static boolean validateDischargeSummary2ChiefComplaintAndReasonForVisitSection( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -867,6 +892,8 @@ public static boolean validateDischargeSummary2ChiefComplaintAndReasonForVisitSe public static boolean validateDischargeSummary2NutritionSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2NutritionSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_NUTRITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +959,8 @@ public static boolean validateDischargeSummary2NutritionSection(DischargeSummary public static boolean validateDischargeSummary2FunctionalStatusSection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2FunctionalStatusSection2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_FUNCTIONAL_STATUS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -997,6 +1026,8 @@ public static boolean validateDischargeSummary2FunctionalStatusSection2(Discharg public static boolean validateDischargeSummary2HistoryOfPastIllnessSection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2HistoryOfPastIllnessSection2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_HISTORY_OF_PAST_ILLNESS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1063,6 +1094,8 @@ public static boolean validateDischargeSummary2HistoryOfPastIllnessSection2(Disc public static boolean validateDischargeSummary2HistoryOfPresentIllnessSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2HistoryOfPresentIllnessSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1129,6 +1162,8 @@ public static boolean validateDischargeSummary2HistoryOfPresentIllnessSection(Di public static boolean validateDischargeSummary2HospitalConsultationsSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2HospitalConsultationsSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_HOSPITAL_CONSULTATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1195,6 +1230,9 @@ public static boolean validateDischargeSummary2HospitalConsultationsSection(Disc public static boolean validateDischargeSummary2HospitalDischargeInstructionsSection( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2HospitalDischargeInstructionsSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1261,6 +1299,8 @@ public static boolean validateDischargeSummary2HospitalDischargeInstructionsSect public static boolean validateDischargeSummary2HospitalDischargePhysicalSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2HospitalDischargePhysicalSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_HOSPITAL_DISCHARGE_PHYSICAL_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1327,6 +1367,9 @@ public static boolean validateDischargeSummary2HospitalDischargePhysicalSection( public static boolean validateDischargeSummary2HospitalDischargeStudiesSummarySection( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2HospitalDischargeStudiesSummarySection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1393,6 +1436,9 @@ public static boolean validateDischargeSummary2HospitalDischargeStudiesSummarySe public static boolean validateDischargeSummary2ImmunizationsSectionEntriesOptional2( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ImmunizationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1459,6 +1505,8 @@ public static boolean validateDischargeSummary2ImmunizationsSectionEntriesOption public static boolean validateDischargeSummary2ProblemSectionEntriesOptional2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ProblemSectionEntriesOptional2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_PROBLEM_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1525,6 +1573,8 @@ public static boolean validateDischargeSummary2ProblemSectionEntriesOptional2(Di public static boolean validateDischargeSummary2ProceduresSectionEntriesOptional2( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ProceduresSectionEntriesOptional2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_PROCEDURES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1591,6 +1641,8 @@ public static boolean validateDischargeSummary2ProceduresSectionEntriesOptional2 public static boolean validateDischargeSummary2ReasonForVisitSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ReasonForVisitSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1656,6 +1708,8 @@ public static boolean validateDischargeSummary2ReasonForVisitSection(DischargeSu public static boolean validateDischargeSummary2ReviewOfSystemsSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ReviewOfSystemsSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1721,6 +1775,8 @@ public static boolean validateDischargeSummary2ReviewOfSystemsSection(DischargeS public static boolean validateDischargeSummary2SocialHistorySection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2SocialHistorySection2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1786,6 +1842,8 @@ public static boolean validateDischargeSummary2SocialHistorySection2(DischargeSu public static boolean validateDischargeSummary2VitalSignsSectionEntriesOptional2( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2VitalSignsSectionEntriesOptional2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1852,6 +1910,8 @@ public static boolean validateDischargeSummary2VitalSignsSectionEntriesOptional2 public static boolean validateDischargeSummary2DischargeDiagnosisSection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2DischargeDiagnosisSection2", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_DISCHARGE_DIAGNOSIS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1917,6 +1977,9 @@ public static boolean validateDischargeSummary2DischargeDiagnosisSection2(Discha public static boolean validateDischargeSummary2DischargeMedicationsSectionEntriesOptional2( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2DischargeMedicationsSectionEntriesOptional2", "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY2_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1983,6 +2046,8 @@ public static boolean validateDischargeSummary2DischargeMedicationsSectionEntrie public static boolean validateDischargeSummary2FamilyHistorySection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2FamilyHistorySection2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_FAMILY_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2048,6 +2113,8 @@ public static boolean validateDischargeSummary2FamilyHistorySection2(DischargeSu public static boolean validateDischargeSummary2AdmissionDiagnosisSection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2AdmissionDiagnosisSection2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_ADMISSION_DIAGNOSIS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2113,6 +2180,9 @@ public static boolean validateDischargeSummary2AdmissionDiagnosisSection2(Discha public static boolean validateDischargeSummary2AdmissionMedicationsSectionEntriesOptional2( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2AdmissionMedicationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2179,6 +2249,8 @@ public static boolean validateDischargeSummary2AdmissionMedicationsSectionEntrie public static boolean validateDischargeSummary2DischargeMedicationsSection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2DischargeMedicationsSection2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_DISCHARGE_MEDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2245,6 +2317,8 @@ public static boolean validateDischargeSummary2DischargeMedicationsSection2(Disc public static boolean validateDischargeSummary2DischargeDietSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2DischargeDietSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_DISCHARGE_DIET_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2311,6 +2385,9 @@ public static boolean validateDischargeSummary2DischargeDietSection(DischargeSum public static boolean validateDischargeSummary2ParticipantIfParTypeCodeINDThenAEClassCodeIND( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ParticipantIfParTypeCodeINDThenAEClassCodeIND", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_PARTICIPANT_IF_PAR_TYPE_CODE_IND_THEN_AE_CLASS_CODE_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2382,6 +2459,9 @@ public static boolean validateDischargeSummary2ParticipantIfParTypeCodeINDThenAE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterIVLTSLow( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterIVLTSLow", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2453,6 +2533,9 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterI public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterIVLTSHigh( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterIVLTSHigh", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2524,6 +2607,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterI public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityAssignedPerson( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityAssignedPerson", + "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2595,6 +2683,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityRepresentedOrganization( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityRepresentedOrganization", + "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2666,6 +2759,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrOrganization( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2737,6 +2835,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2808,6 +2911,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityAssignedPerson( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityAssignedPerson", + "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2879,6 +2987,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterR public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityRepresentedOrganization( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityRepresentedOrganization", + "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2950,6 +3063,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterR public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrOrganization( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3021,6 +3139,10 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterR public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3092,6 +3214,9 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterR public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterEffectiveTime( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterEffectiveTime", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3165,6 +3290,10 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterDischargeDispositionCode( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterDischargeDispositionCode", + "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_DISCHARGE_DISPOSITION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3236,6 +3365,10 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterD public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterDischargeDispositionCodeP( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterDischargeDispositionCodeP", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_DISCHARGE_DISPOSITION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3307,6 +3440,9 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterD public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipant( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterEncounterParticipant", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3378,6 +3514,9 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsibleParty( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterResponsibleParty", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3449,6 +3588,8 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterR public static boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4764,6 +4905,8 @@ public static DischargeDietSection getDischargeDietSection(DischargeSummary2 dis public static boolean validateUSRealmHeader2TemplateId(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummaryOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummaryOperations.java index 742809d0f0..c67cc2e77f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummaryOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummaryOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -186,6 +187,11 @@ protected DischargeSummaryOperations() { public static boolean validateDischargeSummaryDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_DOES_NOT_HAVE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_WITH_CHIEF_COMPLAINT_SECTION_OR_REASON_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -252,6 +258,8 @@ public static boolean validateDischargeSummaryDoesNotHaveChiefComplaintAndReason public static boolean validateDischargeSummaryCodeP(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryCodeP", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -338,6 +346,8 @@ public static boolean validateDischargeSummaryCode(DischargeSummary dischargeSum return true; } + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryCode", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -401,6 +411,9 @@ public static boolean validateDischargeSummaryCode(DischargeSummary dischargeSum public static boolean validateDischargeSummaryHospitalAdmissionMedicationsSectionEntriesOptional( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryHospitalAdmissionMedicationsSectionEntriesOptional", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -467,6 +480,8 @@ public static boolean validateDischargeSummaryHospitalAdmissionMedicationsSectio public static boolean validateDischargeSummaryHospitalAdmissionDiagnosisSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHospitalAdmissionDiagnosisSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -533,6 +548,8 @@ public static boolean validateDischargeSummaryHospitalAdmissionDiagnosisSection( public static boolean validateDischargeSummaryHospitalDischargeDiagnosisSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHospitalDischargeDiagnosisSection", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -599,6 +616,8 @@ public static boolean validateDischargeSummaryHospitalDischargeDiagnosisSection( public static boolean validateDischargeSummaryDischargeDietSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryDischargeDietSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_DISCHARGE_DIET_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -664,6 +683,9 @@ public static boolean validateDischargeSummaryDischargeDietSection(DischargeSumm public static boolean validateDischargeSummaryHospitalDischargeMedicationsSectionEntriesOptional( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryHospitalDischargeMedicationsSectionEntriesOptional", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -730,6 +752,8 @@ public static boolean validateDischargeSummaryHospitalDischargeMedicationsSectio public static boolean validateDischargeSummaryFunctionalStatusSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryFunctionalStatusSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_FUNCTIONAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -795,6 +819,8 @@ public static boolean validateDischargeSummaryFunctionalStatusSection(DischargeS public static boolean validateDischargeSummaryHistoryOfPresentIllnessSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHistoryOfPresentIllnessSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -861,6 +887,8 @@ public static boolean validateDischargeSummaryHistoryOfPresentIllnessSection(Dis public static boolean validateDischargeSummaryHospitalCourseSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHospitalCourseSection", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_COURSE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -926,6 +954,8 @@ public static boolean validateDischargeSummaryHospitalCourseSection(DischargeSum public static boolean validateDischargeSummaryPlanOfCareSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryPlanOfCareSection", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -991,6 +1021,8 @@ public static boolean validateDischargeSummaryPlanOfCareSection(DischargeSummary public static boolean validateDischargeSummaryHistoryOfPastIllnessSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHistoryOfPastIllnessSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HISTORY_OF_PAST_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1056,6 +1088,8 @@ public static boolean validateDischargeSummaryHistoryOfPastIllnessSection(Discha public static boolean validateDischargeSummaryComponentOf(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryComponentOf", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1119,6 +1153,9 @@ public static boolean validateDischargeSummaryComponentOf(DischargeSummary disch public static boolean validateDischargeSummaryChiefComplaintAndReasonForVisitSection( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1185,6 +1222,8 @@ public static boolean validateDischargeSummaryChiefComplaintAndReasonForVisitSec public static boolean validateDischargeSummaryChiefComplaintSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryChiefComplaintSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1250,6 +1289,8 @@ public static boolean validateDischargeSummaryChiefComplaintSection(DischargeSum public static boolean validateDischargeSummaryFamilyHistorySection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryFamilyHistorySection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_FAMILY_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1315,6 +1356,8 @@ public static boolean validateDischargeSummaryFamilyHistorySection(DischargeSumm public static boolean validateDischargeSummaryHospitalConsultationsSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHospitalConsultationsSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_CONSULTATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1380,6 +1423,9 @@ public static boolean validateDischargeSummaryHospitalConsultationsSection(Disch public static boolean validateDischargeSummaryHospitalDischargeInstructionsSection( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryHospitalDischargeInstructionsSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1446,6 +1492,8 @@ public static boolean validateDischargeSummaryHospitalDischargeInstructionsSecti public static boolean validateDischargeSummaryHospitalDischargePhysicalSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHospitalDischargePhysicalSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_DISCHARGE_PHYSICAL_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1512,6 +1560,9 @@ public static boolean validateDischargeSummaryHospitalDischargePhysicalSection(D public static boolean validateDischargeSummaryHospitalDischargeStudiesSummarySection( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryHospitalDischargeStudiesSummarySection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1578,6 +1629,8 @@ public static boolean validateDischargeSummaryHospitalDischargeStudiesSummarySec public static boolean validateDischargeSummaryImmunizationsSectionEntriesOptional(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryImmunizationsSectionEntriesOptional", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1644,6 +1697,8 @@ public static boolean validateDischargeSummaryImmunizationsSectionEntriesOptiona public static boolean validateDischargeSummaryProblemSectionEntriesOptional(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryProblemSectionEntriesOptional", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_PROBLEM_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1710,6 +1765,8 @@ public static boolean validateDischargeSummaryProblemSectionEntriesOptional(Disc public static boolean validateDischargeSummaryProceduresSectionEntriesOptional(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryProceduresSectionEntriesOptional", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_PROCEDURES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1776,6 +1833,8 @@ public static boolean validateDischargeSummaryProceduresSectionEntriesOptional(D public static boolean validateDischargeSummaryReasonForVisitSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryReasonForVisitSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1841,6 +1900,8 @@ public static boolean validateDischargeSummaryReasonForVisitSection(DischargeSum public static boolean validateDischargeSummaryReviewOfSystemsSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryReviewOfSystemsSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1906,6 +1967,8 @@ public static boolean validateDischargeSummaryReviewOfSystemsSection(DischargeSu public static boolean validateDischargeSummarySocialHistorySection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummarySocialHistorySection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_SOCIAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1971,6 +2034,8 @@ public static boolean validateDischargeSummarySocialHistorySection(DischargeSumm public static boolean validateDischargeSummaryAllergiesSectionEntriesOptional(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryAllergiesSectionEntriesOptional", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_ALLERGIES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2037,6 +2102,8 @@ public static boolean validateDischargeSummaryAllergiesSectionEntriesOptional(Di public static boolean validateDischargeSummaryVitalSignsSectionEntriesOptional(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryVitalSignsSectionEntriesOptional", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2103,6 +2170,11 @@ public static boolean validateDischargeSummaryVitalSignsSectionEntriesOptional(D public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePartyAssignedEntityHasPersonOrOrganization( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePartyAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2174,6 +2246,10 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3R public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePartyAssignedEntity( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2245,6 +2321,11 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3R public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipantAssignedEntityHasPersonOrOrganization( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipantAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2316,6 +2397,11 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3E public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipantAssignedEntity( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipantAssignedEntity", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2387,6 +2473,11 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3E public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncompassingEncounterHasEffectiveTimeLow( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3EncompassingEncounterHasEffectiveTimeLow", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_ENCOMPASSING_ENCOUNTER_HAS_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2458,6 +2549,11 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3E public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncompassingEncounterHasEffectiveTimeHigh( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3EncompassingEncounterHasEffectiveTimeHigh", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_ENCOMPASSING_ENCOUNTER_HAS_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2529,6 +2625,11 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3E public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCodeValueSet( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCodeValueSet", + "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_DISCHARGE_DISPOSITION_CODE_VALUE_SET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2600,6 +2701,11 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3D public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCodeCodeSystem( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCodeCodeSystem", + "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_DISCHARGE_DISPOSITION_CODE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2671,6 +2777,10 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3D public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCode( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCode", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_DISCHARGE_DISPOSITION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2742,6 +2852,9 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3D public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3EffectiveTime( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3EffectiveTime", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2813,6 +2926,9 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3E public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsibleParty( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3ResponsibleParty", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2884,6 +3000,9 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3R public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipant( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipant", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2955,6 +3074,8 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3E public static boolean validateDischargeSummaryComponentOfEncompassingEncounter(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4181,6 +4302,8 @@ public static VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOption public static boolean validateGeneralHeaderConstraintsTemplateId(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugMonitoringActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugMonitoringActOperations.java index c8a240f6f1..73285f628d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugMonitoringActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugMonitoringActOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -107,6 +108,8 @@ protected DrugMonitoringActOperations() { public static boolean validateDrugMonitoringActTemplateId(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActTemplateId", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +173,8 @@ public static boolean validateDrugMonitoringActTemplateId(DrugMonitoringAct drug public static boolean validateDrugMonitoringActClassCode(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActClassCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateDrugMonitoringActClassCode(DrugMonitoringAct drugM public static boolean validateDrugMonitoringActMoodCode(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActMoodCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validateDrugMonitoringActMoodCode(DrugMonitoringAct drugMo public static boolean validateDrugMonitoringActId(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActId", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validateDrugMonitoringActId(DrugMonitoringAct drugMonitori public static boolean validateDrugMonitoringActCodeP(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActCodeP", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -445,6 +456,8 @@ public static boolean validateDrugMonitoringActCode(DrugMonitoringAct drugMonito return true; } + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -510,6 +523,8 @@ public static boolean validateDrugMonitoringActCode(DrugMonitoringAct drugMonito public static boolean validateDrugMonitoringActStatusCode(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActStatusCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -573,6 +588,8 @@ public static boolean validateDrugMonitoringActStatusCode(DrugMonitoringAct drug public static boolean validateDrugMonitoringActStatusCodeP(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActStatusCodeP", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -637,6 +654,8 @@ public static boolean validateDrugMonitoringActStatusCodeP(DrugMonitoringAct dru public static boolean validateDrugMonitoringActEffectiveTime(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActEffectiveTime", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -702,6 +721,8 @@ public static boolean validateDrugMonitoringActEffectiveTime(DrugMonitoringAct d public static boolean validateDrugMonitoringActParticipant(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActParticipant", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -765,6 +786,9 @@ public static boolean validateDrugMonitoringActParticipant(DrugMonitoringAct dru public static boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntityClassCode( DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DrugMonitoringActDrugMonitoringActParticipantParticipantRolePlayingEntityClassCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -836,6 +860,9 @@ public static boolean validateDrugMonitoringActParticipantParticipantRolePlaying public static boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntityName( DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DrugMonitoringActDrugMonitoringActParticipantParticipantRolePlayingEntityName", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -907,6 +934,9 @@ public static boolean validateDrugMonitoringActParticipantParticipantRolePlaying public static boolean validateDrugMonitoringActParticipantParticipantRoleClassCode( DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DrugMonitoringActDrugMonitoringActParticipantParticipantRoleClassCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_PARTICIPANT_ROLE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -978,6 +1008,8 @@ public static boolean validateDrugMonitoringActParticipantParticipantRoleClassCo public static boolean validateDrugMonitoringActParticipantParticipantRoleId(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActParticipantParticipantRoleId", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_PARTICIPANT_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1049,6 +1081,9 @@ public static boolean validateDrugMonitoringActParticipantParticipantRoleId(Drug public static boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntity( DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DrugMonitoringActDrugMonitoringActParticipantParticipantRolePlayingEntity", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1120,6 +1155,8 @@ public static boolean validateDrugMonitoringActParticipantParticipantRolePlaying public static boolean validateDrugMonitoringActParticipantTypeCode(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActParticipantTypeCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1190,6 +1227,8 @@ public static boolean validateDrugMonitoringActParticipantTypeCode(DrugMonitorin public static boolean validateDrugMonitoringActParticipantParticipantRole(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActParticipantParticipantRole", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugVehicleOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugVehicleOperations.java index 10c037ed17..22486b9ff5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugVehicleOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugVehicleOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ParticipantRoleOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected DrugVehicleOperations() { public static boolean validateDrugVehiclePlayingEntityCode(DrugVehicle drugVehicle, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugVehicleDrugVehiclePlayingEntityCode", "ERROR"); + if (VALIDATE_DRUG_VEHICLE_PLAYING_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -158,6 +161,8 @@ public static boolean validateDrugVehiclePlayingEntityCode(DrugVehicle drugVehic public static boolean validateDrugVehiclePlayingEntityName(DrugVehicle drugVehicle, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugVehicleDrugVehiclePlayingEntityName", "INFO"); + if (VALIDATE_DRUG_VEHICLE_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -221,6 +226,8 @@ public static boolean validateDrugVehiclePlayingEntityName(DrugVehicle drugVehic public static boolean validateDrugVehicleTemplateId(DrugVehicle drugVehicle, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugVehicleDrugVehicleTemplateId", "ERROR"); + if (VALIDATE_DRUG_VEHICLE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -284,6 +291,8 @@ public static boolean validateDrugVehicleTemplateId(DrugVehicle drugVehicle, Dia public static boolean validateDrugVehicleClassCode(DrugVehicle drugVehicle, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugVehicleDrugVehicleClassCode", "ERROR"); + if (VALIDATE_DRUG_VEHICLE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -349,6 +358,8 @@ public static boolean validateDrugVehicleClassCode(DrugVehicle drugVehicle, Diag public static boolean validateDrugVehicleCode(DrugVehicle drugVehicle, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugVehicleDrugVehicleCode", "ERROR"); + if (VALIDATE_DRUG_VEHICLE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -411,6 +422,8 @@ public static boolean validateDrugVehicleCode(DrugVehicle drugVehicle, Diagnosti public static boolean validateDrugVehiclePlayingEntity(DrugVehicle drugVehicle, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugVehicleDrugVehiclePlayingEntity", "ERROR"); + if (VALIDATE_DRUG_VEHICLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivitiesOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivitiesOperations.java index 287908447d..31efa9bc76 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivitiesOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivitiesOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -121,6 +122,8 @@ protected EncounterActivitiesOperations() { public static boolean validateEncounterActivitiesCodeOriginalText(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesCodeOriginalText", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -186,6 +189,8 @@ public static boolean validateEncounterActivitiesCodeOriginalText(EncounterActiv public static boolean validateEncounterActivitiesCodeOriginalTextReference(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesCodeOriginalTextReference", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CODE_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -252,6 +257,8 @@ public static boolean validateEncounterActivitiesCodeOriginalTextReference(Encou public static boolean validateEncounterActivitiesReferenceValue(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesReferenceValue", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +324,9 @@ public static boolean validateEncounterActivitiesReferenceValue(EncounterActivit public static boolean validateEncounterActivitiesCodeOriginalTextReferenceValue( EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncounterActivitiesEncounterActivitiesCodeOriginalTextReferenceValue", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CODE_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -383,6 +393,8 @@ public static boolean validateEncounterActivitiesCodeOriginalTextReferenceValue( public static boolean validateEncounterActivitiesServiceDeliveryTypeCode(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesServiceDeliveryTypeCode", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SERVICE_DELIVERY_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -449,6 +461,8 @@ public static boolean validateEncounterActivitiesServiceDeliveryTypeCode(Encount public static boolean validateEncounterActivitiesSdtcDDCFromNUBCOrDD(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesSdtcDDCFromNUBCOrDD", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SDTC_DDC_FROM_NUBC_OR_DD__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -514,6 +528,8 @@ public static boolean validateEncounterActivitiesSdtcDDCFromNUBCOrDD(EncounterAc public static boolean validateEncounterActivitiesTemplateId(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesTemplateId", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -578,6 +594,8 @@ public static boolean validateEncounterActivitiesTemplateId(EncounterActivities public static boolean validateEncounterActivitiesClassCode(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesClassCode", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -642,6 +660,8 @@ public static boolean validateEncounterActivitiesClassCode(EncounterActivities e public static boolean validateEncounterActivitiesMoodCode(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesMoodCode", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -705,6 +725,8 @@ public static boolean validateEncounterActivitiesMoodCode(EncounterActivities en public static boolean validateEncounterActivitiesId(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesId", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -770,6 +792,8 @@ public static boolean validateEncounterActivitiesId(EncounterActivities encounte public static boolean validateEncounterActivitiesCode(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesCode", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -833,6 +857,8 @@ public static boolean validateEncounterActivitiesCode(EncounterActivities encoun public static boolean validateEncounterActivitiesEffectiveTime(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesEffectiveTime", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -898,6 +924,8 @@ public static boolean validateEncounterActivitiesEffectiveTime(EncounterActiviti public static boolean validateEncounterActivitiesSDTCDischargeDispositionCode( EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesSDTCDischargeDispositionCode", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SDTC_DISCHARGE_DISPOSITION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -964,6 +992,8 @@ public static boolean validateEncounterActivitiesSDTCDischargeDispositionCode( public static boolean validateEncounterActivitiesServiceDeliveryLocation(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesServiceDeliveryLocation", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SERVICE_DELIVERY_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1030,6 +1060,8 @@ public static boolean validateEncounterActivitiesServiceDeliveryLocation(Encount public static boolean validateEncounterActivitiesIndication(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesIndication", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1094,6 +1126,8 @@ public static boolean validateEncounterActivitiesIndication(EncounterActivities public static boolean validateEncounterActivitiesEncounterPerformer(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesEncounterPerformer", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1159,6 +1193,8 @@ public static boolean validateEncounterActivitiesEncounterPerformer(EncounterAct public static boolean validateEncounterActivitiesEncounterDiagnosis(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesEncounterDiagnosis", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1224,6 +1260,10 @@ public static boolean validateEncounterActivitiesEncounterDiagnosis(EncounterAct public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCode( EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncounterActivitiesEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCode", + "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER_ENCOUNTER_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1295,6 +1335,10 @@ public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerf public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntity( EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncounterActivitiesEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER_ENCOUNTER_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivity2Operations.java index ebf97a0947..91a19b7c57 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivity2Operations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -111,6 +112,8 @@ protected EncounterActivity2Operations() { public static boolean validateEncounterActivity2TemplateId(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivity2TemplateId", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -153,6 +156,8 @@ public static boolean validateEncounterActivity2TemplateId(EncounterActivity2 en public static boolean validateEncounterActivitiesCodeP(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesCodeP", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -195,6 +200,8 @@ public static boolean validateEncounterActivitiesCodeP(EncounterActivity2 encoun public static boolean validateEncounterActivity2CDTranslation(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivity2CDTranslation", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITY2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -244,6 +251,10 @@ public static boolean validateEncounterActivity2CDTranslation(EncounterActivity2 public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCodeP( EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncounterActivity2EncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCodeP", + "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER_ENCOUNTER_PERFORMER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -393,6 +404,8 @@ public static EList getConsolServiceDeliveryLocations( public static boolean validateEncounterActivitiesSdtcDDCFromNUBCOrDD(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesSdtcDDCFromNUBCOrDD", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SDTC_DDC_FROM_NUBC_OR_DD__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -604,6 +617,8 @@ public static boolean validateEncounterActivitiesSdtcDDCFromNUBCOrDD(EncounterAc public static boolean validateEncounterActivitiesCode(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesCode", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -667,6 +682,8 @@ public static boolean validateEncounterActivitiesCode(EncounterActivity2 encount public static boolean validateEncounterActivitiesSDTCDischargeDispositionCode(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesSDTCDischargeDispositionCode", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SDTC_DISCHARGE_DISPOSITION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -733,6 +750,8 @@ public static boolean validateEncounterActivitiesSDTCDischargeDispositionCode(En public static boolean validateEncounterActivitiesIndication(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesIndication", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -796,6 +815,8 @@ public static boolean validateEncounterActivitiesIndication(EncounterActivity2 e public static boolean validateEncounterActivitiesEncounterDiagnosis(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesEncounterDiagnosis", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -861,6 +882,8 @@ public static boolean validateEncounterActivitiesEncounterDiagnosis(EncounterAct public static boolean validateEncounterActivitiesServiceDeliveryLocation(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesServiceDeliveryLocation", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SERVICE_DELIVERY_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -926,6 +949,8 @@ public static boolean validateEncounterActivitiesServiceDeliveryLocation(Encount public static boolean validateEncounterActivitiesEncounterPerformer(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesEncounterPerformer", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -993,6 +1018,10 @@ public static boolean validateEncounterActivitiesEncounterPerformer(EncounterAct public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCode( EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncounterActivity2EncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCode", + "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER_ENCOUNTER_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1074,6 +1103,10 @@ public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerf public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntity( EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncounterActivity2EncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER_ENCOUNTER_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosis2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosis2Operations.java index 2312f9b65f..f15f622c82 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosis2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosis2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected EncounterDiagnosis2Operations() { public static boolean validateEncounterDiagnosis2TemplateId(EncounterDiagnosis2 encounterDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosis2EncounterDiagnosis2TemplateId", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -207,6 +210,8 @@ public static EList getConsolProblemObservation2s(Encounter public static boolean validateEncounterDiagnosisCodeP(EncounterDiagnosis2 encounterDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosis2EncounterDiagnosisCodeP", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +298,8 @@ public static boolean validateEncounterDiagnosisCode(EncounterDiagnosis2 encount return true; } + DatatypesUtil.increment(context, "EncounterDiagnosis2EncounterDiagnosisCode", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -356,6 +363,8 @@ public static boolean validateEncounterDiagnosisCode(EncounterDiagnosis2 encount public static boolean validateEncounterDiagnosisProblemObservation(EncounterDiagnosis2 encounterDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosis2EncounterDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosisOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosisOperations.java index 282189b6b8..e867f7cef0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosisOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosisOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected EncounterDiagnosisOperations() { public static boolean validateEncounterDiagnosisTemplateId(EncounterDiagnosis encounterDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosisEncounterDiagnosisTemplateId", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateEncounterDiagnosisTemplateId(EncounterDiagnosis en public static boolean validateEncounterDiagnosisClassCode(EncounterDiagnosis encounterDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosisEncounterDiagnosisClassCode", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateEncounterDiagnosisClassCode(EncounterDiagnosis enc public static boolean validateEncounterDiagnosisMoodCode(EncounterDiagnosis encounterDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosisEncounterDiagnosisMoodCode", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateEncounterDiagnosisMoodCode(EncounterDiagnosis enco public static boolean validateEncounterDiagnosisCodeP(EncounterDiagnosis encounterDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosisEncounterDiagnosisCodeP", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +382,8 @@ public static boolean validateEncounterDiagnosisCode(EncounterDiagnosis encounte return true; } + DatatypesUtil.increment(context, "EncounterDiagnosisEncounterDiagnosisCode", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +447,8 @@ public static boolean validateEncounterDiagnosisCode(EncounterDiagnosis encounte public static boolean validateEncounterDiagnosisProblemObservation(EncounterDiagnosis encounterDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosisEncounterDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSection2Operations.java index d8a060dd2a..8c3b6a0626 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected EncountersSection2Operations() { public static boolean validateEncountersSection2NullFlavor(EncountersSection2 encountersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSection2EncountersSection2NullFlavor", "INFO"); + if (VALIDATE_ENCOUNTERS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateEncountersSection2NullFlavor(EncountersSection2 en public static boolean validateEncountersSection2Text(EncountersSection2 encountersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSection2EncountersSection2Text", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateEncountersSection2Text(EncountersSection2 encounte public static boolean validateEncountersSection2Title(EncountersSection2 encountersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSection2EncountersSection2Title", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateEncountersSection2Title(EncountersSection2 encount public static boolean validateEncountersSectionEntriesOptionalTemplateId(EncountersSection2 encountersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSection2EncountersSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateEncountersSectionEntriesOptionalTemplateId(Encount public static boolean validateEncountersSectionEntriesOptionalCodeP(EncountersSection2 encountersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSection2EncountersSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -441,6 +452,8 @@ public static boolean validateEncountersSectionEntriesOptionalCode(EncountersSec return true; } + DatatypesUtil.increment(context, "EncountersSection2EncountersSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +519,9 @@ public static boolean validateEncountersSectionEntriesOptionalCode(EncountersSec public static boolean validateEncountersSectionEntriesOptionalEncounterActivities( EncountersSection2 encountersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSection2EncountersSectionEntriesOptionalEncounterActivities", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_ENCOUNTER_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptional2Operations.java index be6b8e3a27..fbe7726f1b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -146,6 +147,9 @@ public static boolean validateEncountersSectionEntriesOptionalTemplateId( EncountersSectionEntriesOptional2 encountersSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptional2EncountersSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +217,9 @@ public static boolean validateEncountersSectionEntriesOptionalCodeP( EncountersSectionEntriesOptional2 encountersSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptional2EncountersSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +312,9 @@ public static boolean validateEncountersSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptional2EncountersSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +382,9 @@ public static boolean validateEncountersSectionEntriesOptionalEncounterActivitie EncountersSectionEntriesOptional2 encountersSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptional2EncountersSectionEntriesOptionalEncounterActivities", "WARNING"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_ENCOUNTER_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptionalOperations.java index efedd29d4f..e22d66350a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateEncountersSectionEntriesOptionalTemplateId( EncountersSectionEntriesOptional encountersSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptionalEncountersSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,9 @@ public static boolean validateEncountersSectionEntriesOptionalCode( EncountersSectionEntriesOptional encountersSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptionalEncountersSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +246,9 @@ public static boolean validateEncountersSectionEntriesOptionalCodeP( EncountersSectionEntriesOptional encountersSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptionalEncountersSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +316,9 @@ public static boolean validateEncountersSectionEntriesOptionalTitle( EncountersSectionEntriesOptional encountersSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptionalEncountersSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +386,9 @@ public static boolean validateEncountersSectionEntriesOptionalText( EncountersSectionEntriesOptional encountersSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptionalEncountersSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +456,9 @@ public static boolean validateEncountersSectionEntriesOptionalEncounterActivitie EncountersSectionEntriesOptional encountersSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptionalEncountersSectionEntriesOptionalEncounterActivities", "WARNING"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_ENCOUNTER_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionOperations.java index 3b4ff7d8a6..c8ef445f97 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected EncountersSectionOperations() { public static boolean validateEncountersSectionEncounterActivities(EncountersSection encountersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSectionEncountersSectionEncounterActivities", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENCOUNTER_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -214,6 +217,8 @@ public static EList getConsolEncounterActivitiess(Encounter public static boolean validateEncountersSectionEntriesOptionalTemplateId(EncountersSection encountersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSectionEncountersSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -279,6 +284,8 @@ public static boolean validateEncountersSectionEntriesOptionalTemplateId(Encount public static boolean validateEncountersSectionEntriesOptionalCodeP(EncountersSection encountersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSectionEncountersSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +375,8 @@ public static boolean validateEncountersSectionEntriesOptionalCode(EncountersSec return true; } + DatatypesUtil.increment(context, "EncountersSectionEncountersSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -433,6 +442,8 @@ public static boolean validateEncountersSectionEntriesOptionalCode(EncountersSec public static boolean validateEncountersSectionEntriesOptionalText(EncountersSection encountersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSectionEncountersSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -498,6 +509,8 @@ public static boolean validateEncountersSectionEntriesOptionalText(EncountersSec public static boolean validateEncountersSectionEntriesOptionalTitle(EncountersSection encountersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSectionEncountersSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EntryReferenceOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EntryReferenceOperations.java index 84197b2832..c71ef41d66 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EntryReferenceOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EntryReferenceOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -106,6 +107,8 @@ protected EntryReferenceOperations() { public static boolean validateEntryReferenceTemplateId(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceTemplateId", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateEntryReferenceTemplateId(EntryReference entryRefer public static boolean validateEntryReferenceClassCode(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceClassCode", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateEntryReferenceClassCode(EntryReference entryRefere public static boolean validateEntryReferenceMoodCode(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceMoodCode", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +302,8 @@ public static boolean validateEntryReferenceMoodCode(EntryReference entryReferen public static boolean validateEntryReferenceId(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceId", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +367,8 @@ public static boolean validateEntryReferenceId(EntryReference entryReference, Di public static boolean validateEntryReferenceCode(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceCode", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -423,6 +434,8 @@ public static boolean validateEntryReferenceCode(EntryReference entryReference, public static boolean validateEntryReferenceStatusCode(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceStatusCode", "INFO"); + if (VALIDATE_ENTRY_REFERENCE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -486,6 +499,8 @@ public static boolean validateEntryReferenceStatusCode(EntryReference entryRefer public static boolean validateEntryReferenceStatusCodeP(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceStatusCodeP", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -553,6 +568,8 @@ public static boolean validateEntryReferenceStatusCodeP(EntryReference entryRefe public static boolean validateEntryReferenceIINullFlavor(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceIINullFlavor", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_II_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -625,6 +642,8 @@ public static boolean validateEntryReferenceIINullFlavor(EntryReference entryRef public static boolean validateEntryReferenceCDNullFlavor(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceCDNullFlavor", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_CD_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -695,6 +714,8 @@ public static boolean validateEntryReferenceCDNullFlavor(EntryReference entryRef public static boolean validateEntryReferenceCDNullFlavorP(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceCDNullFlavorP", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_CD_NULL_FLAVOR_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EstimatedDateOfDeliveryOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EstimatedDateOfDeliveryOperations.java index a4b3e0a51a..7af6bb4c37 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EstimatedDateOfDeliveryOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EstimatedDateOfDeliveryOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected EstimatedDateOfDeliveryOperations() { public static boolean validateEstimatedDateOfDeliveryTemplateId(EstimatedDateOfDelivery estimatedDateOfDelivery, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EstimatedDateOfDeliveryEstimatedDateOfDeliveryTemplateId", "ERROR"); + if (VALIDATE_ESTIMATED_DATE_OF_DELIVERY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateEstimatedDateOfDeliveryTemplateId(EstimatedDateOfD public static boolean validateEstimatedDateOfDeliveryClassCode(EstimatedDateOfDelivery estimatedDateOfDelivery, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EstimatedDateOfDeliveryEstimatedDateOfDeliveryClassCode", "ERROR"); + if (VALIDATE_ESTIMATED_DATE_OF_DELIVERY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateEstimatedDateOfDeliveryClassCode(EstimatedDateOfDe public static boolean validateEstimatedDateOfDeliveryCode(EstimatedDateOfDelivery estimatedDateOfDelivery, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EstimatedDateOfDeliveryEstimatedDateOfDeliveryCode", "ERROR"); + if (VALIDATE_ESTIMATED_DATE_OF_DELIVERY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -291,6 +298,8 @@ public static boolean validateEstimatedDateOfDeliveryCode(EstimatedDateOfDeliver public static boolean validateEstimatedDateOfDeliveryMoodCode(EstimatedDateOfDelivery estimatedDateOfDelivery, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EstimatedDateOfDeliveryEstimatedDateOfDeliveryMoodCode", "ERROR"); + if (VALIDATE_ESTIMATED_DATE_OF_DELIVERY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +366,8 @@ public static boolean validateEstimatedDateOfDeliveryMoodCode(EstimatedDateOfDel public static boolean validateEstimatedDateOfDeliveryStatusCode(EstimatedDateOfDelivery estimatedDateOfDelivery, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EstimatedDateOfDeliveryEstimatedDateOfDeliveryStatusCode", "ERROR"); + if (VALIDATE_ESTIMATED_DATE_OF_DELIVERY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -422,6 +433,8 @@ public static boolean validateEstimatedDateOfDeliveryStatusCode(EstimatedDateOfD public static boolean validateEstimatedDateOfDeliveryValue(EstimatedDateOfDelivery estimatedDateOfDelivery, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EstimatedDateOfDeliveryEstimatedDateOfDeliveryValue", "ERROR"); + if (VALIDATE_ESTIMATED_DATE_OF_DELIVERY_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ExternalDocumentReferenceOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ExternalDocumentReferenceOperations.java index d52f214931..4b844d42af 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ExternalDocumentReferenceOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ExternalDocumentReferenceOperations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ExternalDocumentOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -93,6 +94,8 @@ public static boolean validateExternalDocumentReferenceTemplateId( ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceTemplateId", "ERROR"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -159,6 +162,8 @@ public static boolean validateExternalDocumentReferenceClassCode( ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceClassCode", "ERROR"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateExternalDocumentReferenceClassCode( public static boolean validateExternalDocumentReferenceMoodCode(ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceMoodCode", "ERROR"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateExternalDocumentReferenceMoodCode(ExternalDocument public static boolean validateExternalDocumentReferenceId(ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceId", "ERROR"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateExternalDocumentReferenceId(ExternalDocumentRefere public static boolean validateExternalDocumentReferenceCode(ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceCode", "ERROR"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -417,6 +428,8 @@ public static boolean validateExternalDocumentReferenceCode(ExternalDocumentRefe public static boolean validateExternalDocumentReferenceSetId(ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceSetId", "WARNING"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_SET_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -483,6 +496,8 @@ public static boolean validateExternalDocumentReferenceVersionNumber( ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceVersionNumber", "WARNING"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_VERSION_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryDeathObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryDeathObservationOperations.java index 6b7e35efa3..8a9e382a92 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryDeathObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryDeathObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,9 @@ public static boolean validateFamilyHistoryDeathObservationTemplateId( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationTemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateFamilyHistoryDeathObservationClassCode( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationClassCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,8 @@ public static boolean validateFamilyHistoryDeathObservationMoodCode( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationMoodCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +309,8 @@ public static boolean validateFamilyHistoryDeathObservationCode( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +379,9 @@ public static boolean validateFamilyHistoryDeathObservationStatusCode( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationStatusCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +451,8 @@ public static boolean validateFamilyHistoryDeathObservationValue( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationValue", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -504,6 +520,8 @@ public static boolean validateFamilyHistoryDeathObservationValueP( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationValueP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservation2Operations.java index 6bbffb4485..aff210e91b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservation2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -91,6 +92,8 @@ public static boolean validateFamilyHistoryObservation2TemplateId( FamilyHistoryObservation2 familyHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservation2FamilyHistoryObservation2TemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -159,6 +162,8 @@ public static boolean validateFamilyHistoryObservation2CDTranslation( FamilyHistoryObservation2 familyHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservation2FamilyHistoryObservation2CDTranslation", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validateFamilyHistoryObservation2CDTranslationP( FamilyHistoryObservation2 familyHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservation2FamilyHistoryObservation2CDTranslationP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +309,8 @@ public static boolean validateFamilyHistoryObservation2CDTranslationP( public static boolean validateFamilyHistoryObservationCodeP(FamilyHistoryObservation2 familyHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservation2FamilyHistoryObservationCodeP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -389,6 +398,8 @@ public static boolean validateFamilyHistoryObservationCode(FamilyHistoryObservat return true; } + DatatypesUtil.increment(context, "FamilyHistoryObservation2FamilyHistoryObservationCode", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservationOperations.java index 2aa1d6ddb5..e07611eae5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservationOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -110,6 +111,9 @@ public static boolean validateFamilyHistoryObservationAgeObservationInversion( FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryObservationFamilyHistoryObservationAgeObservationInversion", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_AGE_OBSERVATION_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -176,6 +180,8 @@ public static boolean validateFamilyHistoryObservationAgeObservationInversion( public static boolean validateFamilyHistoryObservationTemplateId(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationTemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -241,6 +247,8 @@ public static boolean validateFamilyHistoryObservationTemplateId(FamilyHistoryOb public static boolean validateFamilyHistoryObservationClassCode(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationClassCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +314,8 @@ public static boolean validateFamilyHistoryObservationClassCode(FamilyHistoryObs public static boolean validateFamilyHistoryObservationMoodCode(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationMoodCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -371,6 +381,8 @@ public static boolean validateFamilyHistoryObservationMoodCode(FamilyHistoryObse public static boolean validateFamilyHistoryObservationId(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -435,6 +447,8 @@ public static boolean validateFamilyHistoryObservationId(FamilyHistoryObservatio public static boolean validateFamilyHistoryObservationCodeP(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationCodeP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -522,6 +536,8 @@ public static boolean validateFamilyHistoryObservationCode(FamilyHistoryObservat return true; } + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationCode", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -587,6 +603,8 @@ public static boolean validateFamilyHistoryObservationCode(FamilyHistoryObservat public static boolean validateFamilyHistoryObservationStatusCode(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationStatusCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -652,6 +670,8 @@ public static boolean validateFamilyHistoryObservationStatusCode(FamilyHistoryOb public static boolean validateFamilyHistoryObservationStatusCodeP(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationStatusCodeP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -718,6 +738,8 @@ public static boolean validateFamilyHistoryObservationEffectiveTime( FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationEffectiveTime", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -786,6 +808,8 @@ public static boolean validateFamilyHistoryObservationEffectiveTime( public static boolean validateFamilyHistoryObservationValue(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationValue", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -851,6 +875,8 @@ public static boolean validateFamilyHistoryObservationAgeObservation( FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationAgeObservation", "INFO"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_AGE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -918,6 +944,9 @@ public static boolean validateFamilyHistoryObservationFamilyHistoryDeathObservat FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryObservationFamilyHistoryObservationFamilyHistoryDeathObservation", "INFO"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_FAMILY_HISTORY_DEATH_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizer2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizer2Operations.java index 4edbb247d2..35c632cf1c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizer2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizer2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -90,6 +91,8 @@ protected FamilyHistoryOrganizer2Operations() { public static boolean validateFamilyHistoryOrganizer2TemplateId(FamilyHistoryOrganizer2 familyHistoryOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizer2FamilyHistoryOrganizer2TemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -155,6 +158,8 @@ public static boolean validateFamilyHistoryOrganizer2TemplateId(FamilyHistoryOrg public static boolean validateFamilyHistoryOrganizer2Id(FamilyHistoryOrganizer2 familyHistoryOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizer2FamilyHistoryOrganizer2Id", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -269,6 +274,9 @@ public static EList getConsolFamilyHistoryObservation public static boolean validateFamilyHistoryOrganizerFamilyHistoryObservation( FamilyHistoryOrganizer2 familyHistoryOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizer2FamilyHistoryOrganizerFamilyHistoryObservation", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_FAMILY_HISTORY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizerOperations.java index ee13b832bc..68350727f5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizerOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.OrganizerOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -116,6 +117,8 @@ protected FamilyHistoryOrganizerOperations() { public static boolean validateFamilyHistoryOrganizerTemplateId(FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerTemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -181,6 +184,8 @@ public static boolean validateFamilyHistoryOrganizerTemplateId(FamilyHistoryOrga public static boolean validateFamilyHistoryOrganizerClassCode(FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerClassCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -246,6 +251,8 @@ public static boolean validateFamilyHistoryOrganizerClassCode(FamilyHistoryOrgan public static boolean validateFamilyHistoryOrganizerMoodCode(FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerMoodCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -311,6 +318,8 @@ public static boolean validateFamilyHistoryOrganizerMoodCode(FamilyHistoryOrgani public static boolean validateFamilyHistoryOrganizerStatusCodeP(FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -398,6 +407,8 @@ public static boolean validateFamilyHistoryOrganizerStatusCode(FamilyHistoryOrga return true; } + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerStatusCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -463,6 +474,9 @@ public static boolean validateFamilyHistoryOrganizerStatusCode(FamilyHistoryOrga public static boolean validateFamilyHistoryOrganizerFamilyHistoryObservation( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerFamilyHistoryObservation", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_FAMILY_HISTORY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -529,6 +543,8 @@ public static boolean validateFamilyHistoryOrganizerFamilyHistoryObservation( public static boolean validateFamilyHistoryOrganizerSubject(FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubject", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -595,6 +611,11 @@ public static boolean validateFamilyHistoryOrganizerSubject(FamilyHistoryOrganiz public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdministrativeGenderCode( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdministrativeGenderCode", + "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT_PERSON_ADMINISTRATIVE_GENDER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -666,6 +687,11 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdministrativeGenderCodeP( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdministrativeGenderCodeP", + "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT_PERSON_ADMINISTRATIVE_GENDER_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -737,6 +763,10 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonBirthTime( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonBirthTime", + "WARNING"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT_PERSON_BIRTH_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -808,6 +838,10 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDeceasedInd( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDeceasedInd", + "INFO"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT_PERSON_SDTC_DECEASED_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -879,6 +913,10 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDeceasedTime( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDeceasedTime", + "INFO"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT_PERSON_SDTC_DECEASED_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -950,6 +988,9 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCId( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCId", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT_PERSON_SDTC_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1021,6 +1062,9 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectClassCode( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectClassCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1094,6 +1138,9 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectClassCo public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCode( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectCode", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1165,6 +1212,9 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCode( public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCodeP( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectCodeP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1236,6 +1286,9 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCodeP( public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubject", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1307,6 +1360,8 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubject( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubject", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySection2Operations.java index ec48024a8c..7e5249efc3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySection2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -89,6 +90,8 @@ protected FamilyHistorySection2Operations() { public static boolean validateFamilyHistorySection2TemplateId(FamilyHistorySection2 familyHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySection2FamilyHistorySection2TemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -204,6 +207,8 @@ public static EList getConsolFamilyHistoryOrganizer2s( public static boolean validateFamilyHistorySectionFamilyHistory(FamilyHistorySection2 familyHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySection2FamilyHistorySectionFamilyHistory", "INFO"); + if (VALIDATE_FAMILY_HISTORY_SECTION_FAMILY_HISTORY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySectionOperations.java index 527041d5db..32634ed737 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected FamilyHistorySectionOperations() { public static boolean validateFamilyHistorySectionTemplateId(FamilyHistorySection familyHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySectionFamilyHistorySectionTemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateFamilyHistorySectionTemplateId(FamilyHistorySectio public static boolean validateFamilyHistorySectionCode(FamilyHistorySection familyHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySectionFamilyHistorySectionCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateFamilyHistorySectionCode(FamilyHistorySection fami public static boolean validateFamilyHistorySectionCodeP(FamilyHistorySection familyHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySectionFamilyHistorySectionCodeP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +302,8 @@ public static boolean validateFamilyHistorySectionCodeP(FamilyHistorySection fam public static boolean validateFamilyHistorySectionTitle(FamilyHistorySection familyHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySectionFamilyHistorySectionTitle", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +367,8 @@ public static boolean validateFamilyHistorySectionTitle(FamilyHistorySection fam public static boolean validateFamilyHistorySectionText(FamilyHistorySection familyHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySectionFamilyHistorySectionText", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -421,6 +432,8 @@ public static boolean validateFamilyHistorySectionText(FamilyHistorySection fami public static boolean validateFamilyHistorySectionFamilyHistory(FamilyHistorySection familyHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySectionFamilyHistorySectionFamilyHistory", "INFO"); + if (VALIDATE_FAMILY_HISTORY_SECTION_FAMILY_HISTORY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FetusSubjectContextOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FetusSubjectContextOperations.java index 75b4f18937..8da5afc9d9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FetusSubjectContextOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FetusSubjectContextOperations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.mdht.uml.hl7.rim.operations.RoleOperations; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; @@ -88,6 +89,8 @@ protected FetusSubjectContextOperations() { public static boolean validateFetusSubjectContextTemplateId(FetusSubjectContext fetusSubjectContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FetusSubjectContextFetusSubjectContextTemplateId", "ERROR"); + if (VALIDATE_FETUS_SUBJECT_CONTEXT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -154,6 +157,8 @@ public static boolean validateFetusSubjectContextTemplateId(FetusSubjectContext public static boolean validateFetusSubjectContextCode(FetusSubjectContext fetusSubjectContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FetusSubjectContextFetusSubjectContextCode", "ERROR"); + if (VALIDATE_FETUS_SUBJECT_CONTEXT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -217,6 +222,8 @@ public static boolean validateFetusSubjectContextCode(FetusSubjectContext fetusS public static boolean validateFetusSubjectContextSubject(FetusSubjectContext fetusSubjectContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FetusSubjectContextFetusSubjectContextSubject", "ERROR"); + if (VALIDATE_FETUS_SUBJECT_CONTEXT_SUBJECT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FindingsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FindingsSectionOperations.java index 3dbd1c8ad5..f52f6844bc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FindingsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FindingsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -90,6 +91,8 @@ protected FindingsSectionOperations() { public static boolean validateFindingsSectionTemplateId(FindingsSection findingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FindingsSectionFindingsSectionTemplateId", "ERROR"); + if (VALIDATE_FINDINGS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusObservation2Operations.java index 041fed2f51..541a035e9d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusObservation2Operations.java @@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -107,6 +108,8 @@ public static boolean validateFunctionalStatusObservation2TemplateId( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2FunctionalStatusObservation2TemplateId", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -174,6 +177,9 @@ public static boolean validateFunctionalStatusObservation2AuthorParticipation( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusObservation2FunctionalStatusObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_FUNCTIONAL_STATUS_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +294,8 @@ public static boolean validateResultObservationTextReference( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationTextReference", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +361,8 @@ public static boolean validateResultObservationTextReferenceValue( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationTextReferenceValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -419,6 +429,8 @@ public static boolean validateResultObservationTextReferenceValue( public static boolean validateResultObservationCodeP(FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +518,8 @@ public static boolean validateResultObservationCode(FunctionalStatusObservation2 return true; } + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -569,6 +583,8 @@ public static boolean validateResultObservationCode(FunctionalStatusObservation2 public static boolean validateResultObservationText(FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationText", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -633,6 +649,8 @@ public static boolean validateResultObservationInterpretationCode( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationInterpretationCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -699,6 +717,8 @@ public static boolean validateResultObservationInterpretationCode( public static boolean validateResultObservationMethodCode(FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationMethodCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -764,6 +784,8 @@ public static boolean validateResultObservationTargetSiteCode( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationTargetSiteCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -830,6 +852,9 @@ public static boolean validateFunctionalStatusResultObservationReferenceRange( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusObservation2FunctionalStatusResultObservationReferenceRange", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -897,6 +922,9 @@ public static boolean validateFunctionalStatusResultObservationAuthor( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusObservation2FunctionalStatusResultObservationAuthor", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -964,6 +992,9 @@ public static boolean validateFunctionalStatusResultObservationNonMedicinalSuppl FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusObservation2FunctionalStatusResultObservationNonMedicinalSupplyActivity", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1031,6 +1062,11 @@ public static boolean validateFunctionalStatusResultObservationReferenceRangeObs FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "FunctionalStatusObservation2FunctionalStatusResultObservationReferenceRangeObservationRangeNoCode", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_NO_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1103,6 +1139,10 @@ public static boolean validateFunctionalStatusResultObservationReferenceRangeObs FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusObservation2FunctionalStatusResultObservationReferenceRangeObservationRange", + "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusOrganizer2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusOrganizer2Operations.java index 619060ae27..595c9f0de7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusOrganizer2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusOrganizer2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ public static boolean validateFunctionalStatusOrganizer2TemplateId( FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusOrganizer2FunctionalStatusOrganizer2TemplateId", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_ORGANIZER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,9 @@ public static boolean validateFunctionalStatusOrganizer2SelfCareActivities( FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusOrganizer2FunctionalStatusOrganizer2SelfCareActivities", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_ORGANIZER2_SELF_CARE_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +242,9 @@ public static boolean validateFunctionalStatusOrganizer2AuthorParticipation( FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusOrganizer2FunctionalStatusOrganizer2AuthorParticipation", "WARNING"); + if (VALIDATE_FUNCTIONAL_STATUS_ORGANIZER2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -401,6 +410,8 @@ public static EList getSelfCareActivitiess( public static boolean validateResultOrganizerCodeValue(FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusOrganizer2ResultOrganizerCodeValue", "WARNING"); + if (VALIDATE_RESULT_ORGANIZER_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -465,6 +476,8 @@ public static boolean validateResultOrganizerCodeValue(FunctionalStatusOrganizer public static boolean validateResultOrganizerCode(FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusOrganizer2ResultOrganizerCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -528,6 +541,8 @@ public static boolean validateResultOrganizerCode(FunctionalStatusOrganizer2 fun public static boolean validateResultOrganizerStatusCodeP(FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusOrganizer2ResultOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -614,6 +629,8 @@ public static boolean validateResultOrganizerStatusCode(FunctionalStatusOrganize return true; } + DatatypesUtil.increment(context, "FunctionalStatusOrganizer2ResultOrganizerStatusCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -679,6 +696,10 @@ public static boolean validateFunctionalStatusResultOrganizerFunctionalStatusRes FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusOrganizer2FunctionalStatusResultOrganizerFunctionalStatusResultObservation", + "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_ORGANIZER_FUNCTIONAL_STATUS_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusProblemObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusProblemObservationOperations.java index ee72791c25..d5f9d73022 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusProblemObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusProblemObservationOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -118,6 +119,9 @@ public static boolean validateFunctionalStatusProblemObservationMethodCode( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationFunctionalStatusProblemObservationMethodCode", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_PROBLEM_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -185,6 +189,10 @@ public static boolean validateFunctionalStatusProblemObservationNonMedicinalSupp FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationFunctionalStatusProblemObservationNonMedicinalSupplyActivity", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_PROBLEM_OBSERVATION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -252,6 +260,10 @@ public static boolean validateFunctionalStatusProblemObservationCaregiverCharact FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationFunctionalStatusProblemObservationCaregiverCharacteristics", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_PROBLEM_OBSERVATION_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -319,6 +331,10 @@ public static boolean validateFunctionalStatusProblemObservationAssessmentScaleO FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationFunctionalStatusProblemObservationAssessmentScaleObservation", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_PROBLEM_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -535,6 +551,9 @@ public static boolean validateProblemObservationHasTextReference( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationProblemObservationHasTextReference", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -602,6 +621,9 @@ public static boolean validateProblemObservationTextReferenceValue( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationProblemObservationTextReferenceValue", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -669,6 +691,9 @@ public static boolean validateProblemObservationHasTextReferenceValue( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationProblemObservationHasTextReferenceValue", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -736,6 +761,8 @@ public static boolean validateProblemObservationHasOnsetDate( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationHasOnsetDate", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_ONSET_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -803,6 +830,9 @@ public static boolean validateProblemObservationHasResolutionDate( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationProblemObservationHasResolutionDate", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_RESOLUTION_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -870,6 +900,8 @@ public static boolean validateProblemObservationValueNullFlavor( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationValueNullFlavor", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -937,6 +969,8 @@ public static boolean validateProblemObservationTemplateId( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1003,6 +1037,8 @@ public static boolean validateProblemObservationClassCode( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationClassCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1069,6 +1105,8 @@ public static boolean validateProblemObservationMoodCode( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationMoodCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1134,6 +1172,8 @@ public static boolean validateProblemObservationNegationInd( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationNegationInd", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1200,6 +1240,8 @@ public static boolean validateProblemObservationId( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1264,6 +1306,8 @@ public static boolean validateProblemObservationCodeP( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationCodeP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1353,6 +1397,8 @@ public static boolean validateProblemObservationCode( return true; } + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationCode", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1417,6 +1463,8 @@ public static boolean validateProblemObservationText( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationText", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1482,6 +1530,8 @@ public static boolean validateProblemObservationStatusCode( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1548,6 +1598,9 @@ public static boolean validateProblemObservationEffectiveTime( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationProblemObservationEffectiveTime", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1615,6 +1668,8 @@ public static boolean validateProblemObservationValueP( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationValueP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1704,6 +1759,8 @@ public static boolean validateProblemObservationValue( return true; } + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationValue", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultObservationOperations.java index 9bb436bca1..cf77f29d5d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultObservationOperations.java @@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -120,6 +121,9 @@ public static boolean validateFunctionalStatusResultObservationValueDatatype( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationValueDatatype", "WARNING"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_VALUE_DATATYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +191,8 @@ public static boolean validateResultObservationCodeP( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -264,6 +270,9 @@ public static boolean validateFunctionalStatusResultObservationAuthor( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationAuthor", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -331,6 +340,10 @@ public static boolean validateFunctionalStatusResultObservationNonMedicinalSuppl FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationNonMedicinalSupplyActivity", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -398,6 +411,10 @@ public static boolean validateFunctionalStatusResultObservationCaregiverCharacte FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationCaregiverCharacteristics", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -465,6 +482,10 @@ public static boolean validateFunctionalStatusResultObservationAssessmentScaleOb FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationAssessmentScaleObservation", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -532,6 +553,9 @@ public static boolean validateFunctionalStatusResultObservationReferenceRange( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationReferenceRange", "WARNING"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -599,6 +623,11 @@ public static boolean validateFunctionalStatusResultObservationReferenceRangeObs FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "FunctionalStatusResultObservationFunctionalStatusResultObservationReferenceRangeObservationRangeNoCode", + "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_NO_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +700,10 @@ public static boolean validateFunctionalStatusResultObservationReferenceRangeObs FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationReferenceRangeObservationRange", + "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -883,6 +916,8 @@ public static boolean validateResultObservationTextReference( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationTextReference", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -949,6 +984,9 @@ public static boolean validateResultObservationTextReferenceValue( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationResultObservationTextReferenceValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1016,6 +1054,8 @@ public static boolean validateResultObservationTemplateId( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationTemplateId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1081,6 +1121,8 @@ public static boolean validateResultObservationClassCode( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationClassCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1146,6 +1188,8 @@ public static boolean validateResultObservationMoodCode( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationMoodCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1211,6 +1255,8 @@ public static boolean validateResultObservationId( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1286,6 +1332,8 @@ public static boolean validateResultObservationCode( return true; } + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationCode", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1350,6 +1398,8 @@ public static boolean validateResultObservationText( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationText", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1414,6 +1464,8 @@ public static boolean validateResultObservationStatusCodeP( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1503,6 +1555,8 @@ public static boolean validateResultObservationStatusCode( return true; } + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationStatusCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1568,6 +1622,8 @@ public static boolean validateResultObservationEffectiveTime( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationEffectiveTime", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1634,6 +1690,8 @@ public static boolean validateResultObservationValue( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1698,6 +1756,9 @@ public static boolean validateResultObservationInterpretationCode( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationResultObservationInterpretationCode", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1765,6 +1826,8 @@ public static boolean validateResultObservationMethodCode( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationMethodCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1830,6 +1893,8 @@ public static boolean validateResultObservationTargetSiteCode( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationTargetSiteCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultOrganizerOperations.java index 8dba787e74..75233f7257 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultOrganizerOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,10 @@ public static boolean validateFunctionalStatusResultOrganizerFunctionalStatusRes FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultOrganizerFunctionalStatusResultOrganizerFunctionalStatusResultObservation", + "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_ORGANIZER_FUNCTIONAL_STATUS_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -218,6 +223,8 @@ public static boolean validateResultOrganizerCodeValue( FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerCodeValue", "WARNING"); + if (VALIDATE_RESULT_ORGANIZER_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -283,6 +290,8 @@ public static boolean validateResultOrganizerTemplateId( FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerTemplateId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -348,6 +357,8 @@ public static boolean validateResultOrganizerClassCode( FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerClassCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -413,6 +424,8 @@ public static boolean validateResultOrganizerMoodCode( FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerMoodCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -477,6 +490,8 @@ public static boolean validateResultOrganizerMoodCode( public static boolean validateResultOrganizerId(FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -540,6 +555,8 @@ public static boolean validateResultOrganizerId(FunctionalStatusResultOrganizer public static boolean validateResultOrganizerCode(FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -604,6 +621,8 @@ public static boolean validateResultOrganizerStatusCodeP( FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -692,6 +711,8 @@ public static boolean validateResultOrganizerStatusCode( return true; } + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerStatusCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSection2Operations.java index 8785040666..310feec79a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -119,6 +120,8 @@ protected FunctionalStatusSection2Operations() { public static boolean validateFunctionalStatusSection2TemplateId(FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSection2FunctionalStatusSection2TemplateId", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,8 @@ public static boolean validateFunctionalStatusSection2TemplateId(FunctionalStatu public static boolean validateFunctionalStatusSectionCodeP(FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSection2FunctionalStatusSectionCodeP", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -220,6 +225,8 @@ public static boolean validateFunctionalStatusSection2SelfCareActivities( FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSection2FunctionalStatusSection2SelfCareActivities", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION2_SELF_CARE_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -266,6 +273,9 @@ public static boolean validateFunctionalStatusSection2SensoryAndSpeechStatus( FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSection2SensoryAndSpeechStatus", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION2_SENSORY_AND_SPEECH_STATUS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -850,6 +860,8 @@ public static boolean validateFunctionalStatusSectionCode(FunctionalStatusSectio return true; } + DatatypesUtil.increment(context, "FunctionalStatusSection2FunctionalStatusSectionCode", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -915,6 +927,9 @@ public static boolean validateFunctionalStatusSectionFunctionalStatusResultOrgan FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionFunctionalStatusResultOrganizer", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_FUNCTIONAL_STATUS_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -982,6 +997,9 @@ public static boolean validateFunctionalStatusSectionFunctionalStatusResultObser FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionFunctionalStatusResultObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_FUNCTIONAL_STATUS_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1049,6 +1067,9 @@ public static boolean validateFunctionalStatusSectionCognitiveStatusResultOrgani FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionCognitiveStatusResultOrganizer", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_COGNITIVE_STATUS_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1116,6 +1137,9 @@ public static boolean validateFunctionalStatusSectionCognitiveStatusResultObserv FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionCognitiveStatusResultObservation", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_COGNITIVE_STATUS_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1183,6 +1207,9 @@ public static boolean validateFunctionalStatusSectionNonMedicinalSupplyActivity( FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionNonMedicinalSupplyActivity", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1250,6 +1277,9 @@ public static boolean validateFunctionalStatusSectionNumberOfPressureUlcersObser FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionNumberOfPressureUlcersObservation", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1317,6 +1347,9 @@ public static boolean validateFunctionalStatusSectionHighestPressureUlcerStage( FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionHighestPressureUlcerStage", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_HIGHEST_PRESSURE_ULCER_STAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSectionOperations.java index 6cb8c975c3..0ef402dd51 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -134,6 +135,8 @@ protected FunctionalStatusSectionOperations() { public static boolean validateFunctionalStatusSectionTemplateId(FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSectionFunctionalStatusSectionTemplateId", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -201,6 +204,8 @@ public static boolean validateFunctionalStatusSectionTemplateId(FunctionalStatus public static boolean validateFunctionalStatusSectionCode(FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSectionFunctionalStatusSectionCode", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -265,6 +270,8 @@ public static boolean validateFunctionalStatusSectionCode(FunctionalStatusSectio public static boolean validateFunctionalStatusSectionTitle(FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSectionFunctionalStatusSectionTitle", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -329,6 +336,8 @@ public static boolean validateFunctionalStatusSectionTitle(FunctionalStatusSecti public static boolean validateFunctionalStatusSectionText(FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSectionFunctionalStatusSectionText", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -393,6 +402,9 @@ public static boolean validateFunctionalStatusSectionText(FunctionalStatusSectio public static boolean validateFunctionalStatusSectionFunctionalStatusResultOrganizer( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionFunctionalStatusResultOrganizer", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_FUNCTIONAL_STATUS_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -459,6 +471,9 @@ public static boolean validateFunctionalStatusSectionFunctionalStatusResultOrgan public static boolean validateFunctionalStatusSectionCognitiveStatusResultOrganizer( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionCognitiveStatusResultOrganizer", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_COGNITIVE_STATUS_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -525,6 +540,9 @@ public static boolean validateFunctionalStatusSectionCognitiveStatusResultOrgani public static boolean validateFunctionalStatusSectionFunctionalStatusResultObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionFunctionalStatusResultObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_FUNCTIONAL_STATUS_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -591,6 +609,9 @@ public static boolean validateFunctionalStatusSectionFunctionalStatusResultObser public static boolean validateFunctionalStatusSectionCognitiveStatusResultObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionCognitiveStatusResultObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_COGNITIVE_STATUS_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -657,6 +678,9 @@ public static boolean validateFunctionalStatusSectionCognitiveStatusResultObserv public static boolean validateFunctionalStatusSectionFunctionalStatusProblemObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionFunctionalStatusProblemObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_FUNCTIONAL_STATUS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -723,6 +747,9 @@ public static boolean validateFunctionalStatusSectionFunctionalStatusProblemObse public static boolean validateFunctionalStatusSectionCognitiveStatusProblemObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionCognitiveStatusProblemObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_COGNITIVE_STATUS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -789,6 +816,9 @@ public static boolean validateFunctionalStatusSectionCognitiveStatusProblemObser public static boolean validateFunctionalStatusSectionCaregiverCharacteristics( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionCaregiverCharacteristics", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -855,6 +885,9 @@ public static boolean validateFunctionalStatusSectionCaregiverCharacteristics( public static boolean validateFunctionalStatusSectionAssessmentScaleObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionAssessmentScaleObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -921,6 +954,9 @@ public static boolean validateFunctionalStatusSectionAssessmentScaleObservation( public static boolean validateFunctionalStatusSectionNonMedicinalSupplyActivity( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionNonMedicinalSupplyActivity", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -987,6 +1023,9 @@ public static boolean validateFunctionalStatusSectionNonMedicinalSupplyActivity( public static boolean validateFunctionalStatusSectionPressureUlcerObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionPressureUlcerObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_PRESSURE_ULCER_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1053,6 +1092,9 @@ public static boolean validateFunctionalStatusSectionPressureUlcerObservation( public static boolean validateFunctionalStatusSectionNumberOfPressureUlcersObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionNumberOfPressureUlcersObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1119,6 +1161,9 @@ public static boolean validateFunctionalStatusSectionNumberOfPressureUlcersObser public static boolean validateFunctionalStatusSectionHighestPressureUlcerStage( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionHighestPressureUlcerStage", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_HIGHEST_PRESSURE_ULCER_STAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralHeaderConstraintsOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralHeaderConstraintsOperations.java index 1fd8598de5..074b56b707 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralHeaderConstraintsOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralHeaderConstraintsOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalDocumentOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -386,6 +387,8 @@ protected GeneralHeaderConstraintsOperations() { public static boolean validateGeneralHeaderConstraintsTypeIdRoot(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsTypeIdRoot", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TYPE_ID_ROOT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -452,6 +455,8 @@ public static boolean validateGeneralHeaderConstraintsTypeIdExtension( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsTypeIdExtension", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TYPE_ID_EXTENSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -519,6 +524,8 @@ public static boolean validateGeneralHeaderConstraintsSetIdVersionNumber( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsSetIdVersionNumber", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_SET_ID_VERSION_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -586,6 +593,8 @@ public static boolean validateGeneralHeaderConstraintsVersionNumberSetId( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsVersionNumberSetId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_VERSION_NUMBER_SET_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -652,6 +661,8 @@ public static boolean validateGeneralHeaderConstraintsVersionNumberSetId( public static boolean validateGeneralHeaderConstraintsTemplateId(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -718,6 +729,8 @@ public static boolean validateGeneralHeaderConstraintsTemplateId(GeneralHeaderCo public static boolean validateGeneralHeaderConstraintsRealmCode(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRealmCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_REALM_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -783,6 +796,8 @@ public static boolean validateGeneralHeaderConstraintsRealmCode(GeneralHeaderCon public static boolean validateGeneralHeaderConstraintsTypeId(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsTypeId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TYPE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -848,6 +863,8 @@ public static boolean validateGeneralHeaderConstraintsTypeId(GeneralHeaderConstr public static boolean validateGeneralHeaderConstraintsId(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -912,6 +929,8 @@ public static boolean validateGeneralHeaderConstraintsId(GeneralHeaderConstraint public static boolean validateGeneralHeaderConstraintsCode(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -976,6 +995,8 @@ public static boolean validateGeneralHeaderConstraintsCode(GeneralHeaderConstrai public static boolean validateGeneralHeaderConstraintsTitle(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsTitle", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1041,6 +1062,8 @@ public static boolean validateGeneralHeaderConstraintsEffectiveTime( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsEffectiveTime", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1108,6 +1131,9 @@ public static boolean validateGeneralHeaderConstraintsConfidentialityCodeP( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsConfidentialityCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CONFIDENTIALITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1200,6 +1226,9 @@ public static boolean validateGeneralHeaderConstraintsConfidentialityCode( return true; } + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsConfidentialityCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CONFIDENTIALITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1269,6 +1298,8 @@ public static boolean validateGeneralHeaderConstraintsLanguageCode( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLanguageCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LANGUAGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1335,6 +1366,8 @@ public static boolean validateGeneralHeaderConstraintsLanguageCodeP( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLanguageCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LANGUAGE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1401,6 +1434,8 @@ public static boolean validateGeneralHeaderConstraintsLanguageCodeP( public static boolean validateGeneralHeaderConstraintsSetId(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsSetId", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_SET_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1466,6 +1501,8 @@ public static boolean validateGeneralHeaderConstraintsVersionNumber( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsVersionNumber", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_VERSION_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1532,6 +1569,8 @@ public static boolean validateGeneralHeaderConstraintsVersionNumber( public static boolean validateGeneralHeaderConstraintsAuthor(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthor", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1596,6 +1635,8 @@ public static boolean validateGeneralHeaderConstraintsAuthor(GeneralHeaderConstr public static boolean validateGeneralHeaderConstraintsDataEnterer(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEnterer", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1661,6 +1702,8 @@ public static boolean validateGeneralHeaderConstraintsDataEnterer(GeneralHeaderC public static boolean validateGeneralHeaderConstraintsCustodian(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodian", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1727,6 +1770,9 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipient( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformationRecipient", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1794,6 +1840,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticator( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticator", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1861,6 +1910,8 @@ public static boolean validateGeneralHeaderConstraintsAuthenticator( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticator", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1928,6 +1979,8 @@ public static boolean validateGeneralHeaderConstraintsRecordTarget( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTarget", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1993,6 +2046,8 @@ public static boolean validateGeneralHeaderConstraintsRecordTarget( public static boolean validateGeneralHeaderConstraintsComponentOf(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsComponentOf", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2058,6 +2113,8 @@ public static boolean validateGeneralHeaderConstraintsComponentOf(GeneralHeaderC public static boolean validateGeneralHeaderConstraintsInformant(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformant", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2124,6 +2181,8 @@ public static boolean validateGeneralHeaderConstraintsSupportParticipant( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsSupportParticipant", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_SUPPORT_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2191,6 +2250,8 @@ public static boolean validateGeneralHeaderConstraintsInFulfillmentOf( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInFulfillmentOf", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2258,6 +2319,8 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOf( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOf", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2325,6 +2388,8 @@ public static boolean validateGeneralHeaderConstraintsAuthorization( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorization", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2392,6 +2457,9 @@ public static boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreci GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_PRECISE_TO_THE_DAY_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2464,6 +2532,10 @@ public static boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreci GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteTS", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_PRECISE_TO_THE_MINUTE_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2536,6 +2608,10 @@ public static boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreci GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondTS", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_PRECISE_TO_THE_SECOND_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2608,6 +2684,11 @@ public static boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMor GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDayIncludeTimeZoneOffsetTS", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2680,6 +2761,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2752,6 +2838,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2824,6 +2915,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2875,6 +2971,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2970,6 +3071,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3042,6 +3148,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3114,6 +3225,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3186,6 +3302,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3258,6 +3379,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3330,6 +3456,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3402,6 +3533,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleTEL GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleTELUse", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3453,6 +3587,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToYear", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_BIRTH_TIME_PRECISE_TO_YEAR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3504,6 +3643,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToDay", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_BIRTH_TIME_PRECISE_TO_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3555,6 +3699,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientTSValue", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3627,6 +3774,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUSRealmPatientNameMixedContent", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_US_REALM_PATIENT_NAME_MIXED_CONTENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3678,6 +3830,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameFamily", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_FAMILY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3729,6 +3886,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameGiven", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_GIVEN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3780,6 +3942,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNamePrefix", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_PREFIX__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3831,6 +3998,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameSuffix", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_SUFFIX__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3882,6 +4054,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUseP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4124,6 +4301,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4196,6 +4378,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4268,6 +4455,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4340,6 +4532,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4391,6 +4588,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4486,6 +4688,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4558,6 +4765,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4630,6 +4842,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4702,6 +4919,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4774,6 +4996,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4846,6 +5073,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4918,6 +5150,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTELUse", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4990,6 +5226,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianPersonName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5064,6 +5304,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCodeFromPersonalRelationshipOrResponsibleParty", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE_FROM_PERSONAL_RELATIONSHIP_OR_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5115,6 +5360,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianAddr", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5208,6 +5457,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5280,6 +5533,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTelecom", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5352,6 +5609,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGuardianPerson", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GUARDIAN_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5424,6 +5686,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceHasState", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE_PLACE_HAS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5496,6 +5763,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceAddr", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE_PLACE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5568,6 +5840,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlace", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE_PLACE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5619,6 +5895,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_PREFERENCE_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5670,6 +5951,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationProficiencyLevelCodeP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_PROFICIENCY_LEVEL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5735,6 +6021,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationProficiencyLevelCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_PROFICIENCY_LEVEL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5796,6 +6087,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationModeCodeP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_MODE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5861,6 +6157,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationModeCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_MODE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5945,6 +6246,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_LANGUAGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6126,6 +6432,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCodeP", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_LANGUAGE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6198,6 +6509,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientIfSdtcEnforceRaceCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_IF_SDTC_ENFORCE_RACE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6249,6 +6565,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientAdministrativeGenderCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_ADMINISTRATIVE_GENDER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6300,6 +6621,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthTime", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTH_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6351,6 +6676,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCodeP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_ETHNIC_GROUP_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6416,6 +6745,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_ETHNIC_GROUP_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6477,6 +6810,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalStatusCodeP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_MARITAL_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6542,6 +6879,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalStatusCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_MARITAL_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6624,6 +6965,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientName", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6763,6 +7107,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCodeP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_RACE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6828,6 +7176,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_RACE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6910,6 +7261,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousAffiliationCodeP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_RELIGIOUS_AFFILIATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7042,6 +7398,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousAffiliationCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_RELIGIOUS_AFFILIATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7124,6 +7485,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCodeP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_SDTC_RACE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7256,6 +7621,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_SDTC_RACE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7338,6 +7707,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardian", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7410,6 +7782,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7482,6 +7858,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunication", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7533,6 +7914,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7584,6 +7970,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7635,6 +8026,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7686,6 +8082,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7737,6 +8138,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7788,6 +8194,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7839,6 +8250,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7890,6 +8306,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7941,6 +8362,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7992,6 +8418,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8276,6 +8707,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationTELUse", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8348,6 +8784,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8399,6 +8840,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationAddr", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8471,6 +8916,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationId", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8543,6 +8992,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8636,6 +9089,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationTelecom", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8687,6 +9145,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleAdd GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8780,6 +9241,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleId( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8852,6 +9316,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleTel GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleTelecom", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8924,6 +9391,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatient", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8996,6 +9466,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganization", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9068,6 +9542,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRole( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRole", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9119,6 +9596,10 @@ public static boolean validateGeneralHeaderConstraintsComponentOfEncompassingEnc GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsComponentOfEncompassingEncounterEffectiveTime", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9212,6 +9693,9 @@ public static boolean validateGeneralHeaderConstraintsComponentOfEncompassingEnc GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsComponentOfEncompassingEncounterId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9284,6 +9768,9 @@ public static boolean validateGeneralHeaderConstraintsComponentOfEncompassingEnc GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9356,6 +9843,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstra GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_PRECISE_TO_THE_DAY_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9428,6 +9920,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstra GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteTS", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_PRECISE_TO_THE_MINUTE_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9500,6 +9997,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstra GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondTS", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_PRECISE_TO_THE_SECOND_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9572,6 +10074,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstra GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDayIncludeTimeZoneOffsetTS", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9644,6 +10151,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9716,6 +10228,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9788,6 +10305,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9839,6 +10361,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9934,6 +10461,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10006,6 +10538,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10078,6 +10615,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10150,6 +10692,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10222,6 +10769,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10294,6 +10846,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10366,6 +10923,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTELUse GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorTELUse", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10438,6 +10998,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthor GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceManufacturerModelName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_AUTHORING_DEVICE_MANUFACTURER_MODEL_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10510,6 +11075,10 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthor GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceSoftwareName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_AUTHORING_DEVICE_SOFTWARE_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10582,6 +11151,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorPerson GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorPersonName", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10654,6 +11226,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorHasOne GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorHasOneAssignedPersonOrOneAssignedAuthoringDevice", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_HAS_ONE_ASSIGNED_PERSON_OR_ONE_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10726,6 +11303,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorHasNat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10777,6 +11359,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAddr( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10828,6 +11413,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCodeP( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorCodeP", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10893,6 +11481,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCode( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11040,6 +11631,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorId( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11112,6 +11706,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTeleco GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorTelecom", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11183,6 +11780,8 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTeleco public static boolean validateGeneralHeaderConstraintsAuthorTime(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorTime", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11255,6 +11854,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthor( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthor", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11327,6 +11929,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11399,6 +12006,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11471,6 +12083,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11522,6 +12139,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11617,6 +12239,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11689,6 +12316,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11761,6 +12393,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11833,6 +12470,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11905,6 +12547,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11977,6 +12624,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12049,6 +12701,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityT GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityTELUse", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12121,6 +12776,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityP GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityPersonName", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12193,6 +12851,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityH GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12244,6 +12907,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityA GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12295,6 +12961,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityC GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityCodeP", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12360,6 +13029,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityC GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12507,6 +13179,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityI GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12579,6 +13254,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityT GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityTelecom", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12651,6 +13329,10 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityA GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityAssignedPerson", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12723,6 +13405,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntity( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntity", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12774,6 +13459,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12825,6 +13515,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12876,6 +13571,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12927,6 +13627,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12978,6 +13683,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13029,6 +13739,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13080,6 +13795,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13131,6 +13851,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13182,6 +13907,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13233,6 +13963,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13517,6 +14252,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationTELUse", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13589,6 +14329,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13640,6 +14385,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationAddr", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13712,6 +14462,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationId", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13784,6 +14539,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13877,6 +14637,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationTelecom", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13949,6 +14714,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianRepresentedCustodianOrganization", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_REPRESENTED_CUSTODIAN_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14021,6 +14791,9 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodian", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14093,6 +14866,10 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipientIntend GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformationRecipientIntendedRecipientPersonName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14165,6 +14942,11 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipientIntend GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformationRecipientIntendedRecipientOrganizationName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14237,6 +15019,11 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipientIntend GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformationRecipientIntendedRecipientInformationRecipient", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14309,6 +15096,11 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipientIntend GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformationRecipientIntendedRecipientRecievedOrganization", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_RECIEVED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14381,6 +15173,9 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipientIntend GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformationRecipientIntendedRecipient", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT_INTENDED_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14453,6 +15248,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14525,6 +15325,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14597,6 +15402,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14648,6 +15458,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14743,6 +15558,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14815,6 +15635,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14887,6 +15712,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14959,6 +15789,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15031,6 +15866,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15103,6 +15943,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15175,6 +16020,10 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTELUse", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15247,6 +16096,10 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityPersonName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15319,6 +16172,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityHasNationalProviderIdentifier", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15370,6 +16228,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15421,6 +16282,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCodeP", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15486,6 +16350,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15633,6 +16500,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15705,6 +16575,10 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15777,6 +16651,10 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAssignedPerson", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15849,6 +16727,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorTime( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorTime", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15921,6 +16802,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorSignatur GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorSignatureCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_SIGNATURE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16008,6 +16892,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorSignatur GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorSignatureCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_SIGNATURE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16090,6 +16977,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntity", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16162,6 +17052,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16234,6 +17129,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16306,6 +17206,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16357,6 +17262,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16452,6 +17362,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16524,6 +17439,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16596,6 +17516,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16668,6 +17593,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16740,6 +17670,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16812,6 +17747,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16884,6 +17824,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityTELUse", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16956,6 +17899,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityPersonName", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17028,6 +17974,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17079,6 +18030,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17130,6 +18084,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityCodeP", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17195,6 +18152,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17342,6 +18302,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17414,6 +18377,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityTelecom", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17486,6 +18452,10 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityAssignedPerson", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17558,6 +18528,8 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorTime( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorTime", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17630,6 +18602,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorSignatureCode GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorSignatureCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_SIGNATURE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17717,6 +18692,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorSignatureCode GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorSignatureCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_SIGNATURE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17799,6 +18777,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntity", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17871,6 +18852,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17943,6 +18929,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18015,6 +19006,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18066,6 +19062,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18161,6 +19162,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18233,6 +19239,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18305,6 +19316,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18377,6 +19393,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18449,6 +19470,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18521,6 +19547,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18593,6 +19624,9 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityPer GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityPersonName", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18665,6 +19699,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityHas GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18716,6 +19755,9 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityAdd GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityAddr", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18767,6 +19809,9 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityCod GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityCodeP", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18832,6 +19877,9 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityCod GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18979,6 +20027,9 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityId( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19051,6 +20102,9 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityAss GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityAssignedPerson", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19123,6 +20177,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19195,6 +20254,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19267,6 +20331,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19318,6 +20387,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19413,6 +20487,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19485,6 +20564,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19557,6 +20641,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19629,6 +20718,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19701,6 +20795,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19773,6 +20872,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19845,6 +20949,9 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityAddr GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityAddr", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19917,6 +21024,9 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityPers GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityPerson", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19989,6 +21099,10 @@ public static boolean validateGeneralHeaderConstraintsInformantHasAssignedEntity GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantHasAssignedEntityOrRelatedEntity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_HAS_ASSIGNED_ENTITY_OR_RELATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20061,6 +21175,11 @@ public static boolean validateGeneralHeaderConstraintsParticipantSupportAssociat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsParticipantSupportAssociatedEntityHasAssociatedPersonOrScopingOrganization", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY_HAS_ASSOCIATED_PERSON_OR_SCOPING_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20133,6 +21252,9 @@ public static boolean validateGeneralHeaderConstraintsParticipantSupportTime( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsParticipantSupportTime", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_PARTICIPANT_SUPPORT_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20205,6 +21327,9 @@ public static boolean validateGeneralHeaderConstraintsInFulfillmentOfOrderId( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInFulfillmentOfOrderId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_IN_FULFILLMENT_OF_ORDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20277,6 +21402,9 @@ public static boolean validateGeneralHeaderConstraintsInFulfillmentOfOrder( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInFulfillmentOfOrder", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_IN_FULFILLMENT_OF_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20349,6 +21477,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20400,6 +21533,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCodeP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20465,6 +21603,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20591,6 +21734,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityId", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20642,6 +21790,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCodeP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_FUNCTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20707,6 +21860,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_FUNCTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20833,6 +21991,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1TypeCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20905,6 +22067,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20977,6 +22144,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTimeLow", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21049,6 +22220,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTime", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21121,6 +22296,9 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21193,6 +22371,9 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21244,6 +22425,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorizationConsentCode( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorizationConsentCode", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION_CONSENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21337,6 +22521,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorizationConsentId( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorizationConsentId", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION_CONSENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21409,6 +22596,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorizationConsentStatus GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorizationConsentStatusCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION_CONSENT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21496,6 +22686,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorizationConsentStatus GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorizationConsentStatusCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION_CONSENT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21578,6 +22771,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorizationConsent( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorizationConsent", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION_CONSENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralStatusSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralStatusSectionOperations.java index be67407f02..0d991b1fe3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralStatusSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralStatusSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected GeneralStatusSectionOperations() { public static boolean validateGeneralStatusSectionTemplateId(GeneralStatusSection generalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralStatusSectionGeneralStatusSectionTemplateId", "ERROR"); + if (VALIDATE_GENERAL_STATUS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateGeneralStatusSectionTemplateId(GeneralStatusSectio public static boolean validateGeneralStatusSectionCode(GeneralStatusSection generalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralStatusSectionGeneralStatusSectionCode", "ERROR"); + if (VALIDATE_GENERAL_STATUS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateGeneralStatusSectionCode(GeneralStatusSection gene public static boolean validateGeneralStatusSectionCodeP(GeneralStatusSection generalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralStatusSectionGeneralStatusSectionCodeP", "ERROR"); + if (VALIDATE_GENERAL_STATUS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateGeneralStatusSectionCodeP(GeneralStatusSection gen public static boolean validateGeneralStatusSectionTitle(GeneralStatusSection generalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralStatusSectionGeneralStatusSectionTitle", "ERROR"); + if (VALIDATE_GENERAL_STATUS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -350,6 +359,8 @@ public static boolean validateGeneralStatusSectionTitle(GeneralStatusSection gen public static boolean validateGeneralStatusSectionText(GeneralStatusSection generalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralStatusSectionGeneralStatusSectionText", "ERROR"); + if (VALIDATE_GENERAL_STATUS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalObservationOperations.java index 38b17c0385..248907966c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -118,6 +119,8 @@ protected GoalObservationOperations() { public static boolean validateGoalObservationTemplateId(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationTemplateId", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -181,6 +184,8 @@ public static boolean validateGoalObservationTemplateId(GoalObservation goalObse public static boolean validateGoalObservationClassCode(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationClassCode", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -244,6 +249,8 @@ public static boolean validateGoalObservationClassCode(GoalObservation goalObser public static boolean validateGoalObservationMoodCode(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationMoodCode", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -307,6 +314,8 @@ public static boolean validateGoalObservationMoodCode(GoalObservation goalObserv public static boolean validateGoalObservationId(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationId", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +379,8 @@ public static boolean validateGoalObservationId(GoalObservation goalObservation, public static boolean validateGoalObservationCodeP(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationCodeP", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -456,6 +467,8 @@ public static boolean validateGoalObservationCode(GoalObservation goalObservatio return true; } + DatatypesUtil.increment(context, "GoalObservationGoalObservationCode", "WARNING"); + if (VALIDATE_GOAL_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +533,8 @@ public static boolean validateGoalObservationCode(GoalObservation goalObservatio public static boolean validateGoalObservationStatusCode(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationStatusCode", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -583,6 +598,8 @@ public static boolean validateGoalObservationStatusCode(GoalObservation goalObse public static boolean validateGoalObservationStatusCodeP(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationStatusCodeP", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -646,6 +663,8 @@ public static boolean validateGoalObservationStatusCodeP(GoalObservation goalObs public static boolean validateGoalObservationEffectiveTime(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationEffectiveTime", "WARNING"); + if (VALIDATE_GOAL_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -709,6 +728,8 @@ public static boolean validateGoalObservationEffectiveTime(GoalObservation goalO public static boolean validateGoalObservationValue(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationValue", "INFO"); + if (VALIDATE_GOAL_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -772,6 +793,8 @@ public static boolean validateGoalObservationValue(GoalObservation goalObservati public static boolean validateGoalObservationGoalObservation(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationGoalObservation", "INFO"); + if (VALIDATE_GOAL_OBSERVATION_GOAL_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -835,6 +858,8 @@ public static boolean validateGoalObservationGoalObservation(GoalObservation goa public static boolean validateGoalObservationActReferenceER(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationActReferenceER", "INFO"); + if (VALIDATE_GOAL_OBSERVATION_ACT_REFERENCE_ER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -898,6 +923,8 @@ public static boolean validateGoalObservationActReferenceER(GoalObservation goal public static boolean validateGoalObservationAuthorParticipation(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationAuthorParticipation", "WARNING"); + if (VALIDATE_GOAL_OBSERVATION_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -963,6 +990,8 @@ public static boolean validateGoalObservationAuthorParticipation(GoalObservation public static boolean validateGoalObservationHealthConcernActER(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationHealthConcernActER", "INFO"); + if (VALIDATE_GOAL_OBSERVATION_HEALTH_CONCERN_ACT_ER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1028,6 +1057,8 @@ public static boolean validateGoalObservationHealthConcernActER(GoalObservation public static boolean validateGoalObservationPriorityPreference(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationPriorityPreference", "WARNING"); + if (VALIDATE_GOAL_OBSERVATION_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1093,6 +1124,8 @@ public static boolean validateGoalObservationPriorityPreference(GoalObservation public static boolean validateGoalObservationPlannedERs(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationPlannedERs", "INFO"); + if (VALIDATE_GOAL_OBSERVATION_PLANNED_ERS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1156,6 +1189,8 @@ public static boolean validateGoalObservationPlannedERs(GoalObservation goalObse public static boolean validateGoalObservationReference(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationReference", "INFO"); + if (VALIDATE_GOAL_OBSERVATION_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1219,6 +1254,8 @@ public static boolean validateGoalObservationReference(GoalObservation goalObser public static boolean validateGoalObservationReferenceTypeCode(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationReferenceTypeCode", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1289,6 +1326,8 @@ public static boolean validateGoalObservationReferenceTypeCode(GoalObservation g public static boolean validateGoalObservationReferenceExternalDocumentReference(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationReferenceExternalDocumentReference", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalsSectionOperations.java index c0e079f0d4..f652de6b61 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -99,6 +100,8 @@ protected GoalsSectionOperations() { public static boolean validateGoalsSectionTemplateId(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionTemplateId", "ERROR"); + if (VALIDATE_GOALS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateGoalsSectionTemplateId(GoalsSection goalsSection, public static boolean validateGoalsSectionNullFlavor(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionNullFlavor", "INFO"); + if (VALIDATE_GOALS_SECTION_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateGoalsSectionNullFlavor(GoalsSection goalsSection, public static boolean validateGoalsSectionCode(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionCode", "ERROR"); + if (VALIDATE_GOALS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validateGoalsSectionCode(GoalsSection goalsSection, Diagno public static boolean validateGoalsSectionCodeP(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionCodeP", "ERROR"); + if (VALIDATE_GOALS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateGoalsSectionCodeP(GoalsSection goalsSection, Diagn public static boolean validateGoalsSectionTitle(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionTitle", "ERROR"); + if (VALIDATE_GOALS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -416,6 +427,8 @@ public static boolean validateGoalsSectionTitle(GoalsSection goalsSection, Diagn public static boolean validateGoalsSectionText(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionText", "ERROR"); + if (VALIDATE_GOALS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -479,6 +492,8 @@ public static boolean validateGoalsSectionText(GoalsSection goalsSection, Diagno public static boolean validateGoalsSectionGoalObservation(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionGoalObservation", "ERROR"); + if (VALIDATE_GOALS_SECTION_GOAL_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HandoffCommunicationParticipantsOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HandoffCommunicationParticipantsOperations.java index 3812d977fe..e67b6985d5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HandoffCommunicationParticipantsOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HandoffCommunicationParticipantsOperations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -106,6 +107,9 @@ public static boolean validateHandoffCommunicationParticipantsTemplateId( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsTemplateId", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +177,9 @@ public static boolean validateHandoffCommunicationParticipantsClassCode( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsClassCode", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -240,6 +247,9 @@ public static boolean validateHandoffCommunicationParticipantsMoodCode( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsMoodCode", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -307,6 +317,9 @@ public static boolean validateHandoffCommunicationParticipantsCodeP( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsCodeP", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -399,6 +412,9 @@ public static boolean validateHandoffCommunicationParticipantsCode( return true; } + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsCode", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -467,6 +483,9 @@ public static boolean validateHandoffCommunicationParticipantsStatusCode( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsStatusCode", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -534,6 +553,9 @@ public static boolean validateHandoffCommunicationParticipantsStatusCodeP( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsStatusCodeP", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -601,6 +623,9 @@ public static boolean validateHandoffCommunicationParticipantsEffectiveTime( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsEffectiveTime", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -668,6 +693,9 @@ public static boolean validateHandoffCommunicationParticipantsParticipant( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipant", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -735,6 +763,9 @@ public static boolean validateHandoffCommunicationParticipantsAuthorParticipatio HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsAuthorParticipation", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -802,6 +833,11 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRolePlayingEntityName", + "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -874,6 +910,10 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRoleId", + "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -946,6 +986,10 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRoleCodeP", + "WARNING"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1034,6 +1078,10 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRoleCode", + "WARNING"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1116,6 +1164,10 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRoleAddr", + "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1188,6 +1240,11 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRolePlayingEntity", + "INFO"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1260,6 +1317,9 @@ public static boolean validateHandoffCommunicationParticipantsParticipantTypeCod HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantTypeCode", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1332,6 +1392,10 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRole", + "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernActOperations.java index fb8cd0d4d6..8f59320777 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernActOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -199,6 +200,8 @@ protected HealthConcernActOperations() { public static boolean validateHealthConcernActTemplateId(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActTemplateId", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -262,6 +265,8 @@ public static boolean validateHealthConcernActTemplateId(HealthConcernAct health public static boolean validateHealthConcernActClassCode(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActClassCode", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -325,6 +330,8 @@ public static boolean validateHealthConcernActClassCode(HealthConcernAct healthC public static boolean validateHealthConcernActMoodCode(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActMoodCode", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -388,6 +395,8 @@ public static boolean validateHealthConcernActMoodCode(HealthConcernAct healthCo public static boolean validateHealthConcernActId(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActId", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -451,6 +460,8 @@ public static boolean validateHealthConcernActId(HealthConcernAct healthConcernA public static boolean validateHealthConcernActCodeP(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActCodeP", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -537,6 +548,8 @@ public static boolean validateHealthConcernActCode(HealthConcernAct healthConcer return true; } + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActCode", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -602,6 +615,8 @@ public static boolean validateHealthConcernActCode(HealthConcernAct healthConcer public static boolean validateHealthConcernActStatusCode(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActStatusCode", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -665,6 +680,8 @@ public static boolean validateHealthConcernActStatusCode(HealthConcernAct health public static boolean validateHealthConcernActStatusCodeP(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActStatusCodeP", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -728,6 +745,8 @@ public static boolean validateHealthConcernActStatusCodeP(HealthConcernAct healt public static boolean validateHealthConcernActEffectiveTime(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActEffectiveTime", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -791,6 +810,8 @@ public static boolean validateHealthConcernActEffectiveTime(HealthConcernAct hea public static boolean validateHealthConcernActHealthConcernActErRefr(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActHealthConcernActErRefr", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_HEALTH_CONCERN_ACT_ER_REFR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -856,6 +877,8 @@ public static boolean validateHealthConcernActHealthConcernActErRefr(HealthConce public static boolean validateHealthConcernActHealthConcernActErComp(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActHealthConcernActErComp", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_HEALTH_CONCERN_ACT_ER_COMP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -921,6 +944,8 @@ public static boolean validateHealthConcernActHealthConcernActErComp(HealthConce public static boolean validateHealthConcernActAssessmentScaleObservation(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActAssessmentScaleObservation", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -986,6 +1011,8 @@ public static boolean validateHealthConcernActAssessmentScaleObservation(HealthC public static boolean validateHealthConcernActFamilyHistoryOrganizer2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActFamilyHistoryOrganizer2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_FAMILY_HISTORY_ORGANIZER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1051,6 +1078,8 @@ public static boolean validateHealthConcernActFamilyHistoryOrganizer2(HealthConc public static boolean validateHealthConcernActNutritionAssessment(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActNutritionAssessment", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_NUTRITION_ASSESSMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1116,6 +1145,8 @@ public static boolean validateHealthConcernActNutritionAssessment(HealthConcernA public static boolean validateHealthConcernActPregnancyObservation(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActPregnancyObservation", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_PREGNANCY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1181,6 +1212,8 @@ public static boolean validateHealthConcernActPregnancyObservation(HealthConcern public static boolean validateHealthConcernActCaregiverCharacteristics(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActCaregiverCharacteristics", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1246,6 +1279,8 @@ public static boolean validateHealthConcernActCaregiverCharacteristics(HealthCon public static boolean validateHealthConcernActCulturalAndReligiousObservation(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActCulturalAndReligiousObservation", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_CULTURAL_AND_RELIGIOUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1312,6 +1347,8 @@ public static boolean validateHealthConcernActCulturalAndReligiousObservation(He public static boolean validateHealthConcernActCharacteristicsOfHomeEnvironment(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActCharacteristicsOfHomeEnvironment", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_CHARACTERISTICS_OF_HOME_ENVIRONMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1378,6 +1415,8 @@ public static boolean validateHealthConcernActCharacteristicsOfHomeEnvironment(H public static boolean validateHealthConcernActNutritionalStatusObservation(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActNutritionalStatusObservation", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_NUTRITIONAL_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1443,6 +1482,8 @@ public static boolean validateHealthConcernActNutritionalStatusObservation(Healt public static boolean validateHealthConcernActEntryReferenceGeneral(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActEntryReferenceGeneral", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_ENTRY_REFERENCE_GENERAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1508,6 +1549,8 @@ public static boolean validateHealthConcernActEntryReferenceGeneral(HealthConcer public static boolean validateHealthConcernActAuthorParticipation(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActAuthorParticipation", "WARNING"); + if (VALIDATE_HEALTH_CONCERN_ACT_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1573,6 +1616,8 @@ public static boolean validateHealthConcernActAuthorParticipation(HealthConcernA public static boolean validateHealthConcernActSelfCareActivities(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActSelfCareActivities", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_SELF_CARE_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1638,6 +1683,8 @@ public static boolean validateHealthConcernActSelfCareActivities(HealthConcernAc public static boolean validateHealthConcernActSensoryStatus(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActSensoryStatus", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_SENSORY_STATUS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1701,6 +1748,8 @@ public static boolean validateHealthConcernActSensoryStatus(HealthConcernAct hea public static boolean validateHealthConcernActLongitudinalCareWoundObservation(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActLongitudinalCareWoundObservation", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_LONGITUDINAL_CARE_WOUND_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1767,6 +1816,8 @@ public static boolean validateHealthConcernActLongitudinalCareWoundObservation(H public static boolean validateHealthConcernActPriorityPreference(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActPriorityPreference", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1832,6 +1883,8 @@ public static boolean validateHealthConcernActPriorityPreference(HealthConcernAc public static boolean validateHealthConcernActProblemObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActProblemObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_PROBLEM_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1897,6 +1950,8 @@ public static boolean validateHealthConcernActProblemObservation2(HealthConcernA public static boolean validateHealthConcernActAllergyObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActAllergyObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_ALLERGY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1962,6 +2017,8 @@ public static boolean validateHealthConcernActAllergyObservation2(HealthConcernA public static boolean validateHealthConcernActMentalStatusObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActMentalStatusObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_MENTAL_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2027,6 +2084,8 @@ public static boolean validateHealthConcernActMentalStatusObservation2(HealthCon public static boolean validateHealthConcernActSmokingStatusMeaningfulUse2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActSmokingStatusMeaningfulUse2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_SMOKING_STATUS_MEANINGFUL_USE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2092,6 +2151,8 @@ public static boolean validateHealthConcernActSmokingStatusMeaningfulUse2(Health public static boolean validateHealthConcernActEncounterDiagnosis2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActEncounterDiagnosis2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_ENCOUNTER_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2157,6 +2218,8 @@ public static boolean validateHealthConcernActEncounterDiagnosis2(HealthConcernA public static boolean validateHealthConcernActFunctionalStatusObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActFunctionalStatusObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_FUNCTIONAL_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2222,6 +2285,8 @@ public static boolean validateHealthConcernActFunctionalStatusObservation2(Healt public static boolean validateHealthConcernActHospitalAdmissionDiagnosis2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActHospitalAdmissionDiagnosis2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_HOSPITAL_ADMISSION_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2287,6 +2352,8 @@ public static boolean validateHealthConcernActHospitalAdmissionDiagnosis2(Health public static boolean validateHealthConcernActPostprocedureDiagnosis2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActPostprocedureDiagnosis2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_POSTPROCEDURE_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2352,6 +2419,8 @@ public static boolean validateHealthConcernActPostprocedureDiagnosis2(HealthConc public static boolean validateHealthConcernActPreoperativeDiagnosis2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActPreoperativeDiagnosis2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_PREOPERATIVE_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2417,6 +2486,8 @@ public static boolean validateHealthConcernActPreoperativeDiagnosis2(HealthConce public static boolean validateHealthConcernActReactionObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActReactionObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_REACTION_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2482,6 +2553,8 @@ public static boolean validateHealthConcernActReactionObservation2(HealthConcern public static boolean validateHealthConcernActResultObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActResultObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_RESULT_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2547,6 +2620,8 @@ public static boolean validateHealthConcernActResultObservation2(HealthConcernAc public static boolean validateHealthConcernActSocialHistoryObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActSocialHistoryObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_SOCIAL_HISTORY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2612,6 +2687,9 @@ public static boolean validateHealthConcernActSocialHistoryObservation2(HealthCo public static boolean validateHealthConcernActSubstanceOrDeviceAllergyObservation2( HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthConcernActHealthConcernActSubstanceOrDeviceAllergyObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2678,6 +2756,8 @@ public static boolean validateHealthConcernActSubstanceOrDeviceAllergyObservatio public static boolean validateHealthConcernActTobaccoUse2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActTobaccoUse2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_TOBACCO_USE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2741,6 +2821,8 @@ public static boolean validateHealthConcernActTobaccoUse2(HealthConcernAct healt public static boolean validateHealthConcernActVitalSignObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActVitalSignObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_VITAL_SIGN_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2806,6 +2888,8 @@ public static boolean validateHealthConcernActVitalSignObservation2(HealthConcer public static boolean validateHealthConcernActProblemObservation2Support(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActProblemObservation2Support", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_PROBLEM_OBSERVATION2_SUPPORT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2871,6 +2955,8 @@ public static boolean validateHealthConcernActProblemObservation2Support(HealthC public static boolean validateHealthConcernActResultOrganizer2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActResultOrganizer2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_RESULT_ORGANIZER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2936,6 +3022,8 @@ public static boolean validateHealthConcernActResultOrganizer2(HealthConcernAct public static boolean validateHealthConcernActProblemConcernAct2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActProblemConcernAct2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_PROBLEM_CONCERN_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3001,6 +3089,8 @@ public static boolean validateHealthConcernActProblemConcernAct2(HealthConcernAc public static boolean validateHealthConcernActReference(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActReference", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3064,6 +3154,8 @@ public static boolean validateHealthConcernActReference(HealthConcernAct healthC public static boolean validateHealthConcernActReferenceTypeCode(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActReferenceTypeCode", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3134,6 +3226,8 @@ public static boolean validateHealthConcernActReferenceTypeCode(HealthConcernAct public static boolean validateHealthConcernActReferenceExternalDocumentReference(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActReferenceExternalDocumentReference", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_REFERENCE_EXTERNAL_DOCUMENT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernsSectionOperations.java index 4db1757f0e..2f8a95ba05 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -105,6 +106,8 @@ protected HealthConcernsSectionOperations() { public static boolean validateHealthConcernsSectionTemplateId(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionTemplateId", "ERROR"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +173,8 @@ public static boolean validateHealthConcernsSectionTemplateId(HealthConcernsSect public static boolean validateHealthConcernsSectionNullFlavor(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionNullFlavor", "INFO"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,8 @@ public static boolean validateHealthConcernsSectionNullFlavor(HealthConcernsSect public static boolean validateHealthConcernsSectionCode(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionCode", "ERROR"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +307,8 @@ public static boolean validateHealthConcernsSectionCode(HealthConcernsSection he public static boolean validateHealthConcernsSectionCodeP(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionCodeP", "ERROR"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +373,8 @@ public static boolean validateHealthConcernsSectionCodeP(HealthConcernsSection h public static boolean validateHealthConcernsSectionTitle(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionTitle", "ERROR"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -428,6 +439,8 @@ public static boolean validateHealthConcernsSectionTitle(HealthConcernsSection h public static boolean validateHealthConcernsSectionText(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionText", "ERROR"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -491,6 +504,8 @@ public static boolean validateHealthConcernsSectionText(HealthConcernsSection he public static boolean validateHealthConcernsSectionHealthConcernAct(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionHealthConcernAct", "ERROR"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_HEALTH_CONCERN_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -556,6 +571,9 @@ public static boolean validateHealthConcernsSectionHealthConcernAct(HealthConcer public static boolean validateHealthConcernsSectionHealthStatusObservation2( HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthConcernsSectionHealthConcernsSectionHealthStatusObservation2", "WARNING"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_HEALTH_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -622,6 +640,8 @@ public static boolean validateHealthConcernsSectionHealthStatusObservation2( public static boolean validateHealthConcernsSectionRiskConcernAct(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionRiskConcernAct", "INFO"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_RISK_CONCERN_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusEvaluationsAndOutcomesSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusEvaluationsAndOutcomesSectionOperations.java index 51fccd709e..cffcebf0f4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusEvaluationsAndOutcomesSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusEvaluationsAndOutcomesSectionOperations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,10 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionTemplateI HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionTemplateId", + "ERROR"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +168,10 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionNullFlavo HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionNullFlavor", + "INFO"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +241,9 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionCode( HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -299,6 +311,10 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionCodeP( HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionCodeP", + "ERROR"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -366,6 +382,10 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionTitle( HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionTitle", + "ERROR"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -433,6 +453,9 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionText( HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionText", "ERROR"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -500,6 +523,11 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionOutcomeOb HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionOutcomeObservation", + "ERROR"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_OUTCOME_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservation2Operations.java index 02d172ffce..b73a42ca5b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservation2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected HealthStatusObservation2Operations() { public static boolean validateHealthStatusObservation2TemplateId(HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservation2TemplateId", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateHealthStatusObservation2TemplateId(HealthStatusObs public static boolean validateHealthStatusObservation2Id(HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservation2Id", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -203,6 +208,8 @@ public static boolean validateHealthStatusObservation2Id(HealthStatusObservation public static boolean validateHealthStatusObservationCodeP(HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationCodeP", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -259,6 +266,8 @@ public static boolean validateHealthStatusObservationCodeP(HealthStatusObservati public static boolean validateHealthStatusObservationStatusCodeP(HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationStatusCodeP", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -318,6 +327,8 @@ public static boolean validateHealthStatusObservationHasTextReference( HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationHasTextReference", "INFO"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +375,8 @@ public static boolean validateHealthStatusObservationTextReferenceValue( HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationTextReferenceValue", "INFO"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -410,6 +423,9 @@ public static boolean validateHealthStatusObservationHasTextReferenceValue( HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusObservation2HealthStatusObservationHasTextReferenceValue", "INFO"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -484,6 +500,8 @@ public static boolean validateHealthStatusObservationCode(HealthStatusObservatio return true; } + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -655,6 +673,8 @@ public static boolean validateHealthStatusObservationCode(HealthStatusObservatio public static boolean validateHealthStatusObservationText(HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationText", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -728,6 +748,8 @@ public static boolean validateHealthStatusObservationStatusCode(HealthStatusObse return true; } + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationStatusCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservationOperations.java index 56dbe03e9a..ee1aa7efb5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,8 @@ protected HealthStatusObservationOperations() { public static boolean validateHealthStatusObservationHasTextReference( HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationHasTextReference", "WARNING"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateHealthStatusObservationHasTextReference( public static boolean validateHealthStatusObservationTextReferenceValue( HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationTextReferenceValue", "WARNING"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,9 @@ public static boolean validateHealthStatusObservationTextReferenceValue( public static boolean validateHealthStatusObservationHasTextReferenceValue( HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusObservationHealthStatusObservationHasTextReferenceValue", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +306,8 @@ public static boolean validateHealthStatusObservationHasTextReferenceValue( public static boolean validateHealthStatusObservationTemplateId(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationTemplateId", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +373,8 @@ public static boolean validateHealthStatusObservationTemplateId(HealthStatusObse public static boolean validateHealthStatusObservationClassCode(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationClassCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -428,6 +440,8 @@ public static boolean validateHealthStatusObservationClassCode(HealthStatusObser public static boolean validateHealthStatusObservationMoodCode(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationMoodCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -495,6 +509,8 @@ public static boolean validateHealthStatusObservationMoodCode(HealthStatusObserv public static boolean validateHealthStatusObservationCode(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -559,6 +575,8 @@ public static boolean validateHealthStatusObservationCode(HealthStatusObservatio public static boolean validateHealthStatusObservationText(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationText", "WARNING"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -624,6 +642,8 @@ public static boolean validateHealthStatusObservationText(HealthStatusObservatio public static boolean validateHealthStatusObservationStatusCode(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationStatusCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +711,8 @@ public static boolean validateHealthStatusObservationStatusCode(HealthStatusObse public static boolean validateHealthStatusObservationValue(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationValue", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -755,6 +777,8 @@ public static boolean validateHealthStatusObservationValue(HealthStatusObservati public static boolean validateHealthStatusObservationValueP(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationValueP", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HighestPressureUlcerStageOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HighestPressureUlcerStageOperations.java index aa7f42e5d0..bcc898f804 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HighestPressureUlcerStageOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HighestPressureUlcerStageOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ public static boolean validateHighestPressureUlcerStageTemplateId( HighestPressureUlcerStage highestPressureUlcerStage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageTemplateId", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateHighestPressureUlcerStageClassCode( HighestPressureUlcerStage highestPressureUlcerStage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageClassCode", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateHighestPressureUlcerStageClassCode( public static boolean validateHighestPressureUlcerStageMoodCode(HighestPressureUlcerStage highestPressureUlcerStage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageMoodCode", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validateHighestPressureUlcerStageMoodCode(HighestPressureU public static boolean validateHighestPressureUlcerStageId(HighestPressureUlcerStage highestPressureUlcerStage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageId", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +363,8 @@ public static boolean validateHighestPressureUlcerStageId(HighestPressureUlcerSt public static boolean validateHighestPressureUlcerStageCodeP(HighestPressureUlcerStage highestPressureUlcerStage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageCodeP", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -442,6 +453,8 @@ public static boolean validateHighestPressureUlcerStageCode(HighestPressureUlcer return true; } + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageCode", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +519,8 @@ public static boolean validateHighestPressureUlcerStageCode(HighestPressureUlcer public static boolean validateHighestPressureUlcerStageValue(HighestPressureUlcerStage highestPressureUlcerStage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageValue", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNote2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNote2Operations.java index 498fc769e7..7cf165c80c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNote2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNote2Operations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -185,6 +186,11 @@ protected HistoryAndPhysicalNote2Operations() { public static boolean validateHistoryAndPhysicalNote2HasChiefComplaintAndReasonForVisitChiefComplaintOrReasonForVisit( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2HasChiefComplaintAndReasonForVisitChiefComplaintOrReasonForVisit", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_HAS_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_CHIEF_COMPLAINT_OR_REASON_FOR_VISIT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -251,6 +257,11 @@ public static boolean validateHistoryAndPhysicalNote2HasChiefComplaintAndReasonF public static boolean validateHistoryAndPhysicalNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_HAS_AN_ASSEMENT_AND_PLAN_SECTION2_OR_BOTH_ASSEMENT_SECTION_AND_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +328,11 @@ public static boolean validateHistoryAndPhysicalNote2HasAnAssementAndPlanSection public static boolean validateHistoryAndPhysicalNote2DoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2DoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_DOES_NOT_HAVE_ASSEMENT_AND_PLAN_SECTION2_WHEN_ASSEMENT_AND_PLAN_OF_TREATMENT2_ARE_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -383,6 +399,11 @@ public static boolean validateHistoryAndPhysicalNote2DoesNotHaveAssementAndPlanS public static boolean validateHistoryAndPhysicalNote2DoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2DoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_DOES_NOT_HAVE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_WITH_CHIEF_COMPLAINT_SECTION_OR_REASON_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -449,6 +470,8 @@ public static boolean validateHistoryAndPhysicalNote2DoesNotHaveChiefComplaintAn public static boolean validateHistoryAndPhysicalNote2CodeP(HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2CodeP", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -536,6 +559,8 @@ public static boolean validateHistoryAndPhysicalNote2Code(HistoryAndPhysicalNote return true; } + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2Code", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -600,6 +625,8 @@ public static boolean validateHistoryAndPhysicalNote2Code(HistoryAndPhysicalNote public static boolean validateHistoryAndPhysicalNote2InformationRecipient( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2InformationRecipient", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -666,6 +693,8 @@ public static boolean validateHistoryAndPhysicalNote2InformationRecipient( public static boolean validateHistoryAndPhysicalNote2Participant(HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2Participant", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -731,6 +760,8 @@ public static boolean validateHistoryAndPhysicalNote2Participant(HistoryAndPhysi public static boolean validateHistoryAndPhysicalNote2InFulfillmentOf( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2InFulfillmentOf", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -797,6 +828,8 @@ public static boolean validateHistoryAndPhysicalNote2InFulfillmentOf( public static boolean validateHistoryAndPhysicalNote2ComponentOf(HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOf", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -862,6 +895,9 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOf(HistoryAndPhysi public static boolean validateHistoryAndPhysicalNote2AllergiesSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2AllergiesSectionEntriesOptional2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_ALLERGIES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -928,6 +964,8 @@ public static boolean validateHistoryAndPhysicalNote2AllergiesSectionEntriesOpti public static boolean validateHistoryAndPhysicalNote2AssessmentSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2AssessmentSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -994,6 +1032,9 @@ public static boolean validateHistoryAndPhysicalNote2AssessmentSection( public static boolean validateHistoryAndPhysicalNote2PlanOfTreatmentSection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2PlanOfTreatmentSection2", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1060,6 +1101,9 @@ public static boolean validateHistoryAndPhysicalNote2PlanOfTreatmentSection2( public static boolean validateHistoryAndPhysicalNote2AssessmentAndPlanSection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2AssessmentAndPlanSection2", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_ASSESSMENT_AND_PLAN_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1126,6 +1170,8 @@ public static boolean validateHistoryAndPhysicalNote2AssessmentAndPlanSection2( public static boolean validateHistoryAndPhysicalNote2ChiefComplaintSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ChiefComplaintSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1192,6 +1238,9 @@ public static boolean validateHistoryAndPhysicalNote2ChiefComplaintSection( public static boolean validateHistoryAndPhysicalNote2ChiefComplaintAndReasonForVisitSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1258,6 +1307,8 @@ public static boolean validateHistoryAndPhysicalNote2ChiefComplaintAndReasonForV public static boolean validateHistoryAndPhysicalNote2GeneralStatusSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2GeneralStatusSection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_GENERAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1324,6 +1375,9 @@ public static boolean validateHistoryAndPhysicalNote2GeneralStatusSection( public static boolean validateHistoryAndPhysicalNote2HistoryOfPastIllnessSection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2HistoryOfPastIllnessSection2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_HISTORY_OF_PAST_ILLNESS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1390,6 +1444,9 @@ public static boolean validateHistoryAndPhysicalNote2HistoryOfPastIllnessSection public static boolean validateHistoryAndPhysicalNote2HistoryOfPresentIllnessSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2HistoryOfPresentIllnessSection", "WARNING"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1456,6 +1513,9 @@ public static boolean validateHistoryAndPhysicalNote2HistoryOfPresentIllnessSect public static boolean validateHistoryAndPhysicalNote2ImmunizationsSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ImmunizationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1522,6 +1582,8 @@ public static boolean validateHistoryAndPhysicalNote2ImmunizationsSectionEntries public static boolean validateHistoryAndPhysicalNote2InstructionsSection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2InstructionsSection2", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_INSTRUCTIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1588,6 +1650,9 @@ public static boolean validateHistoryAndPhysicalNote2InstructionsSection2( public static boolean validateHistoryAndPhysicalNote2MedicationsSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2MedicationsSectionEntriesOptional2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1654,6 +1719,8 @@ public static boolean validateHistoryAndPhysicalNote2MedicationsSectionEntriesOp public static boolean validateHistoryAndPhysicalNote2PhysicalExamSection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2PhysicalExamSection2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_PHYSICAL_EXAM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1720,6 +1787,9 @@ public static boolean validateHistoryAndPhysicalNote2PhysicalExamSection2( public static boolean validateHistoryAndPhysicalNote2ProblemSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ProblemSectionEntriesOptional2", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_PROBLEM_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1786,6 +1856,9 @@ public static boolean validateHistoryAndPhysicalNote2ProblemSectionEntriesOption public static boolean validateHistoryAndPhysicalNote2ProceduresSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ProceduresSectionEntriesOptional2", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_PROCEDURES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1852,6 +1925,8 @@ public static boolean validateHistoryAndPhysicalNote2ProceduresSectionEntriesOpt public static boolean validateHistoryAndPhysicalNote2ReasonForVisitSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ReasonForVisitSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1918,6 +1993,9 @@ public static boolean validateHistoryAndPhysicalNote2ReasonForVisitSection( public static boolean validateHistoryAndPhysicalNote2ResultsSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ResultsSectionEntriesOptional2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_RESULTS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1984,6 +2062,9 @@ public static boolean validateHistoryAndPhysicalNote2ResultsSectionEntriesOption public static boolean validateHistoryAndPhysicalNote2ReviewOfSystemsSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ReviewOfSystemsSection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2050,6 +2131,9 @@ public static boolean validateHistoryAndPhysicalNote2ReviewOfSystemsSection( public static boolean validateHistoryAndPhysicalNote2SocialHistorySection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2SocialHistorySection2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2116,6 +2200,9 @@ public static boolean validateHistoryAndPhysicalNote2SocialHistorySection2( public static boolean validateHistoryAndPhysicalNote2VitalSignsSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2VitalSignsSectionEntriesOptional2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2182,6 +2269,9 @@ public static boolean validateHistoryAndPhysicalNote2VitalSignsSectionEntriesOpt public static boolean validateHistoryAndPhysicalNote2FamilyHistorySection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2FamilyHistorySection2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_FAMILY_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2248,6 +2338,9 @@ public static boolean validateHistoryAndPhysicalNote2FamilyHistorySection2( public static boolean validateHistoryAndPhysicalNote2InformationRecipientIntendedRecipient( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2InformationRecipientIntendedRecipient", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_INFORMATION_RECIPIENT_INTENDED_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2319,6 +2412,10 @@ public static boolean validateHistoryAndPhysicalNote2InformationRecipientIntende public static boolean validateHistoryAndPhysicalNote2ParticipantIfParTypeCodeINDThenAEClassCodeIND( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ParticipantIfParTypeCodeINDThenAEClassCodeIND", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_PARTICIPANT_IF_PAR_TYPE_CODE_IND_THEN_AE_CLASS_CODE_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2390,6 +2487,11 @@ public static boolean validateHistoryAndPhysicalNote2ParticipantIfParTypeCodeIND public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_DAY_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2461,6 +2563,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS", + "WARNING"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_MINUTE_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2532,6 +2639,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS", + "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_SECOND_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2603,6 +2715,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS", + "WARNING"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2674,6 +2791,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrOrganization( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2745,6 +2867,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2816,6 +2943,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrOrganization( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2887,6 +3019,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2958,6 +3095,9 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterId( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterId", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3029,6 +3169,10 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEffectiveTime( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterEffectiveTime", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3100,6 +3244,10 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsibleParty( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsibleParty", + "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3171,6 +3319,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipant( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipant", + "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3242,6 +3395,9 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterLocation( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterLocation", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3313,6 +3469,9 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4351,6 +4510,8 @@ public static FamilyHistorySection2 getFamilyHistorySection2(HistoryAndPhysicalN public static boolean validateUSRealmHeader2TemplateId(HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNoteOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNoteOperations.java index e76546318c..692f910e11 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNoteOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNoteOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -179,6 +180,11 @@ protected HistoryAndPhysicalNoteOperations() { public static boolean validateHistoryAndPhysicalNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_HAS_AN_ASSEMENT_AND_PLAN_SECTION_OR_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -245,6 +251,11 @@ public static boolean validateHistoryAndPhysicalNoteHasAnAssementAndPlanSectionO public static boolean validateHistoryAndPhysicalNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_DOES_NOT_HAVE_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS_WHEN_ASSEMENT_AND_PLAN_SECTION_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -311,6 +322,11 @@ public static boolean validateHistoryAndPhysicalNoteDoesNotHaveIndividualAssemen public static boolean validateHistoryAndPhysicalNoteHasChiefComplaintAndReasonForVisitChiefComplaintOrReasonForVisit( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteHasChiefComplaintAndReasonForVisitChiefComplaintOrReasonForVisit", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_HAS_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_CHIEF_COMPLAINT_OR_REASON_FOR_VISIT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -377,6 +393,11 @@ public static boolean validateHistoryAndPhysicalNoteHasChiefComplaintAndReasonFo public static boolean validateHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_DOES_NOT_HAVE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_WITH_CHIEF_COMPLAINT_SECTION_OR_REASON_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -443,6 +464,8 @@ public static boolean validateHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAnd public static boolean validateGeneralHeaderConstraintsCodeP(HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteGeneralHeaderConstraintsCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +543,8 @@ public static boolean validateGeneralHeaderConstraintsCodeP(HistoryAndPhysicalNo public static boolean validateHistoryAndPhysicalNoteInFulfillmentOf(HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteInFulfillmentOf", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +610,8 @@ public static boolean validateHistoryAndPhysicalNoteInFulfillmentOf(HistoryAndPh public static boolean validateHistoryAndPhysicalNoteComponentOf(HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOf", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -650,6 +677,9 @@ public static boolean validateHistoryAndPhysicalNoteComponentOf(HistoryAndPhysic public static boolean validateHistoryAndPhysicalNoteAllergiesSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteAllergiesSectionEntriesOptional", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_ALLERGIES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -716,6 +746,8 @@ public static boolean validateHistoryAndPhysicalNoteAllergiesSectionEntriesOptio public static boolean validateHistoryAndPhysicalNoteAssessmentSection(HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteAssessmentSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -782,6 +814,8 @@ public static boolean validateHistoryAndPhysicalNoteAssessmentSection(HistoryAnd public static boolean validateHistoryAndPhysicalNotePlanOfCareSection(HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNotePlanOfCareSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -848,6 +882,9 @@ public static boolean validateHistoryAndPhysicalNotePlanOfCareSection(HistoryAnd public static boolean validateHistoryAndPhysicalNoteAssessmentAndPlanSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteAssessmentAndPlanSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_ASSESSMENT_AND_PLAN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -914,6 +951,8 @@ public static boolean validateHistoryAndPhysicalNoteAssessmentAndPlanSection( public static boolean validateHistoryAndPhysicalNoteChiefComplaintSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteChiefComplaintSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -980,6 +1019,9 @@ public static boolean validateHistoryAndPhysicalNoteChiefComplaintSection( public static boolean validateHistoryAndPhysicalNoteChiefComplaintAndReasonForVisitSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1046,6 +1088,8 @@ public static boolean validateHistoryAndPhysicalNoteChiefComplaintAndReasonForVi public static boolean validateHistoryAndPhysicalNoteFamilyHistorySection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteFamilyHistorySection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_FAMILY_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1112,6 +1156,8 @@ public static boolean validateHistoryAndPhysicalNoteFamilyHistorySection( public static boolean validateHistoryAndPhysicalNoteGeneralStatusSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteGeneralStatusSection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_GENERAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1178,6 +1224,9 @@ public static boolean validateHistoryAndPhysicalNoteGeneralStatusSection( public static boolean validateHistoryAndPhysicalNoteHistoryOfPastIllnessSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteHistoryOfPastIllnessSection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_HISTORY_OF_PAST_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1244,6 +1293,9 @@ public static boolean validateHistoryAndPhysicalNoteHistoryOfPastIllnessSection( public static boolean validateHistoryAndPhysicalNoteMedicationsSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteMedicationsSectionEntriesOptional", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1310,6 +1362,8 @@ public static boolean validateHistoryAndPhysicalNoteMedicationsSectionEntriesOpt public static boolean validateHistoryAndPhysicalNotePhysicalExamSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNotePhysicalExamSection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_PHYSICAL_EXAM_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1376,6 +1430,8 @@ public static boolean validateHistoryAndPhysicalNotePhysicalExamSection( public static boolean validateHistoryAndPhysicalNoteReasonForVisitSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteReasonForVisitSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1442,6 +1498,9 @@ public static boolean validateHistoryAndPhysicalNoteReasonForVisitSection( public static boolean validateHistoryAndPhysicalNoteResultsSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteResultsSectionEntriesOptional", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_RESULTS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1508,6 +1567,8 @@ public static boolean validateHistoryAndPhysicalNoteResultsSectionEntriesOptiona public static boolean validateHistoryAndPhysicalNoteReviewOfSystemsSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteReviewOfSystemsSection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1574,6 +1635,8 @@ public static boolean validateHistoryAndPhysicalNoteReviewOfSystemsSection( public static boolean validateHistoryAndPhysicalNoteSocialHistorySection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteSocialHistorySection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_SOCIAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1640,6 +1703,9 @@ public static boolean validateHistoryAndPhysicalNoteSocialHistorySection( public static boolean validateHistoryAndPhysicalNoteHistoryOfPresentIllnessSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteHistoryOfPresentIllnessSection", "WARNING"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1706,6 +1772,9 @@ public static boolean validateHistoryAndPhysicalNoteHistoryOfPresentIllnessSecti public static boolean validateHistoryAndPhysicalNoteImmunizationsSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteImmunizationsSectionEntriesOptional", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1772,6 +1841,9 @@ public static boolean validateHistoryAndPhysicalNoteImmunizationsSectionEntriesO public static boolean validateHistoryAndPhysicalNoteProblemSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteProblemSectionEntriesOptional", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_PROBLEM_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1838,6 +1910,9 @@ public static boolean validateHistoryAndPhysicalNoteProblemSectionEntriesOptiona public static boolean validateHistoryAndPhysicalNoteProceduresSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteProceduresSectionEntriesOptional", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_PROCEDURES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1904,6 +1979,9 @@ public static boolean validateHistoryAndPhysicalNoteProceduresSectionEntriesOpti public static boolean validateHistoryAndPhysicalNoteVitalSignsSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteVitalSignsSectionEntriesOptional", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1970,6 +2048,8 @@ public static boolean validateHistoryAndPhysicalNoteVitalSignsSectionEntriesOpti public static boolean validateHistoryAndPhysicalNoteInstructionsSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteInstructionsSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_INSTRUCTIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2036,6 +2116,11 @@ public static boolean validateHistoryAndPhysicalNoteInstructionsSection( public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsiblePartyAssignedEntityHasPersonOrOrganization( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsiblePartyAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2107,6 +2192,11 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsiblePartyAssignedEntity( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2178,6 +2268,11 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipantAssignedEntityHasPersonOrOrganization( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipantAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2249,6 +2344,11 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipantAssignedEntity( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipantAssignedEntity", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2320,6 +2420,10 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheDay( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheDay", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2391,6 +2495,10 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheMinute( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheMinute", + "WARNING"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2462,6 +2570,10 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheSecond( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheSecond", + "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2533,6 +2645,11 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4IfMorePreciseThanDayIncludeTimeZoneOffset( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4IfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2604,6 +2721,10 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EffectiveTime( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EffectiveTime", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2675,6 +2796,9 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Id( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Id", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2746,6 +2870,9 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Location( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Location", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2817,6 +2944,10 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsibleParty( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsibleParty", + "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2888,6 +3019,11 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipant( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipant", + "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2959,6 +3095,9 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3996,6 +4135,8 @@ public static InstructionsSection getInstructionsSection(HistoryAndPhysicalNote public static boolean validateGeneralHeaderConstraintsTemplateId(HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4071,6 +4212,8 @@ public static boolean validateGeneralHeaderConstraintsCode(HistoryAndPhysicalNot return true; } + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSection2Operations.java index d2cf5567d9..c89bfda65f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateHistoryOfPastIllnessSection2TemplateId( HistoryOfPastIllnessSection2 historyOfPastIllnessSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSection2HistoryOfPastIllnessSection2TemplateId", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +216,8 @@ public static boolean validateHistoryOfPastIllnessSectionCodeP( HistoryOfPastIllnessSection2 historyOfPastIllnessSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSection2HistoryOfPastIllnessSectionCodeP", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +308,8 @@ public static boolean validateHistoryOfPastIllnessSectionCode( return true; } + DatatypesUtil.increment(context, "HistoryOfPastIllnessSection2HistoryOfPastIllnessSectionCode", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -369,6 +376,9 @@ public static boolean validateHistoryOfPastIllnessSectionProblemObservation( HistoryOfPastIllnessSection2 historyOfPastIllnessSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryOfPastIllnessSection2HistoryOfPastIllnessSectionProblemObservation", "INFO"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSectionOperations.java index 721455eaf5..020b49315c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,8 @@ public static boolean validateHistoryOfPastIllnessSectionTemplateId( HistoryOfPastIllnessSection historyOfPastIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSectionHistoryOfPastIllnessSectionTemplateId", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateHistoryOfPastIllnessSectionCode( HistoryOfPastIllnessSection historyOfPastIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSectionHistoryOfPastIllnessSectionCode", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +243,8 @@ public static boolean validateHistoryOfPastIllnessSectionCodeP( HistoryOfPastIllnessSection historyOfPastIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSectionHistoryOfPastIllnessSectionCodeP", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +311,8 @@ public static boolean validateHistoryOfPastIllnessSectionTitle( HistoryOfPastIllnessSection historyOfPastIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSectionHistoryOfPastIllnessSectionTitle", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +379,8 @@ public static boolean validateHistoryOfPastIllnessSectionText( HistoryOfPastIllnessSection historyOfPastIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSectionHistoryOfPastIllnessSectionText", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +447,9 @@ public static boolean validateHistoryOfPastIllnessSectionProblemObservation( HistoryOfPastIllnessSection historyOfPastIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryOfPastIllnessSectionHistoryOfPastIllnessSectionProblemObservation", "INFO"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPresentIllnessSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPresentIllnessSectionOperations.java index f085b0c271..80ad7655eb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPresentIllnessSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPresentIllnessSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateHistoryOfPresentIllnessSectionTemplateId( HistoryOfPresentIllnessSection historyOfPresentIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryOfPresentIllnessSectionHistoryOfPresentIllnessSectionTemplateId", "ERROR"); + if (VALIDATE_HISTORY_OF_PRESENT_ILLNESS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,8 @@ public static boolean validateHistoryOfPresentIllnessSectionCode( HistoryOfPresentIllnessSection historyOfPresentIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPresentIllnessSectionHistoryOfPresentIllnessSectionCode", "ERROR"); + if (VALIDATE_HISTORY_OF_PRESENT_ILLNESS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +237,8 @@ public static boolean validateHistoryOfPresentIllnessSectionCodeP( HistoryOfPresentIllnessSection historyOfPresentIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPresentIllnessSectionHistoryOfPresentIllnessSectionCodeP", "ERROR"); + if (VALIDATE_HISTORY_OF_PRESENT_ILLNESS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +306,8 @@ public static boolean validateHistoryOfPresentIllnessSectionTitle( HistoryOfPresentIllnessSection historyOfPresentIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPresentIllnessSectionHistoryOfPresentIllnessSectionTitle", "ERROR"); + if (VALIDATE_HISTORY_OF_PRESENT_ILLNESS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +375,8 @@ public static boolean validateHistoryOfPresentIllnessSectionText( HistoryOfPresentIllnessSection historyOfPresentIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPresentIllnessSectionHistoryOfPresentIllnessSectionText", "ERROR"); + if (VALIDATE_HISTORY_OF_PRESENT_ILLNESS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosis2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosis2Operations.java index 998f30a7e8..3bfe1f21e7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosis2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosis2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateHospitalAdmissionDiagnosis2TemplateId( HospitalAdmissionDiagnosis2 hospitalAdmissionDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosis2HospitalAdmissionDiagnosis2TemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -142,6 +145,8 @@ public static boolean validateHospitalAdmissionDiagnosisCodeP( HospitalAdmissionDiagnosis2 hospitalAdmissionDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosis2HospitalAdmissionDiagnosisCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +307,8 @@ public static boolean validateHospitalAdmissionDiagnosisCode( return true; } + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosis2HospitalAdmissionDiagnosisCode", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +374,9 @@ public static boolean validateHospitalAdmissionDiagnosisProblemObservation( HospitalAdmissionDiagnosis2 hospitalAdmissionDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosis2HospitalAdmissionDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisOperations.java index 8c5f181155..bde30407b1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ public static boolean validateHospitalAdmissionDiagnosisTemplateId( HospitalAdmissionDiagnosis hospitalAdmissionDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosisHospitalAdmissionDiagnosisTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateHospitalAdmissionDiagnosisClassCode( HospitalAdmissionDiagnosis hospitalAdmissionDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosisHospitalAdmissionDiagnosisClassCode", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -214,6 +219,8 @@ public static boolean validateHospitalAdmissionDiagnosisClassCode( public static boolean validateHospitalAdmissionDiagnosisCode(HospitalAdmissionDiagnosis hospitalAdmissionDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosisHospitalAdmissionDiagnosisCode", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -279,6 +286,8 @@ public static boolean validateHospitalAdmissionDiagnosisMoodCode( HospitalAdmissionDiagnosis hospitalAdmissionDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosisHospitalAdmissionDiagnosisMoodCode", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +377,9 @@ public static boolean validateHospitalAdmissionDiagnosisProblemObservation( HospitalAdmissionDiagnosis hospitalAdmissionDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisHospitalAdmissionDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisSectionOperations.java index 94694cbf55..00040060e4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisSectionOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,9 @@ public static boolean validateHospitalAdmissionDiagnosisSectionTemplateId( HospitalAdmissionDiagnosisSection hospitalAdmissionDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosisSectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +173,9 @@ public static boolean validateHospitalAdmissionDiagnosisSectionCode( HospitalAdmissionDiagnosisSection hospitalAdmissionDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosisSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +243,9 @@ public static boolean validateHospitalAdmissionDiagnosisSectionCodeP( HospitalAdmissionDiagnosisSection hospitalAdmissionDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +313,9 @@ public static boolean validateHospitalAdmissionDiagnosisSectionTitle( HospitalAdmissionDiagnosisSection hospitalAdmissionDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosisSectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +383,9 @@ public static boolean validateHospitalAdmissionDiagnosisSectionText( HospitalAdmissionDiagnosisSection hospitalAdmissionDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosisSectionText", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +453,10 @@ public static boolean validateHospitalAdmissionDiagnosisSectionHospitalAdmission HospitalAdmissionDiagnosisSection hospitalAdmissionDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosis", + "WARNING"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_HOSPITAL_ADMISSION_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionMedicationsSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionMedicationsSectionEntriesOptionalOperations.java index c8284355ac..d2a3c10f8c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionMedicationsSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionMedicationsSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional HospitalAdmissionMedicationsSectionEntriesOptional hospitalAdmissionMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalAdmissionMedicationsSectionEntriesOptionalHospitalAdmissionMedicationsSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +178,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional HospitalAdmissionMedicationsSectionEntriesOptional hospitalAdmissionMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalAdmissionMedicationsSectionEntriesOptionalHospitalAdmissionMedicationsSectionEntriesOptionalCode", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +250,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional HospitalAdmissionMedicationsSectionEntriesOptional hospitalAdmissionMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalAdmissionMedicationsSectionEntriesOptionalHospitalAdmissionMedicationsSectionEntriesOptionalCodeP", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +301,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional HospitalAdmissionMedicationsSectionEntriesOptional hospitalAdmissionMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalAdmissionMedicationsSectionEntriesOptionalHospitalAdmissionMedicationsSectionEntriesOptionalText", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +394,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional HospitalAdmissionMedicationsSectionEntriesOptional hospitalAdmissionMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalAdmissionMedicationsSectionEntriesOptionalHospitalAdmissionMedicationsSectionEntriesOptionalTitle", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +466,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional HospitalAdmissionMedicationsSectionEntriesOptional hospitalAdmissionMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalAdmissionMedicationsSectionEntriesOptionalHospitalAdmissionMedicationsSectionEntriesOptionalAdmissionMedication", + "WARNING"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_ADMISSION_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalConsultationsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalConsultationsSectionOperations.java index 006ffaac93..83d2c08b27 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalConsultationsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalConsultationsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ public static boolean validateHospitalConsultationsSectionTemplateId( HospitalConsultationsSection hospitalConsultationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalConsultationsSectionHospitalConsultationsSectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_CONSULTATIONS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateHospitalConsultationsSectionCode( HospitalConsultationsSection hospitalConsultationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalConsultationsSectionHospitalConsultationsSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_CONSULTATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateHospitalConsultationsSectionCodeP( HospitalConsultationsSection hospitalConsultationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalConsultationsSectionHospitalConsultationsSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_CONSULTATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateHospitalConsultationsSectionText( HospitalConsultationsSection hospitalConsultationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalConsultationsSectionHospitalConsultationsSectionText", "ERROR"); + if (VALIDATE_HOSPITAL_CONSULTATIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +372,8 @@ public static boolean validateHospitalConsultationsSectionTitle( HospitalConsultationsSection hospitalConsultationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalConsultationsSectionHospitalConsultationsSectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_CONSULTATIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalCourseSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalCourseSectionOperations.java index 89683ba46b..a40dc3b1af 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalCourseSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalCourseSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected HospitalCourseSectionOperations() { public static boolean validateHospitalCourseSectionTemplateId(HospitalCourseSection hospitalCourseSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalCourseSectionHospitalCourseSectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_COURSE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateHospitalCourseSectionTemplateId(HospitalCourseSect public static boolean validateHospitalCourseSectionCode(HospitalCourseSection hospitalCourseSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalCourseSectionHospitalCourseSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_COURSE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateHospitalCourseSectionCode(HospitalCourseSection ho public static boolean validateHospitalCourseSectionCodeP(HospitalCourseSection hospitalCourseSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalCourseSectionHospitalCourseSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_COURSE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateHospitalCourseSectionCodeP(HospitalCourseSection h public static boolean validateHospitalCourseSectionTitle(HospitalCourseSection hospitalCourseSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalCourseSectionHospitalCourseSectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_COURSE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateHospitalCourseSectionTitle(HospitalCourseSection h public static boolean validateHospitalCourseSectionText(HospitalCourseSection hospitalCourseSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalCourseSectionHospitalCourseSectionText", "ERROR"); + if (VALIDATE_HOSPITAL_COURSE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosis2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosis2Operations.java index 69f3003cf7..ce2552f40c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosis2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosis2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateHospitalDischargeDiagnosis2TemplateId( HospitalDischargeDiagnosis2 hospitalDischargeDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalDischargeDiagnosis2HospitalDischargeDiagnosis2TemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -142,6 +145,8 @@ public static boolean validateHospitalDischargeDiagnosisCodeP( HospitalDischargeDiagnosis2 hospitalDischargeDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalDischargeDiagnosis2HospitalDischargeDiagnosisCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +307,8 @@ public static boolean validateHospitalDischargeDiagnosisCode( return true; } + DatatypesUtil.increment(context, "HospitalDischargeDiagnosis2HospitalDischargeDiagnosisCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +374,9 @@ public static boolean validateHospitalDischargeDiagnosisProblemObservation( HospitalDischargeDiagnosis2 hospitalDischargeDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosis2HospitalDischargeDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisOperations.java index 0d56c2d0d3..d095dc8127 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,9 @@ public static boolean validateHospitalDischargeDiagnosisProblemObservation( HospitalDischargeDiagnosis hospitalDischargeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisHospitalDischargeDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +173,8 @@ public static boolean validateHospitalDischargeDiagnosisTemplateId( HospitalDischargeDiagnosis hospitalDischargeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalDischargeDiagnosisHospitalDischargeDiagnosisTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +242,8 @@ public static boolean validateHospitalDischargeDiagnosisClassCode( HospitalDischargeDiagnosis hospitalDischargeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalDischargeDiagnosisHospitalDischargeDiagnosisClassCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +311,8 @@ public static boolean validateHospitalDischargeDiagnosisMoodCode( HospitalDischargeDiagnosis hospitalDischargeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalDischargeDiagnosisHospitalDischargeDiagnosisMoodCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +380,8 @@ public static boolean validateHospitalDischargeDiagnosisMoodCode( public static boolean validateHospitalDischargeDiagnosisCode(HospitalDischargeDiagnosis hospitalDischargeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalDischargeDiagnosisHospitalDischargeDiagnosisCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisSectionOperations.java index 984b4ba1be..f23024c5e8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisSectionOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,9 @@ public static boolean validateHospitalDischargeDiagnosisSectionTemplateId( HospitalDischargeDiagnosisSection hospitalDischargeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosisSectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +173,9 @@ public static boolean validateHospitalDischargeDiagnosisSectionCode( HospitalDischargeDiagnosisSection hospitalDischargeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosisSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +243,9 @@ public static boolean validateHospitalDischargeDiagnosisSectionCodeP( HospitalDischargeDiagnosisSection hospitalDischargeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +313,9 @@ public static boolean validateHospitalDischargeDiagnosisSectionTitle( HospitalDischargeDiagnosisSection hospitalDischargeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosisSectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +383,9 @@ public static boolean validateHospitalDischargeDiagnosisSectionText( HospitalDischargeDiagnosisSection hospitalDischargeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosisSectionText", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +453,10 @@ public static boolean validateHospitalDischargeDiagnosisSectionHospitalDischarge HospitalDischargeDiagnosisSection hospitalDischargeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosisSectionHospitalDischargeDiagnosis", + "WARNING"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_HOSPITAL_DISCHARGE_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeInstructionsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeInstructionsSectionOperations.java index 2ea34919c3..00b6794264 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeInstructionsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeInstructionsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateHospitalDischargeInstructionsSectionTemplateId( HospitalDischargeInstructionsSection hospitalDischargeInstructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeInstructionsSectionHospitalDischargeInstructionsSectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateHospitalDischargeInstructionsSectionCode( HospitalDischargeInstructionsSection hospitalDischargeInstructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeInstructionsSectionHospitalDischargeInstructionsSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateHospitalDischargeInstructionsSectionCodeP( HospitalDischargeInstructionsSection hospitalDischargeInstructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeInstructionsSectionHospitalDischargeInstructionsSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,9 @@ public static boolean validateHospitalDischargeInstructionsSectionTitle( HospitalDischargeInstructionsSection hospitalDischargeInstructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeInstructionsSectionHospitalDischargeInstructionsSectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +378,9 @@ public static boolean validateHospitalDischargeInstructionsSectionText( HospitalDischargeInstructionsSection hospitalDischargeInstructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeInstructionsSectionHospitalDischargeInstructionsSectionText", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionEntriesOptionalOperations.java index d0a69fa24f..235d99f2d4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSectionEntriesOptional hospitalDischargeMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionEntriesOptionalHospitalDischargeMedicationsSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +178,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSectionEntriesOptional hospitalDischargeMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionEntriesOptionalHospitalDischargeMedicationsSectionEntriesOptionalCode", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +250,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSectionEntriesOptional hospitalDischargeMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionEntriesOptionalHospitalDischargeMedicationsSectionEntriesOptionalCodeP", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +322,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSectionEntriesOptional hospitalDischargeMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionEntriesOptionalHospitalDischargeMedicationsSectionEntriesOptionalTitle", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +394,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSectionEntriesOptional hospitalDischargeMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionEntriesOptionalHospitalDischargeMedicationsSectionEntriesOptionalText", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +466,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSectionEntriesOptional hospitalDischargeMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionEntriesOptionalHospitalDischargeMedicationsSectionEntriesOptionalDischargeMedication", + "WARNING"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_DISCHARGE_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionOperations.java index 3b01944638..34659368f9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -153,6 +154,10 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSection hospitalDischargeMedicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeMedicationsSectionHospitalDischargeMedicationsSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -220,6 +225,10 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSection hospitalDischargeMedicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeMedicationsSectionHospitalDischargeMedicationsSectionEntriesOptionalCodeP", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -314,6 +323,10 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional return true; } + DatatypesUtil.increment( + context, "HospitalDischargeMedicationsSectionHospitalDischargeMedicationsSectionEntriesOptionalCode", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -381,6 +394,10 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSection hospitalDischargeMedicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeMedicationsSectionHospitalDischargeMedicationsSectionEntriesOptionalText", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -448,6 +465,10 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSection hospitalDischargeMedicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeMedicationsSectionHospitalDischargeMedicationsSectionEntriesOptionalTitle", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -515,6 +536,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSection hospitalDischargeMedicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionHospitalDischargeMedicationsSectionEntriesOptionalDischargeMedication", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_DISCHARGE_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargePhysicalSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargePhysicalSectionOperations.java index 2abd718cf6..52be00638a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargePhysicalSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargePhysicalSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateHospitalDischargePhysicalSectionTemplateId( HospitalDischargePhysicalSection hospitalDischargePhysicalSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargePhysicalSectionHospitalDischargePhysicalSectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_PHYSICAL_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateHospitalDischargePhysicalSectionCode( HospitalDischargePhysicalSection hospitalDischargePhysicalSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargePhysicalSectionHospitalDischargePhysicalSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_PHYSICAL_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateHospitalDischargePhysicalSectionCodeP( HospitalDischargePhysicalSection hospitalDischargePhysicalSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargePhysicalSectionHospitalDischargePhysicalSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_PHYSICAL_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,9 @@ public static boolean validateHospitalDischargePhysicalSectionTitle( HospitalDischargePhysicalSection hospitalDischargePhysicalSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargePhysicalSectionHospitalDischargePhysicalSectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_PHYSICAL_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +378,9 @@ public static boolean validateHospitalDischargePhysicalSectionText( HospitalDischargePhysicalSection hospitalDischargePhysicalSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargePhysicalSectionHospitalDischargePhysicalSectionText", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_PHYSICAL_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeStudiesSummarySectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeStudiesSummarySectionOperations.java index c247c47b37..cb4eed3880 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeStudiesSummarySectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeStudiesSummarySectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateHospitalDischargeStudiesSummarySectionTemplateId( HospitalDischargeStudiesSummarySection hospitalDischargeStudiesSummarySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeStudiesSummarySectionHospitalDischargeStudiesSummarySectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateHospitalDischargeStudiesSummarySectionCode( HospitalDischargeStudiesSummarySection hospitalDischargeStudiesSummarySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeStudiesSummarySectionHospitalDischargeStudiesSummarySectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateHospitalDischargeStudiesSummarySectionCodeP( HospitalDischargeStudiesSummarySection hospitalDischargeStudiesSummarySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeStudiesSummarySectionHospitalDischargeStudiesSummarySectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,9 @@ public static boolean validateHospitalDischargeStudiesSummarySectionTitle( HospitalDischargeStudiesSummarySection hospitalDischargeStudiesSummarySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeStudiesSummarySectionHospitalDischargeStudiesSummarySectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +378,9 @@ public static boolean validateHospitalDischargeStudiesSummarySectionText( HospitalDischargeStudiesSummarySection hospitalDischargeStudiesSummarySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeStudiesSummarySectionHospitalDischargeStudiesSummarySectionText", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivity2Operations.java index 51db3be27b..f966d1dc06 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivity2Operations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -137,6 +138,8 @@ protected ImmunizationActivity2Operations() { public static boolean validateImmunizationActivity2TemplateId(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivity2TemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -202,6 +205,8 @@ public static boolean validateImmunizationActivity2TemplateId(ImmunizationActivi public static boolean validateImmunizationActivityStatusCodeP(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityStatusCodeP", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -280,6 +285,8 @@ public static boolean validateImmunizationActivityStatusCodeP(ImmunizationActivi public static boolean validateImmunizationActivity2AuthorParticipation(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivity2AuthorParticipation", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -346,6 +353,9 @@ public static boolean validateImmunizationActivity2AuthorParticipation(Immunizat public static boolean validateImmunizationActivity2EntryRelationshipForSubAdminAct( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivity2EntryRelationshipForSubAdminAct", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_ENTRY_RELATIONSHIP_FOR_SUB_ADMIN_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +422,9 @@ public static boolean validateImmunizationActivity2EntryRelationshipForSubAdminA public static boolean validateImmunizationActivity2EntryRelationshipTypeCode( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivity2EntryRelationshipTypeCode", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -483,6 +496,9 @@ public static boolean validateImmunizationActivity2EntryRelationshipTypeCode( public static boolean validateImmunizationActivity2EntryRelationshipInversionInd( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivity2EntryRelationshipInversionInd", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_ENTRY_RELATIONSHIP_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -554,6 +570,9 @@ public static boolean validateImmunizationActivity2EntryRelationshipInversionInd public static boolean validateImmunizationActivity2EntryRelationshipSequenceNumber( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivity2EntryRelationshipSequenceNumber", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_ENTRY_RELATIONSHIP_SEQUENCE_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -625,6 +644,9 @@ public static boolean validateImmunizationActivity2EntryRelationshipSequenceNumb public static boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivity2EntryRelationshipSubstanceAdministeredAct", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_ENTRY_RELATIONSHIP_SUBSTANCE_ADMINISTERED_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -696,6 +718,8 @@ public static boolean validateImmunizationActivity2EntryRelationshipSubstanceAdm public static boolean validateImmunizationActivity2CETranslationP(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivity2CETranslationP", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -781,6 +805,8 @@ public static boolean validateImmunizationActivity2CETranslationP(ImmunizationAc public static boolean validateImmunizationActivity2CETranslation(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivity2CETranslation", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1137,6 +1163,8 @@ public static Instruction2 getConsolInstruction2(ImmunizationActivity2 immunizat public static boolean validateImmunizationActivityTextReference(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityTextReference", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1202,6 +1230,8 @@ public static boolean validateImmunizationActivityTextReference(ImmunizationActi public static boolean validateImmunizationActivityReferenceValue(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityReferenceValue", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1267,6 +1297,8 @@ public static boolean validateImmunizationActivityReferenceValue(ImmunizationAct public static boolean validateImmunizationActivityTextReferenceValue(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityTextReferenceValue", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1332,6 +1364,8 @@ public static boolean validateImmunizationActivityTextReferenceValue(Immunizatio public static boolean validateImmunizationActivityInstructionInversion(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityInstructionInversion", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_INSTRUCTION_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1377,6 +1411,8 @@ public static boolean validateImmunizationActivityInstructionInversion(Immunizat public static boolean validateImmunizationActivityCode(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityCode", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1427,6 +1463,8 @@ public static boolean validateImmunizationActivityStatusCode(ImmunizationActivit return true; } + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityStatusCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1470,6 +1508,8 @@ public static boolean validateImmunizationActivityStatusCode(ImmunizationActivit public static boolean validateImmunizationActivityRepeatNumber(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityRepeatNumber", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1514,6 +1554,8 @@ public static boolean validateImmunizationActivityRepeatNumber(ImmunizationActiv public static boolean validateImmunizationActivityAdministrationUnitCodeP( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityAdministrationUnitCodeP", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ADMINISTRATION_UNIT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1582,6 +1624,8 @@ public static boolean validateImmunizationActivityAdministrationUnitCode( return true; } + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityAdministrationUnitCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ADMINISTRATION_UNIT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1627,6 +1671,8 @@ public static boolean validateImmunizationActivityAdministrationUnitCode( public static boolean validateImmunizationActivityText(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityText", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1669,6 +1715,8 @@ public static boolean validateImmunizationActivityText(ImmunizationActivity2 imm public static boolean validateImmunizationActivityRouteCodeP(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityRouteCodeP", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ROUTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1734,6 +1782,8 @@ public static boolean validateImmunizationActivityRouteCode(ImmunizationActivity return true; } + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityRouteCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ROUTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1972,6 +2022,8 @@ public static boolean validateImmunizationActivityRouteCode(ImmunizationActivity public static boolean validateImmunizationActivityDrugVehicle(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityDrugVehicle", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_DRUG_VEHICLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2037,6 +2089,8 @@ public static boolean validateImmunizationActivityDrugVehicle(ImmunizationActivi public static boolean validateImmunizationActivityIndication(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityIndication", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2101,6 +2155,8 @@ public static boolean validateImmunizationActivityIndication(ImmunizationActivit public static boolean validateImmunizationActivityMedicationSupplyOrder(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityMedicationSupplyOrder", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_MEDICATION_SUPPLY_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2167,6 +2223,8 @@ public static boolean validateImmunizationActivityMedicationSupplyOrder(Immuniza public static boolean validateImmunizationActivityMedicationDispense(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityMedicationDispense", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_MEDICATION_DISPENSE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2232,6 +2290,8 @@ public static boolean validateImmunizationActivityMedicationDispense(Immunizatio public static boolean validateImmunizationActivityReactionObservation(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityReactionObservation", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2297,6 +2357,8 @@ public static boolean validateImmunizationActivityReactionObservation(Immunizati public static boolean validateImmunizationActivityInstructions(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityInstructions", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2362,6 +2424,8 @@ public static boolean validateImmunizationActivityInstructions(ImmunizationActiv public static boolean validateImmunizationActivityConsumable(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityConsumable", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2426,6 +2490,8 @@ public static boolean validateImmunizationActivityConsumable(ImmunizationActivit public static boolean validateImmunizationActivityPrecondition(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityPrecondition", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PRECONDITION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2491,6 +2557,9 @@ public static boolean validateImmunizationActivityPrecondition(ImmunizationActiv public static boolean validateImmunizationActivityConsumableImmunizationMedicationInformation( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivityConsumableImmunizationMedicationInformation", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CONSUMABLE_IMMUNIZATION_MEDICATION_INFORMATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2562,6 +2631,8 @@ public static boolean validateImmunizationActivityConsumableImmunizationMedicati public static boolean validateImmunizationActivityPreconditionTypeCode(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityPreconditionTypeCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PRECONDITION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2633,6 +2704,10 @@ public static boolean validateImmunizationActivityPreconditionTypeCode(Immunizat public static boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdministration( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivityPreconditionPreconditionForSubstanceAdministration", + "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PRECONDITION_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivityOperations.java index 719d5c9a0e..485e9cd7c1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivityOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.SubstanceAdministrationOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -144,6 +145,8 @@ protected ImmunizationActivityOperations() { public static boolean validateImmunizationActivityTextReference(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityTextReference", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -209,6 +212,8 @@ public static boolean validateImmunizationActivityTextReference(ImmunizationActi public static boolean validateImmunizationActivityReferenceValue(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityReferenceValue", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -274,6 +279,8 @@ public static boolean validateImmunizationActivityReferenceValue(ImmunizationAct public static boolean validateImmunizationActivityTextReferenceValue(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityTextReferenceValue", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -339,6 +346,8 @@ public static boolean validateImmunizationActivityTextReferenceValue(Immunizatio public static boolean validateImmunizationActivityDoseQuantityUnit(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityDoseQuantityUnit", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_DOSE_QUANTITY_UNIT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -404,6 +413,8 @@ public static boolean validateImmunizationActivityDoseQuantityUnit(ImmunizationA public static boolean validateImmunizationActivityInstructionInversion(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityInstructionInversion", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_INSTRUCTION_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -469,6 +480,8 @@ public static boolean validateImmunizationActivityInstructionInversion(Immunizat public static boolean validateImmunizationActivityDrugVehicleTypeCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityDrugVehicleTypeCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_DRUG_VEHICLE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -514,6 +527,8 @@ public static boolean validateImmunizationActivityDrugVehicleTypeCode(Immunizati public static boolean validateImmunizationActivityPreconditionTypeCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityPreconditionTypeCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PRECONDITION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -564,6 +579,10 @@ public static boolean validateImmunizationActivityPreconditionTypeCode(Immunizat public static boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdministration( ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivityImmunizationActivityPreconditionPreconditionForSubstanceAdministration", + "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PRECONDITION_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -635,6 +654,8 @@ public static boolean validateImmunizationActivityPreconditionPreconditionForSub public static boolean validateImmunizationActivityTemplateId(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -699,6 +720,8 @@ public static boolean validateImmunizationActivityTemplateId(ImmunizationActivit public static boolean validateImmunizationActivityClassCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityClassCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -765,6 +788,8 @@ public static boolean validateImmunizationActivityClassCode(ImmunizationActivity public static boolean validateImmunizationActivityMoodCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityMoodCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -808,6 +833,8 @@ public static boolean validateImmunizationActivityMoodCode(ImmunizationActivity public static boolean validateImmunizationActivityId(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityId", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -850,6 +877,8 @@ public static boolean validateImmunizationActivityId(ImmunizationActivity immuni public static boolean validateImmunizationActivityCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityCode", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -892,6 +921,8 @@ public static boolean validateImmunizationActivityCode(ImmunizationActivity immu public static boolean validateImmunizationActivityStatusCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityStatusCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -935,6 +966,8 @@ public static boolean validateImmunizationActivityStatusCode(ImmunizationActivit public static boolean validateImmunizationActivityEffectiveTime(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityEffectiveTime", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -979,6 +1012,8 @@ public static boolean validateImmunizationActivityEffectiveTime(ImmunizationActi public static boolean validateImmunizationActivityRouteCodeP(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityRouteCodeP", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ROUTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1044,6 +1079,8 @@ public static boolean validateImmunizationActivityRouteCode(ImmunizationActivity return true; } + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityRouteCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ROUTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1087,6 +1124,8 @@ public static boolean validateImmunizationActivityRouteCode(ImmunizationActivity public static boolean validateImmunizationActivityApproachSiteCodeP(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityApproachSiteCodeP", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_APPROACH_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1131,6 +1170,8 @@ public static boolean validateImmunizationActivityApproachSiteCodeP(Immunization public static boolean validateImmunizationActivityApproachSiteCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityApproachSiteCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_APPROACH_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1175,6 +1216,8 @@ public static boolean validateImmunizationActivityApproachSiteCode(ImmunizationA public static boolean validateImmunizationActivityDoseQuantity(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityDoseQuantity", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1282,6 +1325,8 @@ public static boolean validateImmunizationActivityDoseQuantity(ImmunizationActiv public static boolean validateImmunizationActivityNegationInd(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityNegationInd", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1389,6 +1434,8 @@ public static boolean validateImmunizationActivityNegationInd(ImmunizationActivi public static boolean validateImmunizationActivityText(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityText", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1561,6 +1608,8 @@ public static boolean validateImmunizationActivityText(ImmunizationActivity immu public static boolean validateImmunizationActivityRepeatNumber(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityRepeatNumber", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1626,6 +1675,8 @@ public static boolean validateImmunizationActivityRepeatNumber(ImmunizationActiv public static boolean validateImmunizationActivityAdministrationUnitCodeP(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityAdministrationUnitCodeP", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ADMINISTRATION_UNIT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1717,6 +1768,8 @@ public static boolean validateImmunizationActivityAdministrationUnitCode(Immuniz return true; } + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityAdministrationUnitCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ADMINISTRATION_UNIT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1783,6 +1836,8 @@ public static boolean validateImmunizationActivityAdministrationUnitCode(Immuniz public static boolean validateImmunizationActivityDrugVehicle(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityDrugVehicle", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_DRUG_VEHICLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1848,6 +1903,8 @@ public static boolean validateImmunizationActivityDrugVehicle(ImmunizationActivi public static boolean validateImmunizationActivityIndication(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityIndication", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1912,6 +1969,8 @@ public static boolean validateImmunizationActivityIndication(ImmunizationActivit public static boolean validateImmunizationActivityInstructions(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityInstructions", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1977,6 +2036,8 @@ public static boolean validateImmunizationActivityInstructions(ImmunizationActiv public static boolean validateImmunizationActivityMedicationDispense(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityMedicationDispense", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_MEDICATION_DISPENSE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2042,6 +2103,8 @@ public static boolean validateImmunizationActivityMedicationDispense(Immunizatio public static boolean validateImmunizationActivityReactionObservation(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityReactionObservation", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2086,6 +2149,8 @@ public static boolean validateImmunizationActivityReactionObservation(Immunizati public static boolean validateImmunizationActivityPrecondition(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityPrecondition", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PRECONDITION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2151,6 +2216,8 @@ public static boolean validateImmunizationActivityPrecondition(ImmunizationActiv public static boolean validateImmunizationActivityImmunizationRefusalReason( ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityImmunizationRefusalReason", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_IMMUNIZATION_REFUSAL_REASON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2217,6 +2284,8 @@ public static boolean validateImmunizationActivityImmunizationRefusalReason( public static boolean validateImmunizationActivityConsumable(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityConsumable", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2281,6 +2350,8 @@ public static boolean validateImmunizationActivityConsumable(ImmunizationActivit public static boolean validateImmunizationActivityPerformer(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityPerformer", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2366,6 +2437,8 @@ public static boolean validateImmunizationActivityPerformer(ImmunizationActivity public static boolean validateImmunizationActivityMedicationSupplyOrder(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityMedicationSupplyOrder", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_MEDICATION_SUPPLY_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2474,6 +2547,9 @@ public static boolean validateImmunizationActivityMedicationSupplyOrder(Immuniza public static boolean validateImmunizationActivityConsumableImmunizationMedicationInformation( ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivityImmunizationActivityConsumableImmunizationMedicationInformation", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CONSUMABLE_IMMUNIZATION_MEDICATION_INFORMATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformation2Operations.java index 2d778e08ef..d5098e352a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformation2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -103,6 +104,9 @@ public static boolean validateImmunizationMedicationInformation2TemplateId( ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformation2ImmunizationMedicationInformation2TemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +174,11 @@ public static boolean validateImmunizationMedicationInformation2ImmunizationMedi ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformation2ImmunizationMedicationInformationManufacturedMaterialCETranslationP", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION2_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -258,6 +267,11 @@ public static boolean validateImmunizationMedicationInformation2ImmunizationMedi ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformation2ImmunizationMedicationInformationManufacturedMaterialCETranslation", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION2_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -340,6 +354,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialOriginalTextReferenceValue", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -391,6 +410,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeP", + "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -456,6 +480,10 @@ public static boolean validateImmunizationMedicationInformationManufacturedMater ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformation2ImmunizationMedicationInformationManufacturedMaterial", + "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +530,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeOriginalText", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -553,6 +586,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialOriginalTextReference", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -604,6 +642,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialTextReferenceValue", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -781,6 +824,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeTranslation", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -855,6 +903,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCode", + "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -937,6 +990,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialLotNumberText", + "WARNING"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_LOT_NUMBER_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformationOperations.java index 1854761e92..b447d3d896 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformationOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ManufacturedProductOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -106,6 +107,9 @@ public static boolean validateImmunizationMedicationInformationTemplateId( ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformationImmunizationMedicationInformationTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +177,9 @@ public static boolean validateImmunizationMedicationInformationClassCode( ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformationImmunizationMedicationInformationClassCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -240,6 +247,9 @@ public static boolean validateImmunizationMedicationInformationId( ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformationImmunizationMedicationInformationId", "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -307,6 +317,10 @@ public static boolean validateImmunizationMedicationInformationManufacturerOrgan ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformationImmunizationMedicationInformationManufacturerOrganization", + "WARNING"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURER_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -374,6 +388,9 @@ public static boolean validateImmunizationMedicationInformationManufacturedMater ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterial", "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -441,6 +458,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformationImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeOriginalText", + "WARNING"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -513,6 +535,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformationImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialOriginalTextReference", + "WARNING"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +612,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformationImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialTextReferenceValue", + "WARNING"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -657,6 +689,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformationImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeTranslation", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -731,6 +768,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformationImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCode", + "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -803,6 +845,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformationImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialLotNumberText", + "WARNING"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_LOT_NUMBER_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationRefusalReasonOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationRefusalReasonOperations.java index 59a89fcd7d..6c82cb6773 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationRefusalReasonOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationRefusalReasonOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateImmunizationRefusalReasonTemplateId( ImmunizationRefusalReason immunizationRefusalReason, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationRefusalReasonImmunizationRefusalReasonTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATION_REFUSAL_REASON_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateImmunizationRefusalReasonClassCode( ImmunizationRefusalReason immunizationRefusalReason, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationRefusalReasonImmunizationRefusalReasonClassCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_REFUSAL_REASON_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -229,6 +234,8 @@ public static boolean validateImmunizationRefusalReasonClassCode( public static boolean validateImmunizationRefusalReasonCode(ImmunizationRefusalReason immunizationRefusalReason, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationRefusalReasonImmunizationRefusalReasonCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_REFUSAL_REASON_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +300,8 @@ public static boolean validateImmunizationRefusalReasonCode(ImmunizationRefusalR public static boolean validateImmunizationRefusalReasonId(ImmunizationRefusalReason immunizationRefusalReason, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationRefusalReasonImmunizationRefusalReasonId", "ERROR"); + if (VALIDATE_IMMUNIZATION_REFUSAL_REASON_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +366,8 @@ public static boolean validateImmunizationRefusalReasonId(ImmunizationRefusalRea public static boolean validateImmunizationRefusalReasonMoodCode(ImmunizationRefusalReason immunizationRefusalReason, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationRefusalReasonImmunizationRefusalReasonMoodCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_REFUSAL_REASON_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +435,8 @@ public static boolean validateImmunizationRefusalReasonStatusCode( ImmunizationRefusalReason immunizationRefusalReason, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationRefusalReasonImmunizationRefusalReasonStatusCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_REFUSAL_REASON_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSection2Operations.java index 3fd91bb8b4..d8505b5ea6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected ImmunizationsSection2Operations() { public static boolean validateImmunizationsSection2NullFlavor(ImmunizationsSection2 immunizationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSection2ImmunizationsSection2NullFlavor", "INFO"); + if (VALIDATE_IMMUNIZATIONS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,8 @@ public static boolean validateImmunizationsSection2NullFlavor(ImmunizationsSecti public static boolean validateImmunizationsSection2Title(ImmunizationsSection2 immunizationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSection2ImmunizationsSection2Title", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -226,6 +231,8 @@ public static boolean validateImmunizationsSection2Title(ImmunizationsSection2 i public static boolean validateImmunizationsSection2Text(ImmunizationsSection2 immunizationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSection2ImmunizationsSection2Text", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateImmunizationsSection2Text(ImmunizationsSection2 im public static boolean validateImmunizationsSectionEntriesOptionalTemplateId( ImmunizationsSection2 immunizationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSection2ImmunizationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -355,6 +364,8 @@ public static boolean validateImmunizationsSectionEntriesOptionalTemplateId( public static boolean validateImmunizationsSectionEntriesOptionalCodeP(ImmunizationsSection2 immunizationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSection2ImmunizationsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -445,6 +456,8 @@ public static boolean validateImmunizationsSectionEntriesOptionalCode(Immunizati return true; } + DatatypesUtil.increment(context, "ImmunizationsSection2ImmunizationsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -510,6 +523,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalCode(Immunizati public static boolean validateImmunizationsSectionEntriesOptionalImmunizationActivity( ImmunizationsSection2 immunizationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSection2ImmunizationsSectionEntriesOptionalImmunizationActivity", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_IMMUNIZATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptional2Operations.java index 321431e4f6..7bb9e1676d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -146,6 +147,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalTemplateId( ImmunizationsSectionEntriesOptional2 immunizationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptional2ImmunizationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +217,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalCodeP( ImmunizationsSectionEntriesOptional2 immunizationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptional2ImmunizationsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +312,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptional2ImmunizationsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +382,10 @@ public static boolean validateImmunizationsSectionEntriesOptionalImmunizationAct ImmunizationsSectionEntriesOptional2 immunizationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptional2ImmunizationsSectionEntriesOptionalImmunizationActivity", + "WARNING"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_IMMUNIZATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptionalOperations.java index 056b3db59b..2bcb274734 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalTemplateId( ImmunizationsSectionEntriesOptional immunizationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptionalImmunizationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalCode( ImmunizationsSectionEntriesOptional immunizationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptionalImmunizationsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +246,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalCodeP( ImmunizationsSectionEntriesOptional immunizationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptionalImmunizationsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +316,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalTitle( ImmunizationsSectionEntriesOptional immunizationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptionalImmunizationsSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +386,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalText( ImmunizationsSectionEntriesOptional immunizationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptionalImmunizationsSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +456,10 @@ public static boolean validateImmunizationsSectionEntriesOptionalImmunizationAct ImmunizationsSectionEntriesOptional immunizationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptionalImmunizationsSectionEntriesOptionalImmunizationActivity", + "WARNING"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_IMMUNIZATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionOperations.java index 38a363c60f..5330025fa1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected ImmunizationsSectionOperations() { public static boolean validateImmunizationsSectionCodeP(ImmunizationsSection immunizationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSectionImmunizationsSectionCodeP", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +190,8 @@ public static boolean validateImmunizationsSectionCode(ImmunizationsSection immu return true; } + DatatypesUtil.increment(context, "ImmunizationsSectionImmunizationsSectionCode", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +255,8 @@ public static boolean validateImmunizationsSectionCode(ImmunizationsSection immu public static boolean validateImmunizationsSectionTitle(ImmunizationsSection immunizationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSectionImmunizationsSectionTitle", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +320,8 @@ public static boolean validateImmunizationsSectionTitle(ImmunizationsSection imm public static boolean validateImmunizationsSectionText(ImmunizationsSection immunizationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSectionImmunizationsSectionText", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +385,8 @@ public static boolean validateImmunizationsSectionText(ImmunizationsSection immu public static boolean validateImmunizationsSectionImmunization(ImmunizationsSection immunizationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSectionImmunizationsSectionImmunization", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_IMMUNIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -489,6 +500,8 @@ public static EList getImmunizations(ImmunizationsSection public static boolean validateImmunizationsSectionEntriesOptionalTemplateId( ImmunizationsSection immunizationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSectionImmunizationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Indication2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Indication2Operations.java index 2558ae8d48..7887fecef6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Indication2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Indication2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected Indication2Operations() { public static boolean validateIndicationProblemIndication(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2IndicationProblemIndication", "INFO"); + if (VALIDATE_INDICATION_PROBLEM_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -157,6 +160,8 @@ public static boolean validateIndicationProblemIndication(Indication2 indication public static boolean validateIndicationCodeNullFlavorValue(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2IndicationCodeNullFlavorValue", "INFO"); + if (VALIDATE_INDICATION_CODE_NULL_FLAVOR_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -220,6 +225,8 @@ public static boolean validateIndicationCodeNullFlavorValue(Indication2 indicati public static boolean validateIndication2TemplateId(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2Indication2TemplateId", "ERROR"); + if (VALIDATE_INDICATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -283,6 +290,8 @@ public static boolean validateIndication2TemplateId(Indication2 indication2, Dia public static boolean validateIndicationCodeNullFlavor(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2IndicationCodeNullFlavor", "INFO"); + if (VALIDATE_INDICATION_CODE_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -325,6 +334,8 @@ public static boolean validateIndicationCodeNullFlavor(Indication2 indication2, public static boolean validateIndicationCodeP(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2IndicationCodeP", "ERROR"); + if (VALIDATE_INDICATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -387,6 +398,8 @@ public static boolean validateIndicationCode(Indication2 indication2, Diagnostic return true; } + DatatypesUtil.increment(context, "Indication2IndicationCode", "INFO"); + if (VALIDATE_INDICATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -493,6 +506,8 @@ public static boolean validateIndicationCode(Indication2 indication2, Diagnostic public static boolean validateIndicationId(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2IndicationId", "ERROR"); + if (VALIDATE_INDICATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -554,6 +569,8 @@ public static boolean validateIndicationId(Indication2 indication2, DiagnosticCh public static boolean validateIndicationValueP(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2IndicationValueP", "INFO"); + if (VALIDATE_INDICATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -639,6 +656,8 @@ public static boolean validateIndicationValue(Indication2 indication2, Diagnosti return true; } + DatatypesUtil.increment(context, "Indication2IndicationValue", "WARNING"); + if (VALIDATE_INDICATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/IndicationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/IndicationOperations.java index 6982be2d57..21f019a979 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/IndicationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/IndicationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected IndicationOperations() { public static boolean validateIndicationCodeNullFlavor(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationCodeNullFlavor", "INFO"); + if (VALIDATE_INDICATION_CODE_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateIndicationCodeNullFlavor(Indication indication, Di public static boolean validateIndicationTemplateId(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationTemplateId", "ERROR"); + if (VALIDATE_INDICATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateIndicationTemplateId(Indication indication, Diagno public static boolean validateIndicationClassCode(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationClassCode", "ERROR"); + if (VALIDATE_INDICATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateIndicationClassCode(Indication indication, Diagnos public static boolean validateIndicationMoodCode(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationMoodCode", "ERROR"); + if (VALIDATE_INDICATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -351,6 +360,8 @@ public static boolean validateIndicationMoodCode(Indication indication, Diagnost public static boolean validateIndicationId(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationId", "ERROR"); + if (VALIDATE_INDICATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +423,8 @@ public static boolean validateIndicationId(Indication indication, DiagnosticChai public static boolean validateIndicationCodeP(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationCodeP", "ERROR"); + if (VALIDATE_INDICATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -497,6 +510,8 @@ public static boolean validateIndicationCode(Indication indication, DiagnosticCh return true; } + DatatypesUtil.increment(context, "IndicationIndicationCode", "WARNING"); + if (VALIDATE_INDICATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -560,6 +575,8 @@ public static boolean validateIndicationCode(Indication indication, DiagnosticCh public static boolean validateIndicationStatusCode(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationStatusCode", "ERROR"); + if (VALIDATE_INDICATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -623,6 +640,8 @@ public static boolean validateIndicationStatusCode(Indication indication, Diagno public static boolean validateIndicationEffectiveTime(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationEffectiveTime", "WARNING"); + if (VALIDATE_INDICATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -688,6 +707,8 @@ public static boolean validateIndicationEffectiveTime(Indication indication, Dia public static boolean validateIndicationValue(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationValue", "WARNING"); + if (VALIDATE_INDICATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -750,6 +771,8 @@ public static boolean validateIndicationValue(Indication indication, DiagnosticC public static boolean validateIndicationValueP(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationValueP", "WARNING"); + if (VALIDATE_INDICATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Instruction2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Instruction2Operations.java index f35cda45d1..db55d06424 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Instruction2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Instruction2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -86,6 +87,8 @@ protected Instruction2Operations() { public static boolean validateInstruction2TemplateId(Instruction2 instruction2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Instruction2Instruction2TemplateId", "ERROR"); + if (VALIDATE_INSTRUCTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -149,6 +152,8 @@ public static boolean validateInstruction2TemplateId(Instruction2 instruction2, public static boolean validateInstructionsText(Instruction2 instruction2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Instruction2InstructionsText", "ERROR"); + if (VALIDATE_INSTRUCTIONS_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsOperations.java index d25db1f5cd..6a2c993f6c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,8 @@ protected InstructionsOperations() { public static boolean validateInstructionsTextReference(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsTextReference", "WARNING"); + if (VALIDATE_INSTRUCTIONS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,8 @@ public static boolean validateInstructionsTextReference(Instructions instruction public static boolean validateInstructionsReferenceValue(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsReferenceValue", "WARNING"); + if (VALIDATE_INSTRUCTIONS_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -226,6 +231,8 @@ public static boolean validateInstructionsReferenceValue(Instructions instructio public static boolean validateInstructionsTextReferenceValue(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsTextReferenceValue", "ERROR"); + if (VALIDATE_INSTRUCTIONS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateInstructionsTextReferenceValue(Instructions instru public static boolean validateInstructionsTemplateId(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsTemplateId", "ERROR"); + if (VALIDATE_INSTRUCTIONS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateInstructionsTemplateId(Instructions instructions, public static boolean validateInstructionsClassCode(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsClassCode", "ERROR"); + if (VALIDATE_INSTRUCTIONS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -415,6 +426,8 @@ public static boolean validateInstructionsClassCode(Instructions instructions, D public static boolean validateInstructionsMoodCode(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsMoodCode", "ERROR"); + if (VALIDATE_INSTRUCTIONS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -478,6 +491,8 @@ public static boolean validateInstructionsMoodCode(Instructions instructions, Di public static boolean validateInstructionsCodeP(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsCodeP", "ERROR"); + if (VALIDATE_INSTRUCTIONS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -564,6 +579,8 @@ public static boolean validateInstructionsCode(Instructions instructions, Diagno return true; } + DatatypesUtil.increment(context, "InstructionsInstructionsCode", "WARNING"); + if (VALIDATE_INSTRUCTIONS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -627,6 +644,8 @@ public static boolean validateInstructionsCode(Instructions instructions, Diagno public static boolean validateInstructionsText(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsText", "WARNING"); + if (VALIDATE_INSTRUCTIONS_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +710,8 @@ public static boolean validateInstructionsText(Instructions instructions, Diagno public static boolean validateInstructionsStatusCode(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsStatusCode", "ERROR"); + if (VALIDATE_INSTRUCTIONS_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSection2Operations.java index 9d0767dbff..8711b024c9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ protected InstructionsSection2Operations() { public static boolean validateInstructionsSection2TemplateId(InstructionsSection2 instructionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSection2InstructionsSection2TemplateId", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateInstructionsSection2TemplateId(InstructionsSection public static boolean validateInstructionsSection2NullFlavor(InstructionsSection2 instructionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSection2InstructionsSection2NullFlavor", "INFO"); + if (VALIDATE_INSTRUCTIONS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -271,6 +276,8 @@ public static EList getConsolInstruction2s(InstructionsSection2 in public static boolean validateInstructionsSectionCodeP(InstructionsSection2 instructionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSection2InstructionsSectionCodeP", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +364,8 @@ public static boolean validateInstructionsSectionCode(InstructionsSection2 instr return true; } + DatatypesUtil.increment(context, "InstructionsSection2InstructionsSectionCode", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -420,6 +429,8 @@ public static boolean validateInstructionsSectionCode(InstructionsSection2 instr public static boolean validateInstructionsSectionInstructions(InstructionsSection2 instructionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSection2InstructionsSectionInstructions", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSectionOperations.java index 232f83c2c0..98973b004e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected InstructionsSectionOperations() { public static boolean validateInstructionsSectionTemplateId(InstructionsSection instructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSectionInstructionsSectionTemplateId", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validateInstructionsSectionTemplateId(InstructionsSection public static boolean validateInstructionsSectionCode(InstructionsSection instructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSectionInstructionsSectionCode", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validateInstructionsSectionCode(InstructionsSection instru public static boolean validateInstructionsSectionCodeP(InstructionsSection instructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSectionInstructionsSectionCodeP", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -273,6 +280,8 @@ public static boolean validateInstructionsSectionCodeP(InstructionsSection instr public static boolean validateInstructionsSectionText(InstructionsSection instructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSectionInstructionsSectionText", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +366,8 @@ public static boolean validateInstructionsSectionText(InstructionsSection instru public static boolean validateInstructionsSectionTitle(InstructionsSection instructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSectionInstructionsSectionTitle", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -420,6 +431,8 @@ public static boolean validateInstructionsSectionTitle(InstructionsSection instr public static boolean validateInstructionsSectionInstructions(InstructionsSection instructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSectionInstructionsSectionInstructions", "WARNING"); + if (VALIDATE_INSTRUCTIONS_SECTION_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionActOperations.java index 09425503ea..7a15c193e9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionActOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -147,6 +148,8 @@ protected InterventionActOperations() { public static boolean validateInterventionActTemplateId(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActTemplateId", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -210,6 +213,8 @@ public static boolean validateInterventionActTemplateId(InterventionAct interven public static boolean validateInterventionActClassCode(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActClassCode", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -273,6 +278,8 @@ public static boolean validateInterventionActClassCode(InterventionAct intervent public static boolean validateInterventionActMoodCode(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActMoodCode", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -336,6 +343,8 @@ public static boolean validateInterventionActMoodCode(InterventionAct interventi public static boolean validateInterventionActId(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActId", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -399,6 +408,8 @@ public static boolean validateInterventionActId(InterventionAct interventionAct, public static boolean validateInterventionActCodeP(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActCodeP", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -485,6 +496,8 @@ public static boolean validateInterventionActCode(InterventionAct interventionAc return true; } + DatatypesUtil.increment(context, "InterventionActInterventionActCode", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -549,6 +562,8 @@ public static boolean validateInterventionActCode(InterventionAct interventionAc public static boolean validateInterventionActStatusCode(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActStatusCode", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -612,6 +627,8 @@ public static boolean validateInterventionActStatusCode(InterventionAct interven public static boolean validateInterventionActStatusCodeP(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActStatusCodeP", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -675,6 +692,8 @@ public static boolean validateInterventionActStatusCodeP(InterventionAct interve public static boolean validateInterventionActEffectiveTime(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActEffectiveTime", "WARNING"); + if (VALIDATE_INTERVENTION_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +757,8 @@ public static boolean validateInterventionActEffectiveTime(InterventionAct inter public static boolean validateInterventionActInterventionAct(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActInterventionAct", "INFO"); + if (VALIDATE_INTERVENTION_ACT_INTERVENTION_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +822,8 @@ public static boolean validateInterventionActInterventionAct(InterventionAct int public static boolean validateInterventionActNutritionRecommendation(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActNutritionRecommendation", "INFO"); + if (VALIDATE_INTERVENTION_ACT_NUTRITION_RECOMMENDATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -866,6 +889,8 @@ public static boolean validateInterventionActNutritionRecommendation(Interventio public static boolean validateInterventionActInterventionEntryReference(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActInterventionEntryReference", "INFO"); + if (VALIDATE_INTERVENTION_ACT_INTERVENTION_ENTRY_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -931,6 +956,8 @@ public static boolean validateInterventionActInterventionEntryReference(Interven public static boolean validateInterventionActGoalObsEntryReference(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActGoalObsEntryReference", "WARNING"); + if (VALIDATE_INTERVENTION_ACT_GOAL_OBS_ENTRY_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -996,6 +1023,8 @@ public static boolean validateInterventionActGoalObsEntryReference(InterventionA public static boolean validateInterventionActAuthorParticipation(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActAuthorParticipation", "WARNING"); + if (VALIDATE_INTERVENTION_ACT_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1061,6 +1090,8 @@ public static boolean validateInterventionActAuthorParticipation(InterventionAct public static boolean validateInterventionActAdvanceDirectiveObservation2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActAdvanceDirectiveObservation2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_ADVANCE_DIRECTIVE_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1126,6 +1157,8 @@ public static boolean validateInterventionActAdvanceDirectiveObservation2(Interv public static boolean validateInterventionActImmunizationActivity2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActImmunizationActivity2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_IMMUNIZATION_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1191,6 +1224,8 @@ public static boolean validateInterventionActImmunizationActivity2(InterventionA public static boolean validateInterventionActMedicationActivity2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActMedicationActivity2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_MEDICATION_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1256,6 +1291,8 @@ public static boolean validateInterventionActMedicationActivity2(InterventionAct public static boolean validateInterventionActProcedureActivityAct2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActProcedureActivityAct2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_PROCEDURE_ACTIVITY_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1321,6 +1358,8 @@ public static boolean validateInterventionActProcedureActivityAct2(InterventionA public static boolean validateInterventionActProcedureActivityObservation2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActProcedureActivityObservation2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_PROCEDURE_ACTIVITY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1386,6 +1425,8 @@ public static boolean validateInterventionActProcedureActivityObservation2(Inter public static boolean validateInterventionActProcedureActivityProcedure2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActProcedureActivityProcedure2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_PROCEDURE_ACTIVITY_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1451,6 +1492,8 @@ public static boolean validateInterventionActProcedureActivityProcedure2(Interve public static boolean validateInterventionActEncounterActivity2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActEncounterActivity2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_ENCOUNTER_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1516,6 +1559,8 @@ public static boolean validateInterventionActEncounterActivity2(InterventionAct public static boolean validateInterventionActNonMedicinalSupplyActivity2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActNonMedicinalSupplyActivity2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_NON_MEDICINAL_SUPPLY_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1581,6 +1626,8 @@ public static boolean validateInterventionActNonMedicinalSupplyActivity2(Interve public static boolean validateInterventionActInstruction2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActInstruction2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1644,6 +1691,8 @@ public static boolean validateInterventionActInstruction2(InterventionAct interv public static boolean validateInterventionActHandoffCommunicationParticipants(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActHandoffCommunicationParticipants", "INFO"); + if (VALIDATE_INTERVENTION_ACT_HANDOFF_COMMUNICATION_PARTICIPANTS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1710,6 +1759,8 @@ public static boolean validateInterventionActHandoffCommunicationParticipants(In public static boolean validateInterventionActPlannedInterventionAct(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActPlannedInterventionAct", "INFO"); + if (VALIDATE_INTERVENTION_ACT_PLANNED_INTERVENTION_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1775,6 +1826,8 @@ public static boolean validateInterventionActPlannedInterventionAct(Intervention public static boolean validateInterventionActReference(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActReference", "INFO"); + if (VALIDATE_INTERVENTION_ACT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1838,6 +1891,8 @@ public static boolean validateInterventionActReference(InterventionAct intervent public static boolean validateInterventionActReferenceTypeCode(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActReferenceTypeCode", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1908,6 +1963,8 @@ public static boolean validateInterventionActReferenceTypeCode(InterventionAct i public static boolean validateInterventionActReferenceExternalDocumentReference(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActReferenceExternalDocumentReference", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_REFERENCE_EXTERNAL_DOCUMENT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSection2Operations.java index d881dbf777..252ff7f5e2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected InterventionsSection2Operations() { public static boolean validateInterventionsSection2TemplateId(InterventionsSection2 interventionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSection2InterventionsSection2TemplateId", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateInterventionsSection2TemplateId(InterventionsSecti public static boolean validateInterventionsSection2InterventionAct(InterventionsSection2 interventionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSection2InterventionsSection2InterventionAct", "WARNING"); + if (VALIDATE_INTERVENTIONS_SECTION2_INTERVENTION_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validateInterventionsSection2InterventionAct(Interventions public static boolean validateInterventionsSection2HandoffCommunication(InterventionsSection2 interventionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSection2InterventionsSection2HandoffCommunication", "INFO"); + if (VALIDATE_INTERVENTIONS_SECTION2_HANDOFF_COMMUNICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateInterventionsSection2HandoffCommunication(Interven public static boolean validateInterventionsSection2PlannedInterventionAct( InterventionsSection2 interventionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSection2InterventionsSection2PlannedInterventionAct", "WARNING"); + if (VALIDATE_INTERVENTIONS_SECTION2_PLANNED_INTERVENTION_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -508,6 +517,8 @@ public static EList getPlannedInterventionActs( public static boolean validateInterventionsSectionCodeP(InterventionsSection2 interventionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSection2InterventionsSectionCodeP", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -594,6 +605,8 @@ public static boolean validateInterventionsSectionCode(InterventionsSection2 int return true; } + DatatypesUtil.increment(context, "InterventionsSection2InterventionsSectionCode", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSectionOperations.java index 22a2f51c1e..f8f13d0e35 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected InterventionsSectionOperations() { public static boolean validateInterventionsSectionTemplateId(InterventionsSection interventionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSectionInterventionsSectionTemplateId", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateInterventionsSectionTemplateId(InterventionsSectio public static boolean validateInterventionsSectionCode(InterventionsSection interventionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSectionInterventionsSectionCode", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -223,6 +228,8 @@ public static boolean validateInterventionsSectionCode(InterventionsSection inte public static boolean validateInterventionsSectionCodeP(InterventionsSection interventionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSectionInterventionsSectionCodeP", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -265,6 +272,8 @@ public static boolean validateInterventionsSectionCodeP(InterventionsSection int public static boolean validateInterventionsSectionText(InterventionsSection interventionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSectionInterventionsSectionText", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -349,6 +358,8 @@ public static boolean validateInterventionsSectionText(InterventionsSection inte public static boolean validateInterventionsSectionTitle(InterventionsSection interventionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSectionInterventionsSectionTitle", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/LongitudinalCareWoundObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/LongitudinalCareWoundObservationOperations.java index ad4651ba6f..85a4a453a7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/LongitudinalCareWoundObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/LongitudinalCareWoundObservationOperations.java @@ -27,6 +27,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -131,6 +132,9 @@ public static boolean validateLongitudinalCareWoundObservationClassCode( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationClassCode", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -198,6 +202,9 @@ public static boolean validateLongitudinalCareWoundObservationMoodCode( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationMoodCode", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -265,6 +272,9 @@ public static boolean validateLongitudinalCareWoundObservationCodeP( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCodeP", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +367,9 @@ public static boolean validateLongitudinalCareWoundObservationCode( return true; } + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCode", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +437,9 @@ public static boolean validateLongitudinalCareWoundObservationValueP( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationValueP", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -516,6 +532,9 @@ public static boolean validateLongitudinalCareWoundObservationValue( return true; } + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationValue", "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -562,6 +581,9 @@ public static boolean validateLongitudinalCareWoundObservationTargetSiteCodeP( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationTargetSiteCodeP", "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -652,6 +674,9 @@ public static boolean validateLongitudinalCareWoundObservationTargetSiteCode( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationTargetSiteCode", "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -719,6 +744,10 @@ public static boolean validateLongitudinalCareWoundObservationWoundMeasurementOb LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationWoundMeasurementObservation", + "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_WOUND_MEASUREMENT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -786,6 +815,9 @@ public static boolean validateLongitudinalCareWoundObservationWoundCharacteristi LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationWoundCharacteristics", "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_WOUND_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -853,6 +885,10 @@ public static boolean validateLongitudinalCareWoundObservationHighestPressureUlc LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationHighestPressureUlcerStage", + "INFO"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_HIGHEST_PRESSURE_ULCER_STAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -920,6 +956,9 @@ public static boolean validateLongitudinalCareWoundObservationAuthorParticipatio LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationAuthorParticipation", "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -987,6 +1026,11 @@ public static boolean validateLongitudinalCareWoundObservationNumberOfPressureUl LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "LongitudinalCareWoundObservationLongitudinalCareWoundObservationNumberOfPressureUlcersObservation2", + "INFO"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1054,6 +1098,10 @@ public static boolean validateLongitudinalCareWoundObservationCDCRCDValueTermino LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCDCRCDValueTerminology", + "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CDCRCD_VALUE_TERMINOLOGY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1126,6 +1174,9 @@ public static boolean validateLongitudinalCareWoundObservationCDCRCDCode( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCDCRCDCode", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CDCRCD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1200,6 +1251,9 @@ public static boolean validateLongitudinalCareWoundObservationCDCRName( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCDCRName", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CDCR_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1272,6 +1326,9 @@ public static boolean validateLongitudinalCareWoundObservationCDCRNameP( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCDCRNameP", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CDCR_NAME_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1344,6 +1401,9 @@ public static boolean validateLongitudinalCareWoundObservationCDCRValue( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCDCRValue", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CDCR_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1416,6 +1476,9 @@ public static boolean validateLongitudinalCareWoundObservationCDQualifier( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCDQualifier", "INFO"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CD_QUALIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1684,6 +1747,8 @@ public static boolean validateProblemObservation2TemplateId( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "LongitudinalCareWoundObservationProblemObservation2TemplateId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentOrganizerOperations.java index dead9f956d..395955b63e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentOrganizerOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.OrganizerOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -110,6 +111,9 @@ public static boolean validateMedicalEquipmentOrganizerHasNonMedSupActOrProcActP MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerHasNonMedSupActOrProcActProc", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_HAS_NON_MED_SUP_ACT_OR_PROC_ACT_PROC__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -177,6 +181,8 @@ public static boolean validateMedicalEquipmentOrganizerTemplateId( MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerTemplateId", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -243,6 +249,8 @@ public static boolean validateMedicalEquipmentOrganizerClassCode( MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerClassCode", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -308,6 +316,8 @@ public static boolean validateMedicalEquipmentOrganizerClassCode( public static boolean validateMedicalEquipmentOrganizerMoodCode(MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerMoodCode", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +383,8 @@ public static boolean validateMedicalEquipmentOrganizerMoodCode(MedicalEquipment public static boolean validateMedicalEquipmentOrganizerId(MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerId", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +449,8 @@ public static boolean validateMedicalEquipmentOrganizerId(MedicalEquipmentOrgani public static boolean validateMedicalEquipmentOrganizerCode(MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerCode", "INFO"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +516,8 @@ public static boolean validateMedicalEquipmentOrganizerStatusCodeP( MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -593,6 +609,8 @@ public static boolean validateMedicalEquipmentOrganizerStatusCode( return true; } + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerStatusCode", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -659,6 +677,8 @@ public static boolean validateMedicalEquipmentOrganizerEffectiveTime( MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerEffectiveTime", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -726,6 +746,9 @@ public static boolean validateMedicalEquipmentOrganizerNonMedicinalSupplyActivit MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerNonMedicinalSupplyActivity2", "INFO"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_NON_MEDICINAL_SUPPLY_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -793,6 +816,9 @@ public static boolean validateMedicalEquipmentOrganizerProcedureActivityProcedur MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerProcedureActivityProcedure2", "INFO"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_PROCEDURE_ACTIVITY_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -859,6 +885,8 @@ public static boolean validateMedicalEquipmentOrganizerProcedureActivityProcedur public static boolean validateMedicalEquipmentOrganizerIVLTSLow(MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerIVLTSLow", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -931,6 +959,8 @@ public static boolean validateMedicalEquipmentOrganizerIVLTSHigh( MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerIVLTSHigh", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSection2Operations.java index 7c9617f0fe..e0b7e30819 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected MedicalEquipmentSection2Operations() { public static boolean validateMedicalEquipmentSection2TemplateId(MedicalEquipmentSection2 medicalEquipmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSection2MedicalEquipmentSection2TemplateId", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -167,6 +170,9 @@ public static boolean validateMedicalEquipmentSection2MedicalEquipmentOrganizer( MedicalEquipmentSection2 medicalEquipmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentSection2MedicalEquipmentSection2MedicalEquipmentOrganizer", "INFO"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION2_MEDICAL_EQUIPMENT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -234,6 +240,9 @@ public static boolean validateMedicalEquipmentSection2ProcedureActivityProcedure MedicalEquipmentSection2 medicalEquipmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentSection2MedicalEquipmentSection2ProcedureActivityProcedure2", "WARNING"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION2_PROCEDURE_ACTIVITY_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -450,6 +459,8 @@ public static EList getProcedureActivityProcedure2s public static boolean validateMedicalEquipmentSectionCodeP(MedicalEquipmentSection2 medicalEquipmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSection2MedicalEquipmentSectionCodeP", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -537,6 +548,8 @@ public static boolean validateMedicalEquipmentSectionCode(MedicalEquipmentSectio return true; } + DatatypesUtil.increment(context, "MedicalEquipmentSection2MedicalEquipmentSectionCode", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -602,6 +615,9 @@ public static boolean validateMedicalEquipmentSectionNonMedicinalSupplyActivity( MedicalEquipmentSection2 medicalEquipmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentSection2MedicalEquipmentSectionNonMedicinalSupplyActivity", "WARNING"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSectionOperations.java index 052b449d18..8aabe19800 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected MedicalEquipmentSectionOperations() { public static boolean validateMedicalEquipmentSectionTemplateId(MedicalEquipmentSection medicalEquipmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSectionMedicalEquipmentSectionTemplateId", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateMedicalEquipmentSectionTemplateId(MedicalEquipment public static boolean validateMedicalEquipmentSectionCode(MedicalEquipmentSection medicalEquipmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSectionMedicalEquipmentSectionCode", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateMedicalEquipmentSectionCode(MedicalEquipmentSectio public static boolean validateMedicalEquipmentSectionCodeP(MedicalEquipmentSection medicalEquipmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSectionMedicalEquipmentSectionCodeP", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateMedicalEquipmentSectionCodeP(MedicalEquipmentSecti public static boolean validateMedicalEquipmentSectionTitle(MedicalEquipmentSection medicalEquipmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSectionMedicalEquipmentSectionTitle", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +370,8 @@ public static boolean validateMedicalEquipmentSectionTitle(MedicalEquipmentSecti public static boolean validateMedicalEquipmentSectionText(MedicalEquipmentSection medicalEquipmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSectionMedicalEquipmentSectionText", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -425,6 +436,9 @@ public static boolean validateMedicalEquipmentSectionText(MedicalEquipmentSectio public static boolean validateMedicalEquipmentSectionNonMedicinalSupplyActivity( MedicalEquipmentSection medicalEquipmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentSectionMedicalEquipmentSectionNonMedicinalSupplyActivity", "WARNING"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalHistorySectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalHistorySectionOperations.java index b538836aae..4395e1d76f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalHistorySectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalHistorySectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected MedicalHistorySectionOperations() { public static boolean validateMedicalHistorySectionTemplateId(MedicalHistorySection medicalHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalHistorySectionMedicalHistorySectionTemplateId", "ERROR"); + if (VALIDATE_MEDICAL_HISTORY_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateMedicalHistorySectionTemplateId(MedicalHistorySect public static boolean validateMedicalHistorySectionCode(MedicalHistorySection medicalHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalHistorySectionMedicalHistorySectionCode", "ERROR"); + if (VALIDATE_MEDICAL_HISTORY_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateMedicalHistorySectionCode(MedicalHistorySection me public static boolean validateMedicalHistorySectionCodeP(MedicalHistorySection medicalHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalHistorySectionMedicalHistorySectionCodeP", "ERROR"); + if (VALIDATE_MEDICAL_HISTORY_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateMedicalHistorySectionCodeP(MedicalHistorySection m public static boolean validateMedicalHistorySectionText(MedicalHistorySection medicalHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalHistorySectionMedicalHistorySectionText", "ERROR"); + if (VALIDATE_MEDICAL_HISTORY_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -351,6 +360,8 @@ public static boolean validateMedicalHistorySectionText(MedicalHistorySection me public static boolean validateMedicalHistorySectionTitle(MedicalHistorySection medicalHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalHistorySectionMedicalHistorySectionTitle", "ERROR"); + if (VALIDATE_MEDICAL_HISTORY_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivity2Operations.java index 46cc9382e2..56c4a71651 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivity2Operations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -147,6 +148,9 @@ protected MedicationActivity2Operations() { public static boolean validateMedicationActivity2SubstanceAdministeredActInversionInd( MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivity2MedicationActivity2SubstanceAdministeredActInversionInd", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY2_SUBSTANCE_ADMINISTERED_ACT_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +217,9 @@ public static boolean validateMedicationActivity2SubstanceAdministeredActInversi public static boolean validateMedicationActivity2SubstanceAdministeredActSequenceNumber( MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivity2MedicationActivity2SubstanceAdministeredActSequenceNumber", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY2_SUBSTANCE_ADMINISTERED_ACT_SEQUENCE_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -258,6 +265,9 @@ public static boolean validateMedicationActivity2SubstanceAdministeredActSequenc public static boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue( MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivity2MedicationActivity2EffectiveTimeIVLTSLowXorValue", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY2_EFFECTIVE_TIME_IVLTS_LOW_XOR_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +313,8 @@ public static boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue( public static boolean validateMedicationActivity2TemplateId(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2TemplateId", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -409,6 +421,8 @@ public static boolean validateMedicationActivity2TemplateId(MedicationActivity2 public static boolean validateMedicationActivityStatusCodeP(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityStatusCodeP", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -465,6 +479,8 @@ public static boolean validateMedicationActivityStatusCodeP(MedicationActivity2 public static boolean validateMedicationActivityAdministrationUnitCodeP(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityAdministrationUnitCodeP", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_ADMINISTRATION_UNIT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -544,6 +560,8 @@ public static boolean validateMedicationActivityAdministrationUnitCodeP(Medicati public static boolean validateMedicationActivity2DrugMonitoringAct(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2DrugMonitoringAct", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY2_DRUG_MONITORING_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -609,6 +627,8 @@ public static boolean validateMedicationActivity2DrugMonitoringAct(MedicationAct public static boolean validateMedicationActivity2AuthorParticipation(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2AuthorParticipation", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -674,6 +694,8 @@ public static boolean validateMedicationActivity2AuthorParticipation(MedicationA public static boolean validateMedicationActivity2SubstanceAdministeredAct(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2SubstanceAdministeredAct", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY2_SUBSTANCE_ADMINISTERED_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -740,6 +762,8 @@ public static boolean validateMedicationActivity2SubstanceAdministeredAct(Medica public static boolean validateMedicationActivity2MedicationFreeTextSig(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2MedicationFreeTextSig", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY2_MEDICATION_FREE_TEXT_SIG__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -805,6 +829,8 @@ public static boolean validateMedicationActivity2MedicationFreeTextSig(Medicatio public static boolean validateMedicationActivity2CETranslationP(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2CETranslationP", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -890,6 +916,8 @@ public static boolean validateMedicationActivity2CETranslationP(MedicationActivi public static boolean validateMedicationActivity2CETranslation(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2CETranslation", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1344,6 +1372,8 @@ public static EList getMedicationFreeTextSigs(MedicationA public static boolean validateMedicationActivityTextReference(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityTextReference", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1409,6 +1439,8 @@ public static boolean validateMedicationActivityTextReference(MedicationActivity public static boolean validateMedicationActivityReferenceValue(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityReferenceValue", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1474,6 +1506,8 @@ public static boolean validateMedicationActivityReferenceValue(MedicationActivit public static boolean validateMedicationActivityTextReferenceValue(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityTextReferenceValue", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1539,6 +1573,8 @@ public static boolean validateMedicationActivityTextReferenceValue(MedicationAct public static boolean validateMedicationActivityInstructionsInversionInd(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityInstructionsInversionInd", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_INSTRUCTIONS_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1605,6 +1641,8 @@ public static boolean validateMedicationActivityInstructionsInversionInd(Medicat public static boolean validateMedicationActivityDoseQuantityorrateQuantity(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityDoseQuantityorrateQuantity", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_DOSE_QUANTITYORRATE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1671,6 +1709,8 @@ public static boolean validateMedicationActivityDoseQuantityorrateQuantity(Medic public static boolean validateMedicationActivityEffectiveTimeIVLTSorTS(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityEffectiveTimeIVLTSorTS", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_IVLT_SOR_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1736,6 +1776,8 @@ public static boolean validateMedicationActivityEffectiveTimeIVLTSorTS(Medicatio public static boolean validateMedicationActivityEffectiveTimeIVLTSLow(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityEffectiveTimeIVLTSLow", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1801,6 +1843,8 @@ public static boolean validateMedicationActivityEffectiveTimeIVLTSLow(Medication public static boolean validateMedicationActivityEffectiveTimeIVLTSHigh(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityEffectiveTimeIVLTSHigh", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1866,6 +1910,8 @@ public static boolean validateMedicationActivityEffectiveTimeIVLTSHigh(Medicatio public static boolean validateMedicationActivityEffectiveTimePIVLTS(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityEffectiveTimePIVLTS", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_PIVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1910,6 +1956,8 @@ public static boolean validateMedicationActivityEffectiveTimePIVLTS(MedicationAc public static boolean validateMedicationActivityRepeatNumber(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityRepeatNumber", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1953,6 +2001,8 @@ public static boolean validateMedicationActivityRepeatNumber(MedicationActivity2 public static boolean validateMedicationActivityRouteCodeP(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityRouteCodeP", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_ROUTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2017,6 +2067,8 @@ public static boolean validateMedicationActivityRouteCode(MedicationActivity2 me return true; } + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityRouteCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_ROUTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2080,6 +2132,8 @@ public static boolean validateMedicationActivityRouteCode(MedicationActivity2 me public static boolean validateMedicationActivityCode(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityCode", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2218,6 +2272,8 @@ public static boolean validateMedicationActivityStatusCode(MedicationActivity2 m return true; } + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2269,6 +2325,8 @@ public static boolean validateMedicationActivityAdministrationUnitCode(Medicatio return true; } + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityAdministrationUnitCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_ADMINISTRATION_UNIT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2313,6 +2371,8 @@ public static boolean validateMedicationActivityAdministrationUnitCode(Medicatio public static boolean validateMedicationActivityText(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityText", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2355,6 +2415,8 @@ public static boolean validateMedicationActivityText(MedicationActivity2 medicat public static boolean validateMedicationActivityInstructions(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityInstructions", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2398,6 +2460,8 @@ public static boolean validateMedicationActivityInstructions(MedicationActivity2 public static boolean validateMedicationActivityIndication(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityIndication", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2568,6 +2632,8 @@ public static boolean validateMedicationActivityIndication(MedicationActivity2 m public static boolean validateMedicationActivityDoseQuantity(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityDoseQuantity", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2632,6 +2698,8 @@ public static boolean validateMedicationActivityDoseQuantity(MedicationActivity2 public static boolean validateMedicationActivityConsumable(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityConsumable", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2695,6 +2763,8 @@ public static boolean validateMedicationActivityConsumable(MedicationActivity2 m public static boolean validateMedicationActivityMedicationSupplyOrder(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityMedicationSupplyOrder", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_MEDICATION_SUPPLY_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2760,6 +2830,8 @@ public static boolean validateMedicationActivityMedicationSupplyOrder(Medication public static boolean validateMedicationActivityMedicationDispense(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityMedicationDispense", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_MEDICATION_DISPENSE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2825,6 +2897,8 @@ public static boolean validateMedicationActivityMedicationDispense(MedicationAct public static boolean validateMedicationActivityReactionObservation(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityReactionObservation", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2890,6 +2964,8 @@ public static boolean validateMedicationActivityReactionObservation(MedicationAc public static boolean validateMedicationActivityPrecondition(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityPrecondition", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_PRECONDITION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2954,6 +3030,8 @@ public static boolean validateMedicationActivityPrecondition(MedicationActivity2 public static boolean validateMedicationActivityPreconditionTypeCode(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityPreconditionTypeCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_PRECONDITION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3025,6 +3103,10 @@ public static boolean validateMedicationActivityPreconditionTypeCode(MedicationA public static boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministration( MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivity2MedicationActivityPreconditionPreconditionForSubstanceAdministration", + "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_PRECONDITION_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3096,6 +3178,9 @@ public static boolean validateMedicationActivityPreconditionPreconditionForSubst public static boolean validateMedicationActivityConsumableMedicationInformation( MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivity2MedicationActivityConsumableMedicationInformation", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_CONSUMABLE_MEDICATION_INFORMATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivityOperations.java index 2da919f78a..f3c79eb238 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivityOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.SubstanceAdministrationOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -151,6 +152,8 @@ protected MedicationActivityOperations() { public static boolean validateMedicationActivityDoseQuantityorrateQuantity(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityDoseQuantityorrateQuantity", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_DOSE_QUANTITYORRATE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -217,6 +220,8 @@ public static boolean validateMedicationActivityDoseQuantityorrateQuantity(Medic public static boolean validateMedicationActivityTextReference(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityTextReference", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -282,6 +287,8 @@ public static boolean validateMedicationActivityTextReference(MedicationActivity public static boolean validateMedicationActivityReferenceValue(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityReferenceValue", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -347,6 +354,8 @@ public static boolean validateMedicationActivityReferenceValue(MedicationActivit public static boolean validateMedicationActivityTextReferenceValue(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityTextReferenceValue", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +421,8 @@ public static boolean validateMedicationActivityTextReferenceValue(MedicationAct public static boolean validateMedicationActivityEffectiveTimeIVLTSorTS(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityEffectiveTimeIVLTSorTS", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_IVLT_SOR_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -477,6 +488,8 @@ public static boolean validateMedicationActivityEffectiveTimeIVLTSorTS(Medicatio public static boolean validateMedicationActivityEffectiveTimeIVLTSLow(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityEffectiveTimeIVLTSLow", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -542,6 +555,8 @@ public static boolean validateMedicationActivityEffectiveTimeIVLTSLow(Medication public static boolean validateMedicationActivityEffectiveTimeIVLTSHigh(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityEffectiveTimeIVLTSHigh", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -607,6 +622,8 @@ public static boolean validateMedicationActivityEffectiveTimeIVLTSHigh(Medicatio public static boolean validateMedicationActivityEffectiveTimeTSValue(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityEffectiveTimeTSValue", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_TS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -672,6 +689,8 @@ public static boolean validateMedicationActivityEffectiveTimeTSValue(MedicationA public static boolean validateMedicationActivityEffectiveTimePIVLTS(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityEffectiveTimePIVLTS", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_PIVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -737,6 +756,8 @@ public static boolean validateMedicationActivityEffectiveTimePIVLTS(MedicationAc public static boolean validateMedicationActivityEffectiveTimeOperator(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityEffectiveTimeOperator", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_OPERATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -802,6 +823,8 @@ public static boolean validateMedicationActivityEffectiveTimeOperator(Medication public static boolean validateMedicationActivityDoseQuantityUnit(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityDoseQuantityUnit", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_DOSE_QUANTITY_UNIT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -867,6 +890,8 @@ public static boolean validateMedicationActivityDoseQuantityUnit(MedicationActiv public static boolean validateMedicationActivityDrugVehicleTypeCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityDrugVehicleTypeCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_DRUG_VEHICLE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +957,8 @@ public static boolean validateMedicationActivityDrugVehicleTypeCode(MedicationAc public static boolean validateMedicationActivityInstructionsInversionInd(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityInstructionsInversionInd", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_INSTRUCTIONS_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -997,6 +1024,8 @@ public static boolean validateMedicationActivityInstructionsInversionInd(Medicat public static boolean validateMedicationActivityRateQuantityUnit(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityRateQuantityUnit", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_RATE_QUANTITY_UNIT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1062,6 +1091,8 @@ public static boolean validateMedicationActivityRateQuantityUnit(MedicationActiv public static boolean validateMedicationActivityTemplateId(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityTemplateId", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1125,6 +1156,8 @@ public static boolean validateMedicationActivityTemplateId(MedicationActivity me public static boolean validateMedicationActivityClassCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityClassCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1190,6 +1223,8 @@ public static boolean validateMedicationActivityClassCode(MedicationActivity med public static boolean validateMedicationActivityMoodCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityMoodCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1253,6 +1288,8 @@ public static boolean validateMedicationActivityMoodCode(MedicationActivity medi public static boolean validateMedicationActivityId(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityId", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1316,6 +1353,8 @@ public static boolean validateMedicationActivityId(MedicationActivity medication public static boolean validateMedicationActivityCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityCode", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1379,6 +1418,8 @@ public static boolean validateMedicationActivityCode(MedicationActivity medicati public static boolean validateMedicationActivityStatusCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1442,6 +1483,8 @@ public static boolean validateMedicationActivityStatusCode(MedicationActivity me public static boolean validateMedicationActivityRouteCodeP(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityRouteCodeP", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_ROUTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1529,6 +1572,8 @@ public static boolean validateMedicationActivityRouteCode(MedicationActivity med return true; } + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityRouteCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_ROUTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1571,6 +1616,8 @@ public static boolean validateMedicationActivityRouteCode(MedicationActivity med public static boolean validateMedicationActivityApproachSiteCodeP(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityApproachSiteCodeP", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_APPROACH_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1659,6 +1706,8 @@ public static boolean validateMedicationActivityApproachSiteCodeP(MedicationActi public static boolean validateMedicationActivityApproachSiteCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityApproachSiteCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_APPROACH_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1724,6 +1773,8 @@ public static boolean validateMedicationActivityApproachSiteCode(MedicationActiv public static boolean validateMedicationActivityDoseQuantity(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityDoseQuantity", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1788,6 +1839,8 @@ public static boolean validateMedicationActivityDoseQuantity(MedicationActivity public static boolean validateMedicationActivityRateQuantity(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityRateQuantity", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_RATE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1852,6 +1905,8 @@ public static boolean validateMedicationActivityRateQuantity(MedicationActivity public static boolean validateMedicationActivityMaxDoseQuantity(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityMaxDoseQuantity", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_MAX_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1917,6 +1972,8 @@ public static boolean validateMedicationActivityMaxDoseQuantity(MedicationActivi public static boolean validateMedicationActivityAdministrationUnitCodeP(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityAdministrationUnitCodeP", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_ADMINISTRATION_UNIT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2006,6 +2063,8 @@ public static boolean validateMedicationActivityAdministrationUnitCode(Medicatio return true; } + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityAdministrationUnitCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_ADMINISTRATION_UNIT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2071,6 +2130,8 @@ public static boolean validateMedicationActivityAdministrationUnitCode(Medicatio public static boolean validateMedicationActivityText(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityText", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2134,6 +2195,8 @@ public static boolean validateMedicationActivityText(MedicationActivity medicati public static boolean validateMedicationActivityRepeatNumber(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityRepeatNumber", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2198,6 +2261,8 @@ public static boolean validateMedicationActivityRepeatNumber(MedicationActivity public static boolean validateMedicationActivityMedicationSupplyOrder(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityMedicationSupplyOrder", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_MEDICATION_SUPPLY_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2263,6 +2328,8 @@ public static boolean validateMedicationActivityMedicationSupplyOrder(Medication public static boolean validateMedicationActivityReactionObservation(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityReactionObservation", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2328,6 +2395,8 @@ public static boolean validateMedicationActivityReactionObservation(MedicationAc public static boolean validateMedicationActivityPerformer(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityPerformer", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2391,6 +2460,8 @@ public static boolean validateMedicationActivityPerformer(MedicationActivity med public static boolean validateMedicationActivityInstructions(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityInstructions", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2455,6 +2526,8 @@ public static boolean validateMedicationActivityInstructions(MedicationActivity public static boolean validateMedicationActivityIndication(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityIndication", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2518,6 +2591,8 @@ public static boolean validateMedicationActivityIndication(MedicationActivity me public static boolean validateMedicationActivityMedicationDispense(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityMedicationDispense", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_MEDICATION_DISPENSE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2562,6 +2637,8 @@ public static boolean validateMedicationActivityMedicationDispense(MedicationAct public static boolean validateMedicationActivityPrecondition(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityPrecondition", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_PRECONDITION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2626,6 +2703,8 @@ public static boolean validateMedicationActivityPrecondition(MedicationActivity public static boolean validateMedicationActivityDrugVehicle(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityDrugVehicle", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_DRUG_VEHICLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2711,6 +2790,8 @@ public static boolean validateMedicationActivityDrugVehicle(MedicationActivity m public static boolean validateMedicationActivityConsumable(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityConsumable", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2774,6 +2855,9 @@ public static boolean validateMedicationActivityConsumable(MedicationActivity me public static boolean validateMedicationActivityConsumableMedicationInformation( MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivityMedicationActivityConsumableMedicationInformation", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_CONSUMABLE_MEDICATION_INFORMATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2845,6 +2929,8 @@ public static boolean validateMedicationActivityConsumableMedicationInformation( public static boolean validateMedicationActivityPreconditionTypeCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityPreconditionTypeCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_PRECONDITION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2915,6 +3001,9 @@ public static boolean validateMedicationActivityPreconditionTypeCode(MedicationA public static boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministration( MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivityMedicationActivityPreconditionPreconditionForSubstanceAdministration", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_PRECONDITION_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispense2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispense2Operations.java index 22ad837333..e4d90f9561 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispense2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispense2Operations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,9 @@ protected MedicationDispense2Operations() { public static boolean validateMedicationDispense2ContainsMedicationInformation2( MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationDispense2MedicationDispense2ContainsMedicationInformation2", "INFO"); + if (VALIDATE_MEDICATION_DISPENSE2_CONTAINS_MEDICATION_INFORMATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +167,9 @@ public static boolean validateMedicationDispense2ContainsMedicationInformation2( public static boolean validateMedicationDispense2ContainsImmunizationMedicationInformation2( MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationDispense2MedicationDispense2ContainsImmunizationMedicationInformation2", "INFO"); + if (VALIDATE_MEDICATION_DISPENSE2_CONTAINS_IMMUNIZATION_MEDICATION_INFORMATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -229,6 +236,8 @@ public static boolean validateMedicationDispense2ContainsImmunizationMedicationI public static boolean validateMedicationDispense2TemplateId(MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispense2MedicationDispense2TemplateId", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -272,6 +281,8 @@ public static boolean validateMedicationDispense2TemplateId(MedicationDispense2 public static boolean validateMedicationDispenseStatusCodeP(MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispense2MedicationDispenseStatusCodeP", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +365,9 @@ public static MedicationSupplyOrder2 getConsolMedicationSupplyOrder2(MedicationD public static boolean validateMedicationDispenseContainsMedicationOrImmunization( MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationDispense2MedicationDispenseContainsMedicationOrImmunization", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_CONTAINS_MEDICATION_OR_IMMUNIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -492,6 +506,8 @@ public static boolean validateMedicationDispenseStatusCode(MedicationDispense2 m return true; } + DatatypesUtil.increment(context, "MedicationDispense2MedicationDispenseStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -556,6 +572,8 @@ public static boolean validateMedicationDispenseStatusCode(MedicationDispense2 m public static boolean validateMedicationDispenseRepeatNumber(MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispense2MedicationDispenseRepeatNumber", "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -620,6 +638,8 @@ public static boolean validateMedicationDispenseRepeatNumber(MedicationDispense2 public static boolean validateMedicationDispenseMedicationSupplyOrder(MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispense2MedicationDispenseMedicationSupplyOrder", "INFO"); + if (VALIDATE_MEDICATION_DISPENSE_MEDICATION_SUPPLY_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispenseOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispenseOperations.java index 848cc5400f..1cdaf32a11 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispenseOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispenseOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.SupplyOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -119,6 +120,9 @@ protected MedicationDispenseOperations() { public static boolean validateMedicationDispenseContainsMedicationOrImmunization( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationDispenseMedicationDispenseContainsMedicationOrImmunization", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_CONTAINS_MEDICATION_OR_IMMUNIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -185,6 +189,8 @@ public static boolean validateMedicationDispenseContainsMedicationOrImmunization public static boolean validateMedicationDispenseTemplateId(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseTemplateId", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -248,6 +254,8 @@ public static boolean validateMedicationDispenseTemplateId(MedicationDispense me public static boolean validateMedicationDispenseClassCode(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseClassCode", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -311,6 +319,8 @@ public static boolean validateMedicationDispenseClassCode(MedicationDispense med public static boolean validateMedicationDispenseEffectiveTime(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseEffectiveTime", "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +386,8 @@ public static boolean validateMedicationDispenseEffectiveTime(MedicationDispense public static boolean validateMedicationDispenseId(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseId", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -439,6 +451,8 @@ public static boolean validateMedicationDispenseId(MedicationDispense medication public static boolean validateMedicationDispenseMoodCode(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseMoodCode", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +516,8 @@ public static boolean validateMedicationDispenseMoodCode(MedicationDispense medi public static boolean validateMedicationDispenseRepeatNumber(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseRepeatNumber", "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -568,6 +584,8 @@ public static boolean validateMedicationDispenseRepeatNumber(MedicationDispense public static boolean validateMedicationDispenseStatusCode(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -631,6 +649,8 @@ public static boolean validateMedicationDispenseStatusCode(MedicationDispense me public static boolean validateMedicationDispenseQuantity(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseQuantity", "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -694,6 +714,8 @@ public static boolean validateMedicationDispenseQuantity(MedicationDispense medi public static boolean validateMedicationDispenseMedicationSupplyOrder(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseMedicationSupplyOrder", "INFO"); + if (VALIDATE_MEDICATION_DISPENSE_MEDICATION_SUPPLY_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -759,6 +781,8 @@ public static boolean validateMedicationDispenseMedicationSupplyOrder(Medication public static boolean validateMedicationDispensePerformer(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispensePerformer", "INFO"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -822,6 +846,11 @@ public static boolean validateMedicationDispensePerformer(MedicationDispense med public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -893,6 +922,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -964,6 +998,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1014,6 +1053,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1108,6 +1152,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1179,6 +1228,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1250,6 +1304,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1321,6 +1380,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1392,6 +1456,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1463,6 +1532,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1534,6 +1608,9 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityAddr( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityAddr", "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1605,6 +1682,9 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntity( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntity", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationFreeTextSigOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationFreeTextSigOperations.java index e6a3492122..2414e31e7e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationFreeTextSigOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationFreeTextSigOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.SubstanceAdministrationOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -109,6 +110,8 @@ protected MedicationFreeTextSigOperations() { public static boolean validateMedicationFreeTextSigTextReferenceValue(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigTextReferenceValue", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -174,6 +177,8 @@ public static boolean validateMedicationFreeTextSigTextReferenceValue(Medication public static boolean validateMedicationFreeTextSigTemplateId(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigTemplateId", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +244,8 @@ public static boolean validateMedicationFreeTextSigTemplateId(MedicationFreeText public static boolean validateMedicationFreeTextSigClassCode(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigClassCode", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +313,8 @@ public static boolean validateMedicationFreeTextSigClassCode(MedicationFreeTextS public static boolean validateMedicationFreeTextSigMoodCode(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigMoodCode", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +382,8 @@ public static boolean validateMedicationFreeTextSigMoodCode(MedicationFreeTextSi public static boolean validateMedicationFreeTextSigCode(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigCode", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validateMedicationFreeTextSigCode(MedicationFreeTextSig me public static boolean validateMedicationFreeTextSigCodeP(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigCodeP", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -501,6 +514,8 @@ public static boolean validateMedicationFreeTextSigCodeP(MedicationFreeTextSig m public static boolean validateMedicationFreeTextSigText(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigText", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -565,6 +580,8 @@ public static boolean validateMedicationFreeTextSigText(MedicationFreeTextSig me public static boolean validateMedicationFreeTextSigConsumable(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigConsumable", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -630,6 +647,8 @@ public static boolean validateMedicationFreeTextSigConsumable(MedicationFreeText public static boolean validateMedicationFreeTextSigEDTELValue(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigEDTELValue", "WARNING"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_EDTEL_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -700,6 +719,8 @@ public static boolean validateMedicationFreeTextSigEDTELValue(MedicationFreeText public static boolean validateMedicationFreeTextSigEDReference(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigEDReference", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_ED_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -774,6 +795,11 @@ public static boolean validateMedicationFreeTextSigEDReference(MedicationFreeTex public static boolean validateMedicationFreeTextSigConsumableManufacturedProductManufacturedLabeledDrugNullFlavor( MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationFreeTextSigMedicationFreeTextSigConsumableManufacturedProductManufacturedLabeledDrugNullFlavor", + "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CONSUMABLE_MANUFACTURED_PRODUCT_MANUFACTURED_LABELED_DRUG_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -845,6 +871,10 @@ public static boolean validateMedicationFreeTextSigConsumableManufacturedProduct public static boolean validateMedicationFreeTextSigConsumableManufacturedProductManufacturedLabeledDrug( MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationFreeTextSigMedicationFreeTextSigConsumableManufacturedProductManufacturedLabeledDrug", + "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CONSUMABLE_MANUFACTURED_PRODUCT_MANUFACTURED_LABELED_DRUG__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -916,6 +946,9 @@ public static boolean validateMedicationFreeTextSigConsumableManufacturedProduct public static boolean validateMedicationFreeTextSigConsumableManufacturedProduct( MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationFreeTextSigMedicationFreeTextSigConsumableManufacturedProduct", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CONSUMABLE_MANUFACTURED_PRODUCT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformation2Operations.java index cc9c81cb3f..39e70dbe0f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformation2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -100,6 +101,8 @@ protected MedicationInformation2Operations() { public static boolean validateMedicationInformation2TemplateId(MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformation2MedicationInformation2TemplateId", "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -165,6 +168,11 @@ public static boolean validateMedicationInformation2TemplateId(MedicationInforma public static boolean validateMedicationInformation2MedicationInformationManufacturedMaterialCETranslation( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformation2MedicationInformation2MedicationInformationManufacturedMaterialCETranslation", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION2_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +244,11 @@ public static boolean validateMedicationInformation2MedicationInformationManufac public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialReferenceValue( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialReferenceValue", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -286,6 +299,10 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeP( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialCodeP", + "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -350,6 +367,8 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationManufacturedMaterial( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformation2MedicationInformationManufacturedMaterial", "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -395,6 +414,11 @@ public static boolean validateMedicationInformationManufacturedMaterial( public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeOriginalText( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialCodeOriginalText", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -445,6 +469,11 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeTranslation( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialCodeTranslation", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -495,6 +524,10 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialReference( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialReference", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +704,11 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialOriginalTextReferenceValue( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialOriginalTextReferenceValue", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -744,6 +782,10 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCode( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialCode", + "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformationOperations.java index 8108fe6e41..7bd5657076 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformationOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ManufacturedProductOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -104,6 +105,8 @@ protected MedicationInformationOperations() { public static boolean validateMedicationInformationTemplateId(MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformationMedicationInformationTemplateId", "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateMedicationInformationTemplateId(MedicationInformat public static boolean validateMedicationInformationId(MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformationMedicationInformationId", "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateMedicationInformationId(MedicationInformation medi public static boolean validateMedicationInformationClassCode(MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformationMedicationInformationClassCode", "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validateMedicationInformationClassCode(MedicationInformati public static boolean validateMedicationInformationManufacturerOrganization( MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformationMedicationInformationManufacturerOrganization", "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MANUFACTURER_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,8 @@ public static boolean validateMedicationInformationManufacturerOrganization( public static boolean validateMedicationInformationManufacturedMaterial(MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformationMedicationInformationManufacturedMaterial", "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -428,6 +439,11 @@ public static boolean validateMedicationInformationManufacturedMaterial(Medicati public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeOriginalText( MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformationMedicationInformationMedicationInformationManufacturedMaterialCodeOriginalText", + "WARNING"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -499,6 +515,10 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialReference( MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationInformationMedicationInformationMedicationInformationManufacturedMaterialReference", + "WARNING"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -570,6 +590,11 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialOriginalTextReferenceValue( MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformationMedicationInformationMedicationInformationManufacturedMaterialOriginalTextReferenceValue", + "WARNING"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -641,6 +666,11 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeTranslation( MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformationMedicationInformationMedicationInformationManufacturedMaterialCodeTranslation", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -714,6 +744,10 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCode( MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationInformationMedicationInformationMedicationInformationManufacturedMaterialCode", + "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrder2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrder2Operations.java index ca635285b9..a1542e6325 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrder2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrder2Operations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,9 @@ protected MedicationSupplyOrder2Operations() { public static boolean validateMedicationSupplyOrder2ContainsMedicationInformation2( MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationSupplyOrder2MedicationSupplyOrder2ContainsMedicationInformation2", "INFO"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER2_CONTAINS_MEDICATION_INFORMATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateMedicationSupplyOrder2ContainsMedicationInformatio public static boolean validateMedicationSupplyOrder2ContainsImmunizationMedicationInformation2( MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationSupplyOrder2MedicationSupplyOrder2ContainsImmunizationMedicationInformation2", "INFO"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER2_CONTAINS_IMMUNIZATION_MEDICATION_INFORMATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +237,8 @@ public static boolean validateMedicationSupplyOrder2ContainsImmunizationMedicati public static boolean validateMedicationSupplyOrder2TemplateId(MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrder2MedicationSupplyOrder2TemplateId", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +304,8 @@ public static boolean validateMedicationSupplyOrder2TemplateId(MedicationSupplyO public static boolean validateMedicationSupplyOrderStatusCodeP(MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrder2MedicationSupplyOrderStatusCodeP", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -418,6 +429,9 @@ public static Instruction2 getConsolInstruction2(MedicationSupplyOrder2 medicati public static boolean validateMedicationSupplyOrderContainsMedicationOrImmunization( MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationSupplyOrder2MedicationSupplyOrderContainsMedicationOrImmunization", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_CONTAINS_MEDICATION_OR_IMMUNIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -484,6 +498,8 @@ public static boolean validateMedicationSupplyOrderContainsMedicationOrImmunizat public static boolean validateMedicationSupplyOrderInstructionInversionInd( MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrder2MedicationSupplyOrderInstructionInversionInd", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_INSTRUCTION_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -560,6 +576,8 @@ public static boolean validateMedicationSupplyOrderStatusCode(MedicationSupplyOr return true; } + DatatypesUtil.increment(context, "MedicationSupplyOrder2MedicationSupplyOrderStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -625,6 +643,8 @@ public static boolean validateMedicationSupplyOrderStatusCode(MedicationSupplyOr public static boolean validateMedicationSupplyOrderRepeatNumber(MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrder2MedicationSupplyOrderRepeatNumber", "WARNING"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -690,6 +710,8 @@ public static boolean validateMedicationSupplyOrderRepeatNumber(MedicationSupply public static boolean validateMedicationSupplyOrderInstructions(MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrder2MedicationSupplyOrderInstructions", "INFO"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrderOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrderOperations.java index f89d38067f..71137edb1d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrderOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrderOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SupplyOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -106,6 +107,8 @@ protected MedicationSupplyOrderOperations() { public static boolean validateMedicationSupplyOrderInstructionInversionInd( MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderInstructionInversionInd", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_INSTRUCTION_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateMedicationSupplyOrderInstructionInversionInd( public static boolean validateMedicationSupplyOrderEffectiveTimeHigh(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderEffectiveTimeHigh", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,9 @@ public static boolean validateMedicationSupplyOrderEffectiveTimeHigh(MedicationS public static boolean validateMedicationSupplyOrderContainsMedicationOrImmunization( MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationSupplyOrderMedicationSupplyOrderContainsMedicationOrImmunization", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_CONTAINS_MEDICATION_OR_IMMUNIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +311,8 @@ public static boolean validateMedicationSupplyOrderContainsMedicationOrImmunizat public static boolean validateMedicationSupplyOrderTemplateId(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderTemplateId", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +378,8 @@ public static boolean validateMedicationSupplyOrderTemplateId(MedicationSupplyOr public static boolean validateMedicationSupplyOrderClassCode(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderClassCode", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +424,8 @@ public static boolean validateMedicationSupplyOrderClassCode(MedicationSupplyOrd public static boolean validateMedicationSupplyOrderEffectiveTime(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderEffectiveTime", "WARNING"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -477,6 +491,8 @@ public static boolean validateMedicationSupplyOrderEffectiveTime(MedicationSuppl public static boolean validateMedicationSupplyOrderMoodCode(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderMoodCode", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +536,8 @@ public static boolean validateMedicationSupplyOrderMoodCode(MedicationSupplyOrde public static boolean validateMedicationSupplyOrderQuantity(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderQuantity", "WARNING"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -563,6 +581,8 @@ public static boolean validateMedicationSupplyOrderQuantity(MedicationSupplyOrde public static boolean validateMedicationSupplyOrderRepeatNumber(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderRepeatNumber", "WARNING"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -607,6 +627,8 @@ public static boolean validateMedicationSupplyOrderRepeatNumber(MedicationSupply public static boolean validateMedicationSupplyOrderStatusCode(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +778,8 @@ public static boolean validateMedicationSupplyOrderStatusCode(MedicationSupplyOr public static boolean validateMedicationSupplyOrderId(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderId", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -819,6 +843,8 @@ public static boolean validateMedicationSupplyOrderId(MedicationSupplyOrder medi public static boolean validateMedicationSupplyOrderAuthor(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderAuthor", "INFO"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -883,6 +909,8 @@ public static boolean validateMedicationSupplyOrderAuthor(MedicationSupplyOrder public static boolean validateMedicationSupplyOrderInstructions(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderInstructions", "INFO"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationUseNoneKnownOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationUseNoneKnownOperations.java index 8c9ab82b80..534483cc61 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationUseNoneKnownOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationUseNoneKnownOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected MedicationUseNoneKnownOperations() { public static boolean validateMedicationUseNoneKnownTextReference(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownTextReference", "WARNING"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateMedicationUseNoneKnownTextReference(MedicationUseN public static boolean validateMedicationUseNoneKnownTextReferenceValue( MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownTextReferenceValue", "WARNING"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateMedicationUseNoneKnownTextReferenceValue( public static boolean validateMedicationUseNoneKnownReferenceValue(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownReferenceValue", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateMedicationUseNoneKnownReferenceValue(MedicationUse public static boolean validateMedicationUseNoneKnownTemplateId(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownTemplateId", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,8 @@ public static boolean validateMedicationUseNoneKnownTemplateId(MedicationUseNone public static boolean validateMedicationUseNoneKnownClassCode(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownClassCode", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -427,6 +438,8 @@ public static boolean validateMedicationUseNoneKnownClassCode(MedicationUseNoneK public static boolean validateMedicationUseNoneKnownMoodCode(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownMoodCode", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -492,6 +505,8 @@ public static boolean validateMedicationUseNoneKnownMoodCode(MedicationUseNoneKn public static boolean validateMedicationUseNoneKnownId(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownId", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -556,6 +571,8 @@ public static boolean validateMedicationUseNoneKnownId(MedicationUseNoneKnown me public static boolean validateMedicationUseNoneKnownCodeP(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownCodeP", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -643,6 +660,8 @@ public static boolean validateMedicationUseNoneKnownCode(MedicationUseNoneKnown return true; } + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownCode", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -707,6 +726,8 @@ public static boolean validateMedicationUseNoneKnownCode(MedicationUseNoneKnown public static boolean validateMedicationUseNoneKnownEffectiveTime(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownEffectiveTime", "WARNING"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -773,6 +794,8 @@ public static boolean validateMedicationUseNoneKnownEffectiveTime(MedicationUseN public static boolean validateMedicationUseNoneKnownStatusCode(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -838,6 +861,8 @@ public static boolean validateMedicationUseNoneKnownStatusCode(MedicationUseNone public static boolean validateMedicationUseNoneKnownStatusCodeP(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownStatusCodeP", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -903,6 +928,8 @@ public static boolean validateMedicationUseNoneKnownStatusCodeP(MedicationUseNon public static boolean validateMedicationUseNoneKnownText(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownText", "INFO"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -969,6 +996,8 @@ public static boolean validateMedicationUseNoneKnownText(MedicationUseNoneKnown public static boolean validateMedicationUseNoneKnownValue(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownValue", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1033,6 +1062,8 @@ public static boolean validateMedicationUseNoneKnownValue(MedicationUseNoneKnown public static boolean validateMedicationUseNoneKnownValueP(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownValueP", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSection2Operations.java index a5087b80b2..5eebfa2709 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,9 @@ public static boolean validateMedicationsAdministeredSection2TemplateId( MedicationsAdministeredSection2 medicationsAdministeredSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsAdministeredSection2MedicationsAdministeredSection2TemplateId", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +217,8 @@ public static boolean validateMedicationsAdministeredSectionCodeP( MedicationsAdministeredSection2 medicationsAdministeredSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsAdministeredSection2MedicationsAdministeredSectionCodeP", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +311,8 @@ public static boolean validateMedicationsAdministeredSectionCode( return true; } + DatatypesUtil.increment(context, "MedicationsAdministeredSection2MedicationsAdministeredSectionCode", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +380,9 @@ public static boolean validateMedicationsAdministeredSectionMedicationActivity( MedicationsAdministeredSection2 medicationsAdministeredSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsAdministeredSection2MedicationsAdministeredSectionMedicationActivity", "INFO"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSectionOperations.java index 2fe58e0cfa..5db0fdf4bc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateMedicationsAdministeredSectionTemplateId( MedicationsAdministeredSection medicationsAdministeredSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsAdministeredSectionMedicationsAdministeredSectionTemplateId", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,8 @@ public static boolean validateMedicationsAdministeredSectionCode( MedicationsAdministeredSection medicationsAdministeredSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsAdministeredSectionMedicationsAdministeredSectionCode", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +245,8 @@ public static boolean validateMedicationsAdministeredSectionCodeP( MedicationsAdministeredSection medicationsAdministeredSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsAdministeredSectionMedicationsAdministeredSectionCodeP", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +293,8 @@ public static boolean validateMedicationsAdministeredSectionText( MedicationsAdministeredSection medicationsAdministeredSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsAdministeredSectionMedicationsAdministeredSectionText", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +383,8 @@ public static boolean validateMedicationsAdministeredSectionTitle( MedicationsAdministeredSection medicationsAdministeredSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsAdministeredSectionMedicationsAdministeredSectionTitle", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +452,9 @@ public static boolean validateMedicationsAdministeredSectionMedicationActivity( MedicationsAdministeredSection medicationsAdministeredSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsAdministeredSectionMedicationsAdministeredSectionMedicationActivity", "INFO"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSection2Operations.java index ef876e5460..a7bba44333 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected MedicationsSection2Operations() { public static boolean validateMedicationsSection2NullFlavor(MedicationsSection2 medicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSection2MedicationsSection2NullFlavor", "INFO"); + if (VALIDATE_MEDICATIONS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateMedicationsSection2NullFlavor(MedicationsSection2 public static boolean validateMedicationsSection2Title(MedicationsSection2 medicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSection2MedicationsSection2Title", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateMedicationsSection2Title(MedicationsSection2 medic public static boolean validateMedicationsSection2Text(MedicationsSection2 medicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSection2MedicationsSection2Text", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateMedicationsSection2Text(MedicationsSection2 medica public static boolean validateMedicationsSectionEntriesOptionalTemplateId(MedicationsSection2 medicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSection2MedicationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +363,8 @@ public static boolean validateMedicationsSectionEntriesOptionalTemplateId(Medica public static boolean validateMedicationsSectionEntriesOptionalCodeP(MedicationsSection2 medicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSection2MedicationsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -443,6 +454,8 @@ public static boolean validateMedicationsSectionEntriesOptionalCode(MedicationsS return true; } + DatatypesUtil.increment(context, "MedicationsSection2MedicationsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -508,6 +521,9 @@ public static boolean validateMedicationsSectionEntriesOptionalCode(MedicationsS public static boolean validateMedicationsSectionEntriesOptionalMedicationActivity( MedicationsSection2 medicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSection2MedicationsSectionEntriesOptionalMedicationActivity", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptional2Operations.java index ce830d7389..e7d12b0443 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,9 @@ public static boolean validateMedicationsSectionEntriesOptionalAbsenceOfMedicati MedicationsSectionEntriesOptional2 medicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptional2MedicationsSectionEntriesOptionalAbsenceOfMedications", "INFO"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_ABSENCE_OF_MEDICATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -143,6 +147,9 @@ public static boolean validateMedicationsSectionEntriesOptionalCodeP( MedicationsSectionEntriesOptional2 medicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptional2MedicationsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +240,9 @@ public static boolean validateMedicationsSectionEntriesOptionalTemplateId( MedicationsSectionEntriesOptional2 medicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptional2MedicationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +383,9 @@ public static boolean validateMedicationsSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptional2MedicationsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +453,10 @@ public static boolean validateMedicationsSectionEntriesOptionalMedicationActivit MedicationsSectionEntriesOptional2 medicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptional2MedicationsSectionEntriesOptionalMedicationActivity", + "WARNING"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptionalOperations.java index 1e26b5f91a..203d0a8558 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateMedicationsSectionEntriesOptionalTemplateId( MedicationsSectionEntriesOptional medicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptionalMedicationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,9 @@ public static boolean validateMedicationsSectionEntriesOptionalCode( MedicationsSectionEntriesOptional medicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptionalMedicationsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +246,9 @@ public static boolean validateMedicationsSectionEntriesOptionalCodeP( MedicationsSectionEntriesOptional medicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptionalMedicationsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +316,9 @@ public static boolean validateMedicationsSectionEntriesOptionalTitle( MedicationsSectionEntriesOptional medicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptionalMedicationsSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +386,9 @@ public static boolean validateMedicationsSectionEntriesOptionalText( MedicationsSectionEntriesOptional medicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptionalMedicationsSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +456,9 @@ public static boolean validateMedicationsSectionEntriesOptionalMedicationActivit MedicationsSectionEntriesOptional medicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptionalMedicationsSectionEntriesOptionalMedicationActivity", "WARNING"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionOperations.java index a598c45a2d..7c552fe134 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected MedicationsSectionOperations() { public static boolean validateMedicationsSectionCodeP(MedicationsSection medicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSectionMedicationsSectionCodeP", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +190,8 @@ public static boolean validateMedicationsSectionCode(MedicationsSection medicati return true; } + DatatypesUtil.increment(context, "MedicationsSectionMedicationsSectionCode", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +255,8 @@ public static boolean validateMedicationsSectionCode(MedicationsSection medicati public static boolean validateMedicationsSectionTitle(MedicationsSection medicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSectionMedicationsSectionTitle", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +320,8 @@ public static boolean validateMedicationsSectionTitle(MedicationsSection medicat public static boolean validateMedicationsSectionText(MedicationsSection medicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSectionMedicationsSectionText", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +385,8 @@ public static boolean validateMedicationsSectionText(MedicationsSection medicati public static boolean validateMedicationsSectionMedication(MedicationsSection medicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSectionMedicationsSectionMedication", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -486,6 +497,8 @@ public static EList getMedications(MedicationsSection medica public static boolean validateMedicationsSectionEntriesOptionalTemplateId(MedicationsSection medicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSectionMedicationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservation2Operations.java index 567a1bec15..e95089ba1b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservation2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -124,6 +125,8 @@ protected MentalStatusObservation2Operations() { public static boolean validateMentalStatusObservation2TemplateId(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2MentalStatusObservation2TemplateId", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -190,6 +193,9 @@ public static boolean validateMentalStatusObservation2AuthorParticipation( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2MentalStatusObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -259,6 +265,8 @@ public static boolean validateMentalStatusObservation2CDTranslation( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2MentalStatusObservation2CDTranslation", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -331,6 +339,8 @@ public static boolean validateMentalStatusObservation2CDTranslationP( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2MentalStatusObservation2CDTranslationP", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -553,6 +563,9 @@ public static boolean validateCognitiveStatusResultObservationValueDatatype( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationValueDatatype", "WARNING"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_VALUE_DATATYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -619,6 +632,8 @@ public static boolean validateCognitiveStatusResultObservationValueDatatype( public static boolean validateResultObservationTextReference(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationTextReference", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -683,6 +698,8 @@ public static boolean validateResultObservationTextReference(MentalStatusObserva public static boolean validateResultObservationTextReferenceValue(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationTextReferenceValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -748,6 +765,8 @@ public static boolean validateResultObservationTextReferenceValue(MentalStatusOb public static boolean validateResultObservationReferenceValue(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationReferenceValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -813,6 +832,8 @@ public static boolean validateResultObservationReferenceValue(MentalStatusObserv public static boolean validateResultObservationCodeValue(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationCodeValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -878,6 +899,8 @@ public static boolean validateResultObservationNoObservationRangeCode( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationNoObservationRangeCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_NO_OBSERVATION_RANGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -944,6 +967,8 @@ public static boolean validateResultObservationNoObservationRangeCode( public static boolean validateResultObservationAuthorMultiplicity(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationAuthorMultiplicity", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_AUTHOR_MULTIPLICITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1009,6 +1034,8 @@ public static boolean validateResultObservationAuthorMultiplicity(MentalStatusOb public static boolean validateResultObservationClassCode(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationClassCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1073,6 +1100,8 @@ public static boolean validateResultObservationClassCode(MentalStatusObservation public static boolean validateResultObservationMoodCode(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationMoodCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1137,6 +1166,8 @@ public static boolean validateResultObservationMoodCode(MentalStatusObservation2 public static boolean validateResultObservationId(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1200,6 +1231,8 @@ public static boolean validateResultObservationId(MentalStatusObservation2 menta public static boolean validateResultObservationCodeP(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1286,6 +1319,8 @@ public static boolean validateResultObservationCode(MentalStatusObservation2 men return true; } + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1349,6 +1384,8 @@ public static boolean validateResultObservationCode(MentalStatusObservation2 men public static boolean validateResultObservationStatusCodeP(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1435,6 +1472,8 @@ public static boolean validateResultObservationStatusCode(MentalStatusObservatio return true; } + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationStatusCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1499,6 +1538,8 @@ public static boolean validateResultObservationStatusCode(MentalStatusObservatio public static boolean validateResultObservationEffectiveTime(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationEffectiveTime", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1563,6 +1604,8 @@ public static boolean validateResultObservationEffectiveTime(MentalStatusObserva public static boolean validateResultObservationValue(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1626,6 +1669,8 @@ public static boolean validateResultObservationValue(MentalStatusObservation2 me public static boolean validateResultObservationText(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationText", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1689,6 +1734,8 @@ public static boolean validateResultObservationText(MentalStatusObservation2 men public static boolean validateResultObservationInterpretationCode(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationInterpretationCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1754,6 +1801,8 @@ public static boolean validateResultObservationInterpretationCode(MentalStatusOb public static boolean validateResultObservationMethodCode(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationMethodCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1818,6 +1867,8 @@ public static boolean validateResultObservationMethodCode(MentalStatusObservatio public static boolean validateResultObservationTargetSiteCode(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationTargetSiteCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1884,6 +1935,9 @@ public static boolean validateCognitiveStatusResultObservationAssessmentScaleObs MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationAssessmentScaleObservation", "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1951,6 +2005,9 @@ public static boolean validateCognitiveStatusResultObservationReferenceRange( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationReferenceRange", "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2018,6 +2075,8 @@ public static boolean validateCognitiveStatusResultObservationAuthor( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2CognitiveStatusResultObservationAuthor", "ERROR"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2085,6 +2144,9 @@ public static boolean validateCognitiveStatusResultObservationNonMedicinalSupply MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationNonMedicinalSupplyActivity", "ERROR"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2152,6 +2214,9 @@ public static boolean validateCognitiveStatusResultObservationCaregiverCharacter MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationCaregiverCharacteristics", "ERROR"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2219,6 +2284,10 @@ public static boolean validateCognitiveStatusResultObservationReferenceRangeObse MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationReferenceRangeObservationRangeNoCode", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_NO_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2291,6 +2360,9 @@ public static boolean validateCognitiveStatusResultObservationReferenceRangeObse MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationReferenceRangeObservationRange", "ERROR"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservationOperations.java index 72324e9f51..d895a96b90 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -105,6 +106,8 @@ protected MentalStatusObservationOperations() { public static boolean validateMentalStatusObservationTemplateId(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationTemplateId", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +173,8 @@ public static boolean validateMentalStatusObservationTemplateId(MentalStatusObse public static boolean validateMentalStatusObservationClassCode(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationClassCode", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +240,8 @@ public static boolean validateMentalStatusObservationClassCode(MentalStatusObser public static boolean validateMentalStatusObservationMoodCode(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationMoodCode", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +307,8 @@ public static boolean validateMentalStatusObservationMoodCode(MentalStatusObserv public static boolean validateMentalStatusObservationId(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationId", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +373,8 @@ public static boolean validateMentalStatusObservationId(MentalStatusObservation public static boolean validateMentalStatusObservationCodeP(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationCodeP", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -451,6 +462,8 @@ public static boolean validateMentalStatusObservationCode(MentalStatusObservatio return true; } + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationCode", "WARNING"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -516,6 +529,8 @@ public static boolean validateMentalStatusObservationCode(MentalStatusObservatio public static boolean validateMentalStatusObservationStatusCode(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationStatusCode", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -581,6 +596,8 @@ public static boolean validateMentalStatusObservationStatusCode(MentalStatusObse public static boolean validateMentalStatusObservationStatusCodeP(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationStatusCodeP", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -646,6 +663,8 @@ public static boolean validateMentalStatusObservationStatusCodeP(MentalStatusObs public static boolean validateMentalStatusObservationEffectiveTime(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationEffectiveTime", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -713,6 +732,8 @@ public static boolean validateMentalStatusObservationEffectiveTime(MentalStatusO public static boolean validateMentalStatusObservationValue(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationValue", "WARNING"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -777,6 +798,8 @@ public static boolean validateMentalStatusObservationValue(MentalStatusObservati public static boolean validateMentalStatusObservationValueP(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationValueP", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -841,6 +864,9 @@ public static boolean validateMentalStatusObservationValueP(MentalStatusObservat public static boolean validateMentalStatusObservationAssessmentScaleObservation( MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservationMentalStatusObservationAssessmentScaleObservation", "INFO"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -907,6 +933,9 @@ public static boolean validateMentalStatusObservationAssessmentScaleObservation( public static boolean validateMentalStatusObservationAuthorParticipation( MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservationMentalStatusObservationAuthorParticipation", "WARNING"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusOrganizer2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusOrganizer2Operations.java index c12968c0b5..2026551059 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusOrganizer2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusOrganizer2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -96,6 +97,8 @@ protected MentalStatusOrganizer2Operations() { public static boolean validateMentalStatusOrganizer2HasCodeOrEffectiveTime( MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusOrganizer2MentalStatusOrganizer2HasCodeOrEffectiveTime", "ERROR"); + if (VALIDATE_MENTAL_STATUS_ORGANIZER2_HAS_CODE_OR_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateMentalStatusOrganizer2HasCodeOrEffectiveTime( public static boolean validateMentalStatusOrganizer2TemplateId(MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusOrganizer2MentalStatusOrganizer2TemplateId", "ERROR"); + if (VALIDATE_MENTAL_STATUS_ORGANIZER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateMentalStatusOrganizer2TemplateId(MentalStatusOrgan public static boolean validateMentalStatusOrganizer2EffectiveTime(MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusOrganizer2MentalStatusOrganizer2EffectiveTime", "WARNING"); + if (VALIDATE_MENTAL_STATUS_ORGANIZER2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -292,6 +299,8 @@ public static boolean validateMentalStatusOrganizer2EffectiveTime(MentalStatusOr public static boolean validateMentalStatusOrganizer2CDCode(MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusOrganizer2MentalStatusOrganizer2CDCode", "ERROR"); + if (VALIDATE_MENTAL_STATUS_ORGANIZER2_CD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +421,9 @@ public static EList getConsolMentalStatusObservation2s public static boolean validateCognitiveStatusResultOrganizerCodeCodeSystem( MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusOrganizer2CognitiveStatusResultOrganizerCodeCodeSystem", "WARNING"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_ORGANIZER_CODE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -478,6 +490,8 @@ public static boolean validateCognitiveStatusResultOrganizerCodeCodeSystem( public static boolean validateResultOrganizerCode(MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusOrganizer2ResultOrganizerCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -541,6 +555,8 @@ public static boolean validateResultOrganizerCode(MentalStatusOrganizer2 mentalS public static boolean validateResultOrganizerResultObservation(MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusOrganizer2ResultOrganizerResultObservation", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusSectionOperations.java index c410d48fee..64dac28750 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -104,6 +105,8 @@ protected MentalStatusSectionOperations() { public static boolean validateMentalStatusSectionTemplateId(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionTemplateId", "ERROR"); + if (VALIDATE_MENTAL_STATUS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +173,8 @@ public static boolean validateMentalStatusSectionTemplateId(MentalStatusSection public static boolean validateMentalStatusSectionCode(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionCode", "ERROR"); + if (VALIDATE_MENTAL_STATUS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateMentalStatusSectionCode(MentalStatusSection mental public static boolean validateMentalStatusSectionCodeP(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionCodeP", "ERROR"); + if (VALIDATE_MENTAL_STATUS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validateMentalStatusSectionCodeP(MentalStatusSection menta public static boolean validateMentalStatusSectionTitle(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionTitle", "ERROR"); + if (VALIDATE_MENTAL_STATUS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validateMentalStatusSectionTitle(MentalStatusSection menta public static boolean validateMentalStatusSectionText(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionText", "ERROR"); + if (VALIDATE_MENTAL_STATUS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -422,6 +433,8 @@ public static boolean validateMentalStatusSectionText(MentalStatusSection mental public static boolean validateMentalStatusSectionAssessmentScaleObservation(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionAssessmentScaleObservation", "INFO"); + if (VALIDATE_MENTAL_STATUS_SECTION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -488,6 +501,8 @@ public static boolean validateMentalStatusSectionAssessmentScaleObservation(Ment public static boolean validateMentalStatusSectionMentalStatusOrganizer2(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionMentalStatusOrganizer2", "INFO"); + if (VALIDATE_MENTAL_STATUS_SECTION_MENTAL_STATUS_ORGANIZER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -553,6 +568,8 @@ public static boolean validateMentalStatusSectionMentalStatusOrganizer2(MentalSt public static boolean validateMentalStatusSectionMentalStatusObservation2(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionMentalStatusObservation2", "INFO"); + if (VALIDATE_MENTAL_STATUS_SECTION_MENTAL_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivity2Operations.java index c49e72d99d..dd57d3efa2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivity2Operations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,9 @@ public static boolean validateNonMedicinalSupplyActivity2Instruction2InversionIn NonMedicinalSupplyActivity2 nonMedicinalSupplyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NonMedicinalSupplyActivity2NonMedicinalSupplyActivity2Instruction2InversionInd", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY2_INSTRUCTION2_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -165,6 +169,8 @@ public static boolean validateNonMedicinalSupplyActivity2TemplateId( NonMedicinalSupplyActivity2 nonMedicinalSupplyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivity2NonMedicinalSupplyActivity2TemplateId", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +238,8 @@ public static boolean validateNonMedicinalSupplyActivityStatusCodeP( NonMedicinalSupplyActivity2 nonMedicinalSupplyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivity2NonMedicinalSupplyActivityStatusCodeP", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +321,8 @@ public static boolean validateNonMedicinalSupplyActivity2Instruction2( NonMedicinalSupplyActivity2 nonMedicinalSupplyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivity2NonMedicinalSupplyActivity2Instruction2", "INFO"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY2_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -480,6 +490,8 @@ public static boolean validateNonMedicinalSupplyActivityStatusCode( return true; } + DatatypesUtil.increment(context, "NonMedicinalSupplyActivity2NonMedicinalSupplyActivityStatusCode", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -547,6 +559,9 @@ public static boolean validateNonMedicinalSupplyActivityProductInstance( NonMedicinalSupplyActivity2 nonMedicinalSupplyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NonMedicinalSupplyActivity2NonMedicinalSupplyActivityProductInstance", "INFO"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_PRODUCT_INSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivityOperations.java index 9b413930b0..ddec99b737 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivityOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SupplyOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -104,6 +105,9 @@ public static boolean validateNonMedicinalSupplyActivityEffectiveTimeHigh( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityEffectiveTimeHigh", "WARNING"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -171,6 +175,9 @@ public static boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityProductInstanceTypeCode", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_PRODUCT_INSTANCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +245,8 @@ public static boolean validateNonMedicinalSupplyActivityTemplateId( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityTemplateId", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +314,8 @@ public static boolean validateNonMedicinalSupplyActivityClassCode( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityClassCode", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -374,6 +385,8 @@ public static boolean validateNonMedicinalSupplyActivityMoodCode( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityMoodCode", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -439,6 +452,8 @@ public static boolean validateNonMedicinalSupplyActivityMoodCode( public static boolean validateNonMedicinalSupplyActivityId(NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityId", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -504,6 +519,8 @@ public static boolean validateNonMedicinalSupplyActivityStatusCode( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityStatusCode", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -571,6 +588,9 @@ public static boolean validateNonMedicinalSupplyActivityEffectiveTime( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityEffectiveTime", "WARNING"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -638,6 +658,8 @@ public static boolean validateNonMedicinalSupplyActivityQuantity( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityQuantity", "WARNING"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -704,6 +726,9 @@ public static boolean validateNonMedicinalSupplyActivityProductInstance( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityProductInstance", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_PRODUCT_INSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservation2Operations.java index fbabb7a4e3..648de8ed5a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservation2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -101,6 +102,9 @@ public static boolean validateNumberOfPressureUlcersObservation2TemplateId( NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservation2TemplateId", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +174,9 @@ public static boolean validateNumberOfPressureUlcersObservation2CDTranslation( NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservation2CDTranslation", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -242,6 +249,9 @@ public static boolean validateNumberOfPressureUlcersObservation2CDTranslationP( NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservation2CDTranslationP", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -314,6 +324,11 @@ public static boolean validateNumberOfPressureUlcersObservation2EntryRelationshi NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservation2EntryRelationshipObservationCodeP", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2_ENTRY_RELATIONSHIP_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -402,6 +417,11 @@ public static boolean validateNumberOfPressureUlcersObservation2EntryRelationshi NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservation2EntryRelationshipObservationCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2_ENTRY_RELATIONSHIP_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -484,6 +504,9 @@ public static boolean validateNumberOfPressureUlcersObservationCodeP( NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationCodeP", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -576,6 +599,9 @@ public static boolean validateNumberOfPressureUlcersObservationCode( return true; } + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationCode", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -643,6 +669,9 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationship", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -710,6 +739,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationshipObservationClassCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -782,6 +816,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationshipObservationMoodCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -854,6 +893,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationshipObservationValueP", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -942,6 +986,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationshipObservationValue", + "WARNING"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1024,6 +1073,10 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationshipTypeCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1096,6 +1149,10 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationshipObservation", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservationOperations.java index 28e17dc678..299b3dfb78 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservationOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -109,6 +110,9 @@ public static boolean validateNumberOfPressureUlcersObservationTemplateId( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationTemplateId", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -176,6 +180,9 @@ public static boolean validateNumberOfPressureUlcersObservationClassCode( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationClassCode", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -243,6 +250,9 @@ public static boolean validateNumberOfPressureUlcersObservationMoodCode( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationMoodCode", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -310,6 +320,9 @@ public static boolean validateNumberOfPressureUlcersObservationId( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationId", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -377,6 +390,9 @@ public static boolean validateNumberOfPressureUlcersObservationCodeP( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationCodeP", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -469,6 +485,9 @@ public static boolean validateNumberOfPressureUlcersObservationCode( return true; } + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationCode", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -537,6 +556,9 @@ public static boolean validateNumberOfPressureUlcersObservationStatusCode( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationStatusCode", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -604,6 +626,9 @@ public static boolean validateNumberOfPressureUlcersObservationStatusCodeP( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationStatusCodeP", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +696,9 @@ public static boolean validateNumberOfPressureUlcersObservationEffectiveTime( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEffectiveTime", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +766,9 @@ public static boolean validateNumberOfPressureUlcersObservationValue( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationValue", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -805,6 +836,9 @@ public static boolean validateNumberOfPressureUlcersObservationAuthor( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationAuthor", "INFO"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -872,6 +906,9 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationship", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -939,6 +976,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationshipObservationClassCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1011,6 +1053,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationshipObservationMoodCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1085,6 +1132,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationshipObservationValue", + "WARNING"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1157,6 +1209,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationshipObservationValueP", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1229,6 +1286,10 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationshipTypeCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1301,6 +1362,10 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationshipObservation", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionAssessmentOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionAssessmentOperations.java index 6ae3bf306b..0f01f5bbc0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionAssessmentOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionAssessmentOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected NutritionAssessmentOperations() { public static boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentValueOfTypeCDIsFromSnomed", "WARNING"); + if (VALIDATE_NUTRITION_ASSESSMENT_VALUE_OF_TYPE_CD_IS_FROM_SNOMED__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(Nutri public static boolean validateNutritionAssessmentTemplateId(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentTemplateId", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -228,6 +233,8 @@ public static boolean validateNutritionAssessmentTemplateId(NutritionAssessment public static boolean validateNutritionAssessmentClassCode(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentClassCode", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -292,6 +299,8 @@ public static boolean validateNutritionAssessmentClassCode(NutritionAssessment n public static boolean validateNutritionAssessmentMoodCode(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentMoodCode", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -355,6 +364,8 @@ public static boolean validateNutritionAssessmentMoodCode(NutritionAssessment nu public static boolean validateNutritionAssessmentId(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentId", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -418,6 +429,8 @@ public static boolean validateNutritionAssessmentId(NutritionAssessment nutritio public static boolean validateNutritionAssessmentCodeP(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentCodeP", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -504,6 +517,8 @@ public static boolean validateNutritionAssessmentCode(NutritionAssessment nutrit return true; } + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentCode", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -568,6 +583,8 @@ public static boolean validateNutritionAssessmentCode(NutritionAssessment nutrit public static boolean validateNutritionAssessmentStatusCode(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentStatusCode", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -632,6 +649,8 @@ public static boolean validateNutritionAssessmentStatusCode(NutritionAssessment public static boolean validateNutritionAssessmentStatusCodeP(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentStatusCodeP", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -697,6 +716,8 @@ public static boolean validateNutritionAssessmentStatusCodeP(NutritionAssessment public static boolean validateNutritionAssessmentEffectiveTime(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentEffectiveTime", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -762,6 +783,8 @@ public static boolean validateNutritionAssessmentEffectiveTime(NutritionAssessme public static boolean validateNutritionAssessmentValue(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentValue", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -825,6 +848,8 @@ public static boolean validateNutritionAssessmentValue(NutritionAssessment nutri public static boolean validateNutritionAssessmentAuthorParticipation(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentAuthorParticipation", "WARNING"); + if (VALIDATE_NUTRITION_ASSESSMENT_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionRecommendationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionRecommendationOperations.java index d982e14285..81e5cab506 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionRecommendationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionRecommendationOperations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -113,6 +114,8 @@ protected NutritionRecommendationOperations() { public static boolean validateNutritionRecommendationTemplateId(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationTemplateId", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -178,6 +181,8 @@ public static boolean validateNutritionRecommendationTemplateId(NutritionRecomme public static boolean validateNutritionRecommendationClassCode(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationClassCode", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -243,6 +248,8 @@ public static boolean validateNutritionRecommendationClassCode(NutritionRecommen public static boolean validateNutritionRecommendationMoodCodeP(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationMoodCodeP", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_MOOD_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -331,6 +338,8 @@ public static boolean validateNutritionRecommendationMoodCode(NutritionRecommend return true; } + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationMoodCode", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -396,6 +405,8 @@ public static boolean validateNutritionRecommendationMoodCode(NutritionRecommend public static boolean validateNutritionRecommendationCodeP(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationCodeP", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -483,6 +494,8 @@ public static boolean validateNutritionRecommendationCode(NutritionRecommendatio return true; } + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationCode", "WARNING"); + if (VALIDATE_NUTRITION_RECOMMENDATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -548,6 +561,8 @@ public static boolean validateNutritionRecommendationCode(NutritionRecommendatio public static boolean validateNutritionRecommendationStatusCode(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationStatusCode", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -613,6 +628,8 @@ public static boolean validateNutritionRecommendationStatusCode(NutritionRecomme public static boolean validateNutritionRecommendationStatusCodeP(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationStatusCodeP", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -678,6 +695,8 @@ public static boolean validateNutritionRecommendationStatusCodeP(NutritionRecomm public static boolean validateNutritionRecommendationEffectiveTime(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationEffectiveTime", "WARNING"); + if (VALIDATE_NUTRITION_RECOMMENDATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -743,6 +762,8 @@ public static boolean validateNutritionRecommendationEffectiveTime(NutritionReco public static boolean validateNutritionRecommendationPlannedEncounter2( NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationPlannedEncounter2", "INFO"); + if (VALIDATE_NUTRITION_RECOMMENDATION_PLANNED_ENCOUNTER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -809,6 +830,9 @@ public static boolean validateNutritionRecommendationPlannedEncounter2( public static boolean validateNutritionRecommendationPlannedMedicationActivity2( NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NutritionRecommendationNutritionRecommendationPlannedMedicationActivity2", "INFO"); + if (VALIDATE_NUTRITION_RECOMMENDATION_PLANNED_MEDICATION_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -875,6 +899,8 @@ public static boolean validateNutritionRecommendationPlannedMedicationActivity2( public static boolean validateNutritionRecommendationPlannedObservation2( NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationPlannedObservation2", "INFO"); + if (VALIDATE_NUTRITION_RECOMMENDATION_PLANNED_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -941,6 +967,8 @@ public static boolean validateNutritionRecommendationPlannedObservation2( public static boolean validateNutritionRecommendationPlannedProcedure2( NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationPlannedProcedure2", "INFO"); + if (VALIDATE_NUTRITION_RECOMMENDATION_PLANNED_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1007,6 +1035,8 @@ public static boolean validateNutritionRecommendationPlannedProcedure2( public static boolean validateNutritionRecommendationPlannedSupply2(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationPlannedSupply2", "INFO"); + if (VALIDATE_NUTRITION_RECOMMENDATION_PLANNED_SUPPLY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1072,6 +1102,8 @@ public static boolean validateNutritionRecommendationPlannedSupply2(NutritionRec public static boolean validateNutritionRecommendationPlannedAct2(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationPlannedAct2", "INFO"); + if (VALIDATE_NUTRITION_RECOMMENDATION_PLANNED_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionSectionOperations.java index 0ddafc56cf..43fc33673c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected NutritionSectionOperations() { public static boolean validateNutritionSectionTemplateId(NutritionSection nutritionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionSectionNutritionSectionTemplateId", "ERROR"); + if (VALIDATE_NUTRITION_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,8 @@ public static boolean validateNutritionSectionTemplateId(NutritionSection nutrit public static boolean validateNutritionSectionCode(NutritionSection nutritionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionSectionNutritionSectionCode", "ERROR"); + if (VALIDATE_NUTRITION_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -226,6 +231,8 @@ public static boolean validateNutritionSectionCode(NutritionSection nutritionSec public static boolean validateNutritionSectionCodeP(NutritionSection nutritionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionSectionNutritionSectionCodeP", "ERROR"); + if (VALIDATE_NUTRITION_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateNutritionSectionCodeP(NutritionSection nutritionSe public static boolean validateNutritionSectionTitle(NutritionSection nutritionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionSectionNutritionSectionTitle", "ERROR"); + if (VALIDATE_NUTRITION_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateNutritionSectionTitle(NutritionSection nutritionSe public static boolean validateNutritionSectionText(NutritionSection nutritionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionSectionNutritionSectionText", "ERROR"); + if (VALIDATE_NUTRITION_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -415,6 +426,8 @@ public static boolean validateNutritionSectionText(NutritionSection nutritionSec public static boolean validateNutritionSectionNutritionalStatusObservation(NutritionSection nutritionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionSectionNutritionSectionNutritionalStatusObservation", "WARNING"); + if (VALIDATE_NUTRITION_SECTION_NUTRITIONAL_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionalStatusObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionalStatusObservationOperations.java index 36aeed4e6e..bac9bcba48 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionalStatusObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionalStatusObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -105,6 +106,8 @@ public static boolean validateNutritionalStatusObservationTemplateId( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationTemplateId", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateNutritionalStatusObservationClassCode( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationClassCode", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +244,8 @@ public static boolean validateNutritionalStatusObservationMoodCode( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationMoodCode", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +313,8 @@ public static boolean validateNutritionalStatusObservationId( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationId", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -371,6 +380,8 @@ public static boolean validateNutritionalStatusObservationCodeP( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationCodeP", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -462,6 +473,8 @@ public static boolean validateNutritionalStatusObservationCode( return true; } + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationCode", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -529,6 +542,8 @@ public static boolean validateNutritionalStatusObservationStatusCode( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationStatusCode", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -596,6 +611,9 @@ public static boolean validateNutritionalStatusObservationStatusCodeP( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NutritionalStatusObservationNutritionalStatusObservationStatusCodeP", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -663,6 +681,9 @@ public static boolean validateNutritionalStatusObservationEffectiveTime( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NutritionalStatusObservationNutritionalStatusObservationEffectiveTime", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -732,6 +753,8 @@ public static boolean validateNutritionalStatusObservationValue( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationValue", "WARNING"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -799,6 +822,8 @@ public static boolean validateNutritionalStatusObservationValueP( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationValueP", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -866,6 +891,9 @@ public static boolean validateNutritionalStatusObservationNutritionAssessment( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NutritionalStatusObservationNutritionalStatusObservationNutritionAssessment", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_NUTRITION_ASSESSMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObjectiveSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObjectiveSectionOperations.java index 48956de3be..a0087a4d31 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObjectiveSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObjectiveSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected ObjectiveSectionOperations() { public static boolean validateObjectiveSectionTemplateId(ObjectiveSection objectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObjectiveSectionObjectiveSectionTemplateId", "ERROR"); + if (VALIDATE_OBJECTIVE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -159,6 +162,8 @@ public static boolean validateObjectiveSectionTemplateId(ObjectiveSection object public static boolean validateObjectiveSectionCode(ObjectiveSection objectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObjectiveSectionObjectiveSectionCode", "ERROR"); + if (VALIDATE_OBJECTIVE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -222,6 +227,8 @@ public static boolean validateObjectiveSectionCode(ObjectiveSection objectiveSec public static boolean validateObjectiveSectionCodeP(ObjectiveSection objectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObjectiveSectionObjectiveSectionCodeP", "ERROR"); + if (VALIDATE_OBJECTIVE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +292,8 @@ public static boolean validateObjectiveSectionCodeP(ObjectiveSection objectiveSe public static boolean validateObjectiveSectionText(ObjectiveSection objectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObjectiveSectionObjectiveSectionText", "ERROR"); + if (VALIDATE_OBJECTIVE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -348,6 +357,8 @@ public static boolean validateObjectiveSectionText(ObjectiveSection objectiveSec public static boolean validateObjectiveSectionTitle(ObjectiveSection objectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObjectiveSectionObjectiveSectionTitle", "ERROR"); + if (VALIDATE_OBJECTIVE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObserverContextOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObserverContextOperations.java index 2ede8c31a9..378a9dcda0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObserverContextOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObserverContextOperations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.AuthorOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -87,6 +88,8 @@ protected ObserverContextOperations() { public static boolean validateObserverContextTemplateId(ObserverContext observerContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObserverContextObserverContextTemplateId", "ERROR"); + if (VALIDATE_OBSERVER_CONTEXT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -150,6 +153,8 @@ public static boolean validateObserverContextTemplateId(ObserverContext observer public static boolean validateObserverContextAssignedAuthor(ObserverContext observerContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObserverContextObserverContextAssignedAuthor", "ERROR"); + if (VALIDATE_OBSERVER_CONTEXT_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNote2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNote2Operations.java index b4482a2978..d98cf7c7d6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNote2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNote2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -161,6 +162,8 @@ protected OperativeNote2Operations() { public static boolean validateOperativeNote2CodeP(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2CodeP", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -247,6 +250,8 @@ public static boolean validateOperativeNote2Code(OperativeNote2 operativeNote2, return true; } + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2Code", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -310,6 +315,8 @@ public static boolean validateOperativeNote2Code(OperativeNote2 operativeNote2, public static boolean validateOperativeNote2DocumentationOf(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2DocumentationOf", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +380,8 @@ public static boolean validateOperativeNote2DocumentationOf(OperativeNote2 opera public static boolean validateOperativeNote2Authorization(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2Authorization", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_AUTHORIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +445,8 @@ public static boolean validateOperativeNote2Authorization(OperativeNote2 operati public static boolean validateOperativeNote2AnesthesiaSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2AnesthesiaSection2", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_ANESTHESIA_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -500,6 +511,8 @@ public static boolean validateOperativeNote2AnesthesiaSection2(OperativeNote2 op public static boolean validateOperativeNote2ComplicationsSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ComplicationsSection2", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_COMPLICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -565,6 +578,8 @@ public static boolean validateOperativeNote2ComplicationsSection2(OperativeNote2 public static boolean validateOperativeNote2PreoperativeDiagnosisSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2PreoperativeDiagnosisSection2", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_PREOPERATIVE_DIAGNOSIS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -630,6 +645,8 @@ public static boolean validateOperativeNote2PreoperativeDiagnosisSection2(Operat public static boolean validateOperativeNote2ProcedureEstimatedBloodLossSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureEstimatedBloodLossSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -696,6 +713,8 @@ public static boolean validateOperativeNote2ProcedureEstimatedBloodLossSection(O public static boolean validateOperativeNote2ProcedureFindingsSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureFindingsSection2", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_FINDINGS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -761,6 +780,8 @@ public static boolean validateOperativeNote2ProcedureFindingsSection2(OperativeN public static boolean validateOperativeNote2ProcedureSpecimensTakenSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureSpecimensTakenSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_SPECIMENS_TAKEN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -826,6 +847,8 @@ public static boolean validateOperativeNote2ProcedureSpecimensTakenSection(Opera public static boolean validateOperativeNote2ProcedureDescriptionSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureDescriptionSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_DESCRIPTION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -891,6 +914,8 @@ public static boolean validateOperativeNote2ProcedureDescriptionSection(Operativ public static boolean validateOperativeNote2PostoperativeDiagnosisSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2PostoperativeDiagnosisSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_POSTOPERATIVE_DIAGNOSIS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -956,6 +981,8 @@ public static boolean validateOperativeNote2PostoperativeDiagnosisSection(Operat public static boolean validateOperativeNote2ProcedureImplantsSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureImplantsSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_IMPLANTS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1021,6 +1048,8 @@ public static boolean validateOperativeNote2ProcedureImplantsSection(OperativeNo public static boolean validateOperativeNote2OperativeNoteFluidSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2OperativeNoteFluidSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_OPERATIVE_NOTE_FLUID_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1086,6 +1115,8 @@ public static boolean validateOperativeNote2OperativeNoteFluidSection(OperativeN public static boolean validateOperativeNote2OperativeNoteSurgicalProcedureSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2OperativeNoteSurgicalProcedureSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1152,6 +1183,8 @@ public static boolean validateOperativeNote2OperativeNoteSurgicalProcedureSectio public static boolean validateOperativeNote2PlanOfTreatmentSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2PlanOfTreatmentSection2", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1217,6 +1250,8 @@ public static boolean validateOperativeNote2PlanOfTreatmentSection2(OperativeNot public static boolean validateOperativeNote2PlannedProcedureSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2PlannedProcedureSection2", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_PLANNED_PROCEDURE_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1282,6 +1317,8 @@ public static boolean validateOperativeNote2PlannedProcedureSection2(OperativeNo public static boolean validateOperativeNote2ProcedureDispositionSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureDispositionSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_DISPOSITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1347,6 +1384,8 @@ public static boolean validateOperativeNote2ProcedureDispositionSection(Operativ public static boolean validateOperativeNote2ProcedureIndicationsSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureIndicationsSection2", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_INDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1412,6 +1451,8 @@ public static boolean validateOperativeNote2ProcedureIndicationsSection2(Operati public static boolean validateOperativeNote2SurgicalDrainsSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2SurgicalDrainsSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_SURGICAL_DRAINS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1477,6 +1518,9 @@ public static boolean validateOperativeNote2SurgicalDrainsSection(OperativeNote2 public static boolean validateOperativeNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_US_REALM_DATE_AND_TIME_DT_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1527,6 +1571,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventUSRealmDa public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntityCode( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssignedEntityCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1631,6 +1678,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntityCodeP( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssignedEntityCodeP", "WARNING"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1716,6 +1766,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerTypeCode( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerTypeCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1787,6 +1840,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntity( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssignedEntity", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1837,6 +1893,10 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCode( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCode", + "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1941,6 +2001,10 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCodeP( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCodeP", + "WARNING"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2026,6 +2090,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsTypeCode( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssistantsTypeCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2097,6 +2164,10 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntity( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntity", + "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2168,6 +2239,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_HAS_HIGH_WHEN_NO_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2239,6 +2313,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventEffective public static boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWidth( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWidth", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_NO_HIGH_IF_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2310,6 +2387,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventEffective public static boolean validateOperativeNote2DocumentationOfServiceEventProcedureCodes(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventProcedureCodes", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PROCEDURE_CODES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2381,6 +2461,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventProcedure public static boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTime(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventEffectiveTime", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2452,6 +2535,8 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventEffective public static boolean validateOperativeNote2DocumentationOfServiceEventCode(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2DocumentationOfServiceEventCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2523,6 +2608,8 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventCode(Oper public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformer", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2594,6 +2681,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistants( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssistants", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2665,6 +2755,8 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEvent(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2DocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2735,6 +2827,8 @@ public static boolean validateOperativeNote2DocumentationOfServiceEvent(Operativ public static boolean validateOperativeNote2AuthorizationConsentClassCode(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2AuthorizationConsentClassCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_AUTHORIZATION_CONSENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2806,6 +2900,8 @@ public static boolean validateOperativeNote2AuthorizationConsentClassCode(Operat public static boolean validateOperativeNote2AuthorizationConsentMoodCode(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2AuthorizationConsentMoodCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_AUTHORIZATION_CONSENT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2876,6 +2972,8 @@ public static boolean validateOperativeNote2AuthorizationConsentMoodCode(Operati public static boolean validateOperativeNote2AuthorizationConsentStatusCode(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2AuthorizationConsentStatusCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_AUTHORIZATION_CONSENT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2947,6 +3045,8 @@ public static boolean validateOperativeNote2AuthorizationConsentStatusCode(Opera public static boolean validateOperativeNote2AuthorizationTypeCode(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2AuthorizationTypeCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_AUTHORIZATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3017,6 +3117,8 @@ public static boolean validateOperativeNote2AuthorizationTypeCode(OperativeNote2 public static boolean validateOperativeNote2AuthorizationConsent(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2AuthorizationConsent", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_AUTHORIZATION_CONSENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3819,6 +3921,8 @@ public static SurgicalDrainsSection getSurgicalDrainsSection(OperativeNote2 oper public static boolean validateUSRealmHeader2TemplateId(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteFluidSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteFluidSectionOperations.java index f6c2cf9d1f..b398d0be8e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteFluidSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteFluidSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ public static boolean validateOperativeNoteFluidSectionTemplateId( OperativeNoteFluidSection operativeNoteFluidSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteFluidSectionOperativeNoteFluidSectionTemplateId", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_FLUID_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateOperativeNoteFluidSectionTemplateId( public static boolean validateOperativeNoteFluidSectionCode(OperativeNoteFluidSection operativeNoteFluidSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteFluidSectionOperativeNoteFluidSectionCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_FLUID_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -226,6 +231,8 @@ public static boolean validateOperativeNoteFluidSectionCode(OperativeNoteFluidSe public static boolean validateOperativeNoteFluidSectionCodeP(OperativeNoteFluidSection operativeNoteFluidSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteFluidSectionOperativeNoteFluidSectionCodeP", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_FLUID_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -291,6 +298,8 @@ public static boolean validateOperativeNoteFluidSectionCodeP(OperativeNoteFluidS public static boolean validateOperativeNoteFluidSectionText(OperativeNoteFluidSection operativeNoteFluidSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteFluidSectionOperativeNoteFluidSectionText", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_FLUID_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -355,6 +364,8 @@ public static boolean validateOperativeNoteFluidSectionText(OperativeNoteFluidSe public static boolean validateOperativeNoteFluidSectionTitle(OperativeNoteFluidSection operativeNoteFluidSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteFluidSectionOperativeNoteFluidSectionTitle", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_FLUID_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteOperations.java index 9f3d6c7bd2..8273a3a3a9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -161,6 +162,8 @@ protected OperativeNoteOperations() { public static boolean validateGeneralHeaderConstraintsCodeP(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteGeneralHeaderConstraintsCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +240,8 @@ public static boolean validateGeneralHeaderConstraintsCodeP(OperativeNote operat public static boolean validateOperativeNoteDocumentationOf(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteDocumentationOf", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +305,8 @@ public static boolean validateOperativeNoteDocumentationOf(OperativeNote operati public static boolean validateOperativeNoteAnesthesiaSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteAnesthesiaSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_ANESTHESIA_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +370,8 @@ public static boolean validateOperativeNoteAnesthesiaSection(OperativeNote opera public static boolean validateOperativeNoteComplicationsSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteComplicationsSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_COMPLICATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -427,6 +436,8 @@ public static boolean validateOperativeNoteComplicationsSection(OperativeNote op public static boolean validateOperativeNotePostoperativeDiagnosisSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNotePostoperativeDiagnosisSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_POSTOPERATIVE_DIAGNOSIS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -492,6 +503,8 @@ public static boolean validateOperativeNotePostoperativeDiagnosisSection(Operati public static boolean validateOperativeNotePreoperativeDiagnosisSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNotePreoperativeDiagnosisSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_PREOPERATIVE_DIAGNOSIS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -557,6 +570,8 @@ public static boolean validateOperativeNotePreoperativeDiagnosisSection(Operativ public static boolean validateOperativeNoteProcedureEstimatedBloodLossSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureEstimatedBloodLossSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -622,6 +637,8 @@ public static boolean validateOperativeNoteProcedureEstimatedBloodLossSection(Op public static boolean validateOperativeNoteProcedureFindingsSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureFindingsSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_FINDINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -687,6 +704,8 @@ public static boolean validateOperativeNoteProcedureFindingsSection(OperativeNot public static boolean validateOperativeNoteProcedureSpecimensTakenSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureSpecimensTakenSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_SPECIMENS_TAKEN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -752,6 +771,8 @@ public static boolean validateOperativeNoteProcedureSpecimensTakenSection(Operat public static boolean validateOperativeNoteProcedureDescriptionSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureDescriptionSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_DESCRIPTION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -817,6 +838,8 @@ public static boolean validateOperativeNoteProcedureDescriptionSection(Operative public static boolean validateOperativeNoteProcedureImplantsSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureImplantsSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_IMPLANTS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -882,6 +905,8 @@ public static boolean validateOperativeNoteProcedureImplantsSection(OperativeNot public static boolean validateOperativeNoteOperativeNoteFluidSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteOperativeNoteFluidSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_OPERATIVE_NOTE_FLUID_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -947,6 +972,8 @@ public static boolean validateOperativeNoteOperativeNoteFluidSection(OperativeNo public static boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteOperativeNoteSurgicalProcedureSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1013,6 +1040,8 @@ public static boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection public static boolean validateOperativeNotePlanOfCareSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNotePlanOfCareSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1077,6 +1106,8 @@ public static boolean validateOperativeNotePlanOfCareSection(OperativeNote opera public static boolean validateOperativeNotePlannedProcedureSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNotePlannedProcedureSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_PLANNED_PROCEDURE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1142,6 +1173,8 @@ public static boolean validateOperativeNotePlannedProcedureSection(OperativeNote public static boolean validateOperativeNoteProcedureDispositionSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureDispositionSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_DISPOSITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1207,6 +1240,8 @@ public static boolean validateOperativeNoteProcedureDispositionSection(Operative public static boolean validateOperativeNoteProcedureIndicationsSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureIndicationsSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_INDICATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1272,6 +1307,8 @@ public static boolean validateOperativeNoteProcedureIndicationsSection(Operative public static boolean validateOperativeNoteSurgicalDrainsSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteSurgicalDrainsSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_SURGICAL_DRAINS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1339,6 +1376,10 @@ public static boolean validateOperativeNoteSurgicalDrainsSection(OperativeNote o public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntityCode( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntityCode", + "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRIMARY_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1410,6 +1451,10 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPer public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntityCodeP( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntityCodeP", + "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRIMARY_PERFORMER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1481,6 +1526,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPer public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerTypeCode( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPrimaryPerformerTypeCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRIMARY_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1552,6 +1600,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPer public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntity( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntity", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRIMARY_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1623,6 +1674,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPer public static boolean validateOperativeNoteDocumentationOfServiceEventProcedureCodes(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventProcedureCodes", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PROCEDURE_CODES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1694,6 +1748,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventProcedureC public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeHasLow( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventEffectiveTimeHasLow", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_HAS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1765,6 +1822,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveT public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_HAS_HIGH_WHEN_NO_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1836,6 +1896,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveT public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeNoHighIfWidth( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventEffectiveTimeNoHighIfWidth", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_NO_HIGH_IF_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1907,6 +1970,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveT public static boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheDay(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPreciseToTheDay", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1978,6 +2044,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPreciseToT public static boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheMinute( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPreciseToTheMinute", "WARNING"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2049,6 +2118,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPreciseToT public static boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheSecond( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPreciseToTheSecond", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2120,6 +2192,10 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPreciseToT public static boolean validateOperativeNoteDocumentationOfServiceEventIfMorePreciseThanDayIncludeTimeZoneOffset( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventIfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2191,6 +2267,8 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventIfMorePrec public static boolean validateOperativeNoteDocumentationOfServiceEventCode(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteDocumentationOfServiceEventCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2262,6 +2340,8 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventCode(Opera public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTime(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteDocumentationOfServiceEventEffectiveTime", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2333,6 +2413,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveT public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPrimaryPerformer", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRIMARY_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2404,6 +2487,8 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPer public static boolean validateOperativeNoteDocumentationOfServiceEvent(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteDocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3205,6 +3290,8 @@ public static SurgicalDrainsSection getSurgicalDrainsSection(OperativeNote opera public static boolean validateGeneralHeaderConstraintsTemplateId(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3280,6 +3367,8 @@ public static boolean validateGeneralHeaderConstraintsCode(OperativeNote operati return true; } + DatatypesUtil.increment(context, "OperativeNoteGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteSurgicalProcedureSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteSurgicalProcedureSectionOperations.java index 7751df4dc0..7d03330248 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteSurgicalProcedureSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteSurgicalProcedureSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateOperativeNoteSurgicalProcedureSectionTemplateId( OperativeNoteSurgicalProcedureSection operativeNoteSurgicalProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteSurgicalProcedureSectionOperativeNoteSurgicalProcedureSectionTemplateId", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateOperativeNoteSurgicalProcedureSectionCode( OperativeNoteSurgicalProcedureSection operativeNoteSurgicalProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteSurgicalProcedureSectionOperativeNoteSurgicalProcedureSectionCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateOperativeNoteSurgicalProcedureSectionCodeP( OperativeNoteSurgicalProcedureSection operativeNoteSurgicalProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteSurgicalProcedureSectionOperativeNoteSurgicalProcedureSectionCodeP", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,9 @@ public static boolean validateOperativeNoteSurgicalProcedureSectionText( OperativeNoteSurgicalProcedureSection operativeNoteSurgicalProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteSurgicalProcedureSectionOperativeNoteSurgicalProcedureSectionText", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +378,9 @@ public static boolean validateOperativeNoteSurgicalProcedureSectionTitle( OperativeNoteSurgicalProcedureSection operativeNoteSurgicalProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteSurgicalProcedureSectionOperativeNoteSurgicalProcedureSectionTitle", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OutcomeObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OutcomeObservationOperations.java index 7b891ca772..7f0f4f3b75 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OutcomeObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OutcomeObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -113,6 +114,9 @@ protected OutcomeObservationOperations() { public static boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue( OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OutcomeObservationOutcomeObservationProgTowardGoalObsInversionIndIsTrue", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_PROG_TOWARD_GOAL_OBS_INVERSION_IND_IS_TRUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -179,6 +183,8 @@ public static boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsT public static boolean validateOutcomeObservationTemplateId(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationTemplateId", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -242,6 +248,8 @@ public static boolean validateOutcomeObservationTemplateId(OutcomeObservation ou public static boolean validateOutcomeObservationClassCode(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationClassCode", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +313,8 @@ public static boolean validateOutcomeObservationClassCode(OutcomeObservation out public static boolean validateOutcomeObservationMoodCode(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationMoodCode", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +378,8 @@ public static boolean validateOutcomeObservationMoodCode(OutcomeObservation outc public static boolean validateOutcomeObservationId(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationId", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -431,6 +443,8 @@ public static boolean validateOutcomeObservationId(OutcomeObservation outcomeObs public static boolean validateOutcomeObservationCodeP(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationCodeP", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -517,6 +531,8 @@ public static boolean validateOutcomeObservationCode(OutcomeObservation outcomeO return true; } + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationCode", "WARNING"); + if (VALIDATE_OUTCOME_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -580,6 +596,8 @@ public static boolean validateOutcomeObservationCode(OutcomeObservation outcomeO public static boolean validateOutcomeObservationValue(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationValue", "WARNING"); + if (VALIDATE_OUTCOME_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -643,6 +661,8 @@ public static boolean validateOutcomeObservationValue(OutcomeObservation outcome public static boolean validateOutcomeObservationEntryReferenceGoalObs(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationEntryReferenceGoalObs", "WARNING"); + if (VALIDATE_OUTCOME_OBSERVATION_ENTRY_REFERENCE_GOAL_OBS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -708,6 +728,8 @@ public static boolean validateOutcomeObservationEntryReferenceGoalObs(OutcomeObs public static boolean validateOutcomeObservationEntryReferenceInterventionAct(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationEntryReferenceInterventionAct", "INFO"); + if (VALIDATE_OUTCOME_OBSERVATION_ENTRY_REFERENCE_INTERVENTION_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -774,6 +796,8 @@ public static boolean validateOutcomeObservationEntryReferenceInterventionAct(Ou public static boolean validateOutcomeObservationAuthorParticipation(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationAuthorParticipation", "WARNING"); + if (VALIDATE_OUTCOME_OBSERVATION_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -839,6 +863,9 @@ public static boolean validateOutcomeObservationAuthorParticipation(OutcomeObser public static boolean validateOutcomeObservationProgressTowardGoalObservation(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OutcomeObservationOutcomeObservationProgressTowardGoalObservation", "WARNING"); + if (VALIDATE_OUTCOME_OBSERVATION_PROGRESS_TOWARD_GOAL_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -905,6 +932,8 @@ public static boolean validateOutcomeObservationProgressTowardGoalObservation(Ou public static boolean validateOutcomeObservationReference(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationReference", "INFO"); + if (VALIDATE_OUTCOME_OBSERVATION_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -968,6 +997,8 @@ public static boolean validateOutcomeObservationReference(OutcomeObservation out public static boolean validateOutcomeObservationEntryRelationship(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationEntryRelationship", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1033,6 +1064,8 @@ public static boolean validateOutcomeObservationEntryRelationship(OutcomeObserva public static boolean validateOutcomeObservationReferenceTypeCode(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationReferenceTypeCode", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1103,6 +1136,9 @@ public static boolean validateOutcomeObservationReferenceTypeCode(OutcomeObserva public static boolean validateOutcomeObservationReferenceExternalDocumentReference( OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OutcomeObservationOutcomeObservationReferenceExternalDocumentReference", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PatientReferralActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PatientReferralActOperations.java index 62693f9316..67f886a21b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PatientReferralActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PatientReferralActOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -126,6 +127,8 @@ protected PatientReferralActOperations() { public static boolean validatePatientReferralActTemplateId(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActTemplateId", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -190,6 +193,8 @@ public static boolean validatePatientReferralActTemplateId(PatientReferralAct pa public static boolean validatePatientReferralActClassCode(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActClassCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -253,6 +258,8 @@ public static boolean validatePatientReferralActClassCode(PatientReferralAct pat public static boolean validatePatientReferralActMoodCodeP(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActMoodCodeP", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_MOOD_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -340,6 +347,8 @@ public static boolean validatePatientReferralActMoodCode(PatientReferralAct pati return true; } + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActMoodCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -403,6 +412,8 @@ public static boolean validatePatientReferralActMoodCode(PatientReferralAct pati public static boolean validatePatientReferralActId(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActId", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -466,6 +477,8 @@ public static boolean validatePatientReferralActId(PatientReferralAct patientRef public static boolean validatePatientReferralActCodeP(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActCodeP", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -552,6 +565,8 @@ public static boolean validatePatientReferralActCode(PatientReferralAct patientR return true; } + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -616,6 +631,8 @@ public static boolean validatePatientReferralActCode(PatientReferralAct patientR public static boolean validatePatientReferralActStatusCode(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActStatusCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -680,6 +697,8 @@ public static boolean validatePatientReferralActStatusCode(PatientReferralAct pa public static boolean validatePatientReferralActStatusCodeP(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActStatusCodeP", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -745,6 +764,8 @@ public static boolean validatePatientReferralActStatusCodeP(PatientReferralAct p public static boolean validatePatientReferralActEffectiveTime(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActEffectiveTime", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -810,6 +831,8 @@ public static boolean validatePatientReferralActEffectiveTime(PatientReferralAct public static boolean validatePatientReferralActPriorityCode(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActPriorityCode", "WARNING"); + if (VALIDATE_PATIENT_REFERRAL_ACT_PRIORITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -875,6 +898,8 @@ public static boolean validatePatientReferralActPriorityCode(PatientReferralAct public static boolean validatePatientReferralActEntryRelationship(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActEntryRelationship", "INFO"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -940,6 +965,8 @@ public static boolean validatePatientReferralActEntryRelationship(PatientReferra public static boolean validatePatientReferralActAuthorParticipation(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActAuthorParticipation", "WARNING"); + if (VALIDATE_PATIENT_REFERRAL_ACT_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1005,6 +1032,8 @@ public static boolean validatePatientReferralActAuthorParticipation(PatientRefer public static boolean validatePatientReferralActIndication2(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActIndication2", "INFO"); + if (VALIDATE_PATIENT_REFERRAL_ACT_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1069,6 +1098,8 @@ public static boolean validatePatientReferralActIndication2(PatientReferralAct p public static boolean validatePatientReferralActParticipant(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActParticipant", "INFO"); + if (VALIDATE_PATIENT_REFERRAL_ACT_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1133,6 +1164,9 @@ public static boolean validatePatientReferralActParticipant(PatientReferralAct p public static boolean validatePatientReferralActEntryRelationshipObservationClassCode( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationClassCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1204,6 +1238,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationClas public static boolean validatePatientReferralActEntryRelationshipObservationMoodCode( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationMoodCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1275,6 +1312,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationMood public static boolean validatePatientReferralActEntryRelationshipObservationCodeP( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationCodeP", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1362,6 +1402,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationCode public static boolean validatePatientReferralActEntryRelationshipObservationCode( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1444,6 +1487,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationCode public static boolean validatePatientReferralActEntryRelationshipObservationStatusCode( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationStatusCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1515,6 +1561,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationStat public static boolean validatePatientReferralActEntryRelationshipObservationStatusCodeP( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationStatusCodeP", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1586,6 +1635,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationStat public static boolean validatePatientReferralActEntryRelationshipObservationPriorityCodeP( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationPriorityCodeP", "WARNING"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_PRIORITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1673,6 +1725,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationPrio public static boolean validatePatientReferralActEntryRelationshipObservationPriorityCode( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationPriorityCode", "WARNING"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_PRIORITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1756,6 +1811,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationPrio public static boolean validatePatientReferralActEntryRelationshipObservationValue( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationValue", "WARNING"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1827,6 +1885,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationValu public static boolean validatePatientReferralActEntryRelationshipObservationValueP( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationValueP", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1898,6 +1959,8 @@ public static boolean validatePatientReferralActEntryRelationshipObservationValu public static boolean validatePatientReferralActEntryRelationshipTypeCode(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1969,6 +2032,8 @@ public static boolean validatePatientReferralActEntryRelationshipTypeCode(Patien public static boolean validatePatientReferralActEntryRelationshipObservation(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActEntryRelationshipObservation", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2040,6 +2105,8 @@ public static boolean validatePatientReferralActEntryRelationshipObservation(Pat public static boolean validatePatientReferralActParticipantParticipantRoleCodeP( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActParticipantParticipantRoleCodeP", "INFO"); + if (VALIDATE_PATIENT_REFERRAL_ACT_PARTICIPANT_PARTICIPANT_ROLE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2127,6 +2194,9 @@ public static boolean validatePatientReferralActParticipantParticipantRoleCodeP( public static boolean validatePatientReferralActParticipantParticipantRoleCode( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActParticipantParticipantRoleCode", "WARNING"); + if (VALIDATE_PATIENT_REFERRAL_ACT_PARTICIPANT_PARTICIPANT_ROLE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2208,6 +2278,8 @@ public static boolean validatePatientReferralActParticipantParticipantRoleCode( public static boolean validatePatientReferralActParticipantTypeCode(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActParticipantTypeCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2278,6 +2350,8 @@ public static boolean validatePatientReferralActParticipantTypeCode(PatientRefer public static boolean validatePatientReferralActParticipantParticipantRole(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActParticipantParticipantRole", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSection2Operations.java index 75a26dca4a..ec6d2af179 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected PayersSection2Operations() { public static boolean validatePayersSection2TemplateId(PayersSection2 payersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSection2PayersSection2TemplateId", "ERROR"); + if (VALIDATE_PAYERS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -205,6 +208,8 @@ public static EList getConsolCoverageActivity2s(PayersSection public static boolean validatePayersSectionCodeP(PayersSection2 payersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSection2PayersSectionCodeP", "ERROR"); + if (VALIDATE_PAYERS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -291,6 +296,8 @@ public static boolean validatePayersSectionCode(PayersSection2 payersSection2, D return true; } + DatatypesUtil.increment(context, "PayersSection2PayersSectionCode", "ERROR"); + if (VALIDATE_PAYERS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +361,8 @@ public static boolean validatePayersSectionCode(PayersSection2 payersSection2, D public static boolean validatePayersSectionCoverageActivity(PayersSection2 payersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSection2PayersSectionCoverageActivity", "WARNING"); + if (VALIDATE_PAYERS_SECTION_COVERAGE_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSectionOperations.java index 4e242d6886..f63a8721b5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected PayersSectionOperations() { public static boolean validatePayersSectionTemplateId(PayersSection payersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSectionPayersSectionTemplateId", "ERROR"); + if (VALIDATE_PAYERS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -167,6 +170,8 @@ public static boolean validatePayersSectionTemplateId(PayersSection payersSectio public static boolean validatePayersSectionCode(PayersSection payersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSectionPayersSectionCode", "ERROR"); + if (VALIDATE_PAYERS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validatePayersSectionCode(PayersSection payersSection, Dia public static boolean validatePayersSectionCodeP(PayersSection payersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSectionPayersSectionCodeP", "ERROR"); + if (VALIDATE_PAYERS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +300,8 @@ public static boolean validatePayersSectionCodeP(PayersSection payersSection, Di public static boolean validatePayersSectionTitle(PayersSection payersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSectionPayersSectionTitle", "ERROR"); + if (VALIDATE_PAYERS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -356,6 +365,8 @@ public static boolean validatePayersSectionTitle(PayersSection payersSection, Di public static boolean validatePayersSectionText(PayersSection payersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSectionPayersSectionText", "ERROR"); + if (VALIDATE_PAYERS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -419,6 +430,8 @@ public static boolean validatePayersSectionText(PayersSection payersSection, Dia public static boolean validatePayersSectionCoverageActivity(PayersSection payersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSectionPayersSectionCoverageActivity", "WARNING"); + if (VALIDATE_PAYERS_SECTION_COVERAGE_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSection2Operations.java index 176f05f49a..96dddbab59 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSection2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -112,6 +113,8 @@ protected PhysicalExamSection2Operations() { public static boolean validatePhysicalExamSection2TemplateId(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2TemplateId", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -177,6 +180,8 @@ public static boolean validatePhysicalExamSection2TemplateId(PhysicalExamSection public static boolean validatePhysicalExamSection2WoundObservation(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2WoundObservation", "INFO"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_WOUND_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -242,6 +247,8 @@ public static boolean validatePhysicalExamSection2WoundObservation(PhysicalExamS public static boolean validatePhysicalExamSection2Component(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2Component", "INFO"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_COMPONENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -308,6 +315,8 @@ public static boolean validatePhysicalExamSection2Component(PhysicalExamSection2 public static boolean validatePhysicalExamSection2ComponentSectionCode(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2ComponentSectionCode", "WARNING"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_COMPONENT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -379,6 +388,8 @@ public static boolean validatePhysicalExamSection2ComponentSectionCode(PhysicalE public static boolean validatePhysicalExamSection2ComponentSectionCodeP(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2ComponentSectionCodeP", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_COMPONENT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -450,6 +461,8 @@ public static boolean validatePhysicalExamSection2ComponentSectionCodeP(Physical public static boolean validatePhysicalExamSection2ComponentSectionTitle(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2ComponentSectionTitle", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_COMPONENT_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -521,6 +534,8 @@ public static boolean validatePhysicalExamSection2ComponentSectionTitle(Physical public static boolean validatePhysicalExamSection2ComponentSectionText(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2ComponentSectionText", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_COMPONENT_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -592,6 +607,8 @@ public static boolean validatePhysicalExamSection2ComponentSectionText(PhysicalE public static boolean validatePhysicalExamSection2ComponentSection(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2ComponentSection", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_COMPONENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -861,6 +878,8 @@ public static EList getConsolNumberOfPressure public static boolean validatePhysicalExamSectionCodeP(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSectionCodeP", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -947,6 +966,8 @@ public static boolean validatePhysicalExamSectionCode(PhysicalExamSection2 physi return true; } + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSectionCode", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1010,6 +1031,8 @@ public static boolean validatePhysicalExamSectionCode(PhysicalExamSection2 physi public static boolean validatePhysicalExamSectionPressureUlcerObservation(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSectionPressureUlcerObservation", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_PRESSURE_ULCER_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1076,6 +1099,8 @@ public static boolean validatePhysicalExamSectionPressureUlcerObservation(Physic public static boolean validatePhysicalExamSectionHighestPressureUlcerStage( PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSectionHighestPressureUlcerStage", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_HIGHEST_PRESSURE_ULCER_STAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1142,6 +1167,9 @@ public static boolean validatePhysicalExamSectionHighestPressureUlcerStage( public static boolean validatePhysicalExamSectionNumberOfPressureUlcersObservation( PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicalExamSection2PhysicalExamSectionNumberOfPressureUlcersObservation", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSectionOperations.java index 1351ddeae7..3a491d53e5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -108,6 +109,8 @@ protected PhysicalExamSectionOperations() { public static boolean validatePhysicalExamSectionTemplateId(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionTemplateId", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -174,6 +177,8 @@ public static boolean validatePhysicalExamSectionTemplateId(PhysicalExamSection public static boolean validatePhysicalExamSectionCode(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionCode", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,8 @@ public static boolean validatePhysicalExamSectionCode(PhysicalExamSection physic public static boolean validatePhysicalExamSectionCodeP(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionCodeP", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +307,8 @@ public static boolean validatePhysicalExamSectionCodeP(PhysicalExamSection physi public static boolean validatePhysicalExamSectionTitle(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionTitle", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +372,8 @@ public static boolean validatePhysicalExamSectionTitle(PhysicalExamSection physi public static boolean validatePhysicalExamSectionText(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionText", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -426,6 +437,8 @@ public static boolean validatePhysicalExamSectionText(PhysicalExamSection physic public static boolean validatePhysicalExamSectionPressureUlcerObservation(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionPressureUlcerObservation", "INFO"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_PRESSURE_ULCER_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -492,6 +505,9 @@ public static boolean validatePhysicalExamSectionPressureUlcerObservation(Physic public static boolean validatePhysicalExamSectionNumberOfPressureUlcersObservation( PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicalExamSectionPhysicalExamSectionNumberOfPressureUlcersObservation", "INFO"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -558,6 +574,8 @@ public static boolean validatePhysicalExamSectionNumberOfPressureUlcersObservati public static boolean validatePhysicalExamSectionHighestPressureUlcerStage(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionHighestPressureUlcerStage", "INFO"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_HIGHEST_PRESSURE_ULCER_STAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalFindingsOfSkinSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalFindingsOfSkinSectionOperations.java index 19362b606f..6bb2e46a77 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalFindingsOfSkinSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalFindingsOfSkinSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -99,6 +100,9 @@ public static boolean validatePhysicalFindingsOfSkinSectionTemplateId( PhysicalFindingsOfSkinSection physicalFindingsOfSkinSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicalFindingsOfSkinSectionPhysicalFindingsOfSkinSectionTemplateId", "ERROR"); + if (VALIDATE_PHYSICAL_FINDINGS_OF_SKIN_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +172,8 @@ public static boolean validatePhysicalFindingsOfSkinSectionCode( PhysicalFindingsOfSkinSection physicalFindingsOfSkinSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalFindingsOfSkinSectionPhysicalFindingsOfSkinSectionCode", "ERROR"); + if (VALIDATE_PHYSICAL_FINDINGS_OF_SKIN_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +241,8 @@ public static boolean validatePhysicalFindingsOfSkinSectionCodeP( PhysicalFindingsOfSkinSection physicalFindingsOfSkinSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalFindingsOfSkinSectionPhysicalFindingsOfSkinSectionCodeP", "ERROR"); + if (VALIDATE_PHYSICAL_FINDINGS_OF_SKIN_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +310,8 @@ public static boolean validatePhysicalFindingsOfSkinSectionTitle( PhysicalFindingsOfSkinSection physicalFindingsOfSkinSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalFindingsOfSkinSectionPhysicalFindingsOfSkinSectionTitle", "ERROR"); + if (VALIDATE_PHYSICAL_FINDINGS_OF_SKIN_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -369,6 +379,8 @@ public static boolean validatePhysicalFindingsOfSkinSectionText( PhysicalFindingsOfSkinSection physicalFindingsOfSkinSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalFindingsOfSkinSectionPhysicalFindingsOfSkinSectionText", "ERROR"); + if (VALIDATE_PHYSICAL_FINDINGS_OF_SKIN_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +448,9 @@ public static boolean validatePhysicalFindingsOfSkinSectionWoundObservation( PhysicalFindingsOfSkinSection physicalFindingsOfSkinSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicalFindingsOfSkinSectionPhysicalFindingsOfSkinSectionWoundObservation", "INFO"); + if (VALIDATE_PHYSICAL_FINDINGS_OF_SKIN_SECTION_WOUND_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformer2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformer2Operations.java index 4f44d33c67..d7cb9e8e81 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformer2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformer2Operations.java @@ -7,6 +7,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -82,6 +83,9 @@ public static boolean validatePhysicianReadingStudyPerformer2TemplateId( PhysicianReadingStudyPerformer2 physicianReadingStudyPerformer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformer2PhysicianReadingStudyPerformer2TemplateId", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformerOperations.java index 9ffca97bd4..4ad1d52f3b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformerOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.mdht.uml.hl7.rim.operations.ParticipationOperations; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; @@ -108,6 +109,9 @@ public static boolean validatePhysicianReadingStudyPerformerTemplateId( PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerTemplateId", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -175,6 +179,8 @@ public static boolean validatePhysicianReadingStudyPerformerTime( PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerTime", "INFO"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -242,6 +248,9 @@ public static boolean validatePhysicianReadingStudyPerformerTypeCode( PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerTypeCode", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -309,6 +318,9 @@ public static boolean validatePhysicianReadingStudyPerformerAssignedEntity( PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerAssignedEntity", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +388,11 @@ public static boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstra PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS", + "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_DAY_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -448,6 +465,11 @@ public static boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstra PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS", + "WARNING"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_MINUTE_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +542,11 @@ public static boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstra PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS", + "INFO"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_SECOND_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -592,6 +619,11 @@ public static boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstra PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS", + "WARNING"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -643,6 +675,10 @@ public static boolean validatePhysicianReadingStudyPerformerAssignedEntityHasNat PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerAssignedEntityHasNationalProviderId", + "WARNING"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -715,6 +751,9 @@ public static boolean validatePhysicianReadingStudyPerformerAssignedEntityHasDIC PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerAssignedEntityHasDICOM", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_ASSIGNED_ENTITY_HAS_DICOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -808,6 +847,11 @@ public static boolean validatePhysicianReadingStudyPerformerAssignedEntityHasAss PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerAssignedEntityHasAssignedPersonOrRepresentedOrganization", + "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_ASSIGNED_ENTITY_HAS_ASSIGNED_PERSON_OR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -859,6 +903,9 @@ public static boolean validatePhysicianReadingStudyPerformerAssignedEntityCode( PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerAssignedEntityCode", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -952,6 +999,9 @@ public static boolean validatePhysicianReadingStudyPerformerAssignedEntityId( PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerAssignedEntityId", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipant2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipant2Operations.java index 08d6bf8e75..85ec9dda52 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipant2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipant2Operations.java @@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -97,6 +98,9 @@ public static boolean validatePhysicianofRecordParticipant2TemplateId( PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipant2PhysicianofRecordParticipant2TemplateId", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,11 @@ public static boolean validatePhysicianofRecordParticipant2AssignedEntityReprese PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PhysicianofRecordParticipant2PhysicianofRecordParticipant2AssignedEntityRepresentedOrganizationName", + "WARNING"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT2_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +245,10 @@ public static boolean validatePhysicianofRecordParticipant2AssignedEntityReprese PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipant2PhysicianofRecordParticipant2AssignedEntityRepresentedOrganization", + "INFO"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT2_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -308,6 +321,9 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntity( PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipant2PhysicianofRecordParticipantAssignedEntity", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -375,6 +391,10 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityAssigned PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipant2PhysicianofRecordParticipantAssignedEntityAssignedPersonName", + "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_ASSIGNED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -447,6 +467,10 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityHasNatio PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipant2PhysicianofRecordParticipantAssignedEntityHasNationalProviderId", + "WARNING"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -519,6 +543,10 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityAssigned PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipant2PhysicianofRecordParticipantAssignedEntityAssignedPerson", + "WARNING"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipantOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipantOperations.java index 7497716fe4..9b81e95e8d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipantOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipantOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.mdht.uml.hl7.rim.operations.ParticipationOperations; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; @@ -104,6 +105,8 @@ public static boolean validatePhysicianofRecordParticipantTemplateId( PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicianofRecordParticipantPhysicianofRecordParticipantTemplateId", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -171,6 +174,8 @@ public static boolean validatePhysicianofRecordParticipantTypeCode( PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicianofRecordParticipantPhysicianofRecordParticipantTypeCode", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +243,9 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntity( PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntity", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +313,10 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityAssigned PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntityAssignedPersonName", + "WARNING"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_ASSIGNED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -377,6 +389,10 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityHasDICOM PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntityHasDICOMOrNUCCCode", + "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_HAS_DICOM_OR_NUCC_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -449,6 +465,10 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityHasNatio PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntityHasNationalProviderId", + "WARNING"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -521,6 +541,9 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityCode( PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntityCode", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -593,6 +616,9 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityId( PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntityId", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -665,6 +691,9 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityAssigned PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntityAssignedPerson", "WARNING"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityActOperations.java index d378e7c14e..4a37fc4c88 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityActOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -93,6 +94,8 @@ protected PlanOfCareActivityActOperations() { public static boolean validatePlanOfCareActivityActTemplateId(PlanOfCareActivityAct planOfCareActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityActPlanOfCareActivityActTemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -158,6 +161,8 @@ public static boolean validatePlanOfCareActivityActTemplateId(PlanOfCareActivity public static boolean validatePlanOfCareActivityActClassCode(PlanOfCareActivityAct planOfCareActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityActPlanOfCareActivityActClassCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validatePlanOfCareActivityActClassCode(PlanOfCareActivityA public static boolean validatePlanOfCareActivityActMoodCode(PlanOfCareActivityAct planOfCareActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityActPlanOfCareActivityActMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validatePlanOfCareActivityActMoodCode(PlanOfCareActivityAc public static boolean validatePlanOfCareActivityActId(PlanOfCareActivityAct planOfCareActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityActPlanOfCareActivityActId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityEncounterOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityEncounterOperations.java index 90397353be..0b73ee45c2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityEncounterOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityEncounterOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ public static boolean validatePlanOfCareActivityEncounterTemplateId( PlanOfCareActivityEncounter planOfCareActivityEncounter, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityEncounterPlanOfCareActivityEncounterTemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ENCOUNTER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validatePlanOfCareActivityEncounterClassCode( PlanOfCareActivityEncounter planOfCareActivityEncounter, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityEncounterPlanOfCareActivityEncounterClassCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ENCOUNTER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validatePlanOfCareActivityEncounterMoodCode( PlanOfCareActivityEncounter planOfCareActivityEncounter, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityEncounterPlanOfCareActivityEncounterMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ENCOUNTER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validatePlanOfCareActivityEncounterMoodCode( public static boolean validatePlanOfCareActivityEncounterId(PlanOfCareActivityEncounter planOfCareActivityEncounter, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityEncounterPlanOfCareActivityEncounterId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityObservationOperations.java index 2a0f515c59..2093db193b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,9 @@ public static boolean validatePlanOfCareActivityObservationTemplateId( PlanOfCareActivityObservation planOfCareActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareActivityObservationPlanOfCareActivityObservationTemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +165,9 @@ public static boolean validatePlanOfCareActivityObservationClassCode( PlanOfCareActivityObservation planOfCareActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareActivityObservationPlanOfCareActivityObservationClassCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +237,8 @@ public static boolean validatePlanOfCareActivityObservationMoodCode( PlanOfCareActivityObservation planOfCareActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityObservationPlanOfCareActivityObservationMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +306,8 @@ public static boolean validatePlanOfCareActivityObservationId( PlanOfCareActivityObservation planOfCareActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityObservationPlanOfCareActivityObservationId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityProcedureOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityProcedureOperations.java index b26afc88cf..ac7c72ea94 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityProcedureOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityProcedureOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ public static boolean validatePlanOfCareActivityProcedureTemplateId( PlanOfCareActivityProcedure planOfCareActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityProcedurePlanOfCareActivityProcedureTemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_PROCEDURE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validatePlanOfCareActivityProcedureClassCode( PlanOfCareActivityProcedure planOfCareActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityProcedurePlanOfCareActivityProcedureClassCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_PROCEDURE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validatePlanOfCareActivityProcedureMoodCode( PlanOfCareActivityProcedure planOfCareActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityProcedurePlanOfCareActivityProcedureMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_PROCEDURE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validatePlanOfCareActivityProcedureMoodCode( public static boolean validatePlanOfCareActivityProcedureId(PlanOfCareActivityProcedure planOfCareActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityProcedurePlanOfCareActivityProcedureId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_PROCEDURE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySubstanceAdministrationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySubstanceAdministrationOperations.java index e39b7d8cc9..8e1ce1b184 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySubstanceAdministrationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySubstanceAdministrationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SubstanceAdministrationOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,10 @@ public static boolean validatePlanOfCareActivitySubstanceAdministrationTemplateI PlanOfCareActivitySubstanceAdministration planOfCareActivitySubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareActivitySubstanceAdministrationPlanOfCareActivitySubstanceAdministrationTemplateId", + "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +166,10 @@ public static boolean validatePlanOfCareActivitySubstanceAdministrationClassCode PlanOfCareActivitySubstanceAdministration planOfCareActivitySubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareActivitySubstanceAdministrationPlanOfCareActivitySubstanceAdministrationClassCode", + "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +239,10 @@ public static boolean validatePlanOfCareActivitySubstanceAdministrationMoodCode( PlanOfCareActivitySubstanceAdministration planOfCareActivitySubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareActivitySubstanceAdministrationPlanOfCareActivitySubstanceAdministrationMoodCode", + "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +310,9 @@ public static boolean validatePlanOfCareActivitySubstanceAdministrationId( PlanOfCareActivitySubstanceAdministration planOfCareActivitySubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareActivitySubstanceAdministrationPlanOfCareActivitySubstanceAdministrationId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySupplyOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySupplyOperations.java index 320779518f..2f74e08160 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySupplyOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySupplyOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SupplyOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -93,6 +94,8 @@ protected PlanOfCareActivitySupplyOperations() { public static boolean validatePlanOfCareActivitySupplyTemplateId(PlanOfCareActivitySupply planOfCareActivitySupply, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivitySupplyPlanOfCareActivitySupplyTemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUPPLY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -158,6 +161,8 @@ public static boolean validatePlanOfCareActivitySupplyTemplateId(PlanOfCareActiv public static boolean validatePlanOfCareActivitySupplyClassCode(PlanOfCareActivitySupply planOfCareActivitySupply, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivitySupplyPlanOfCareActivitySupplyClassCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUPPLY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validatePlanOfCareActivitySupplyClassCode(PlanOfCareActivi public static boolean validatePlanOfCareActivitySupplyMoodCode(PlanOfCareActivitySupply planOfCareActivitySupply, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivitySupplyPlanOfCareActivitySupplyMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUPPLY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validatePlanOfCareActivitySupplyMoodCode(PlanOfCareActivit public static boolean validatePlanOfCareActivitySupplyId(PlanOfCareActivitySupply planOfCareActivitySupply, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivitySupplyPlanOfCareActivitySupplyId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUPPLY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareSectionOperations.java index 383d3181aa..6a2ad2600d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -120,6 +121,8 @@ protected PlanOfCareSectionOperations() { public static boolean validatePlanOfCareSectionTemplateId(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionTemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -185,6 +188,8 @@ public static boolean validatePlanOfCareSectionTemplateId(PlanOfCareSection plan public static boolean validatePlanOfCareSectionCode(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -248,6 +253,8 @@ public static boolean validatePlanOfCareSectionCode(PlanOfCareSection planOfCare public static boolean validatePlanOfCareSectionCodeP(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionCodeP", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -311,6 +318,8 @@ public static boolean validatePlanOfCareSectionCodeP(PlanOfCareSection planOfCar public static boolean validatePlanOfCareSectionTitle(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionTitle", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -374,6 +383,8 @@ public static boolean validatePlanOfCareSectionTitle(PlanOfCareSection planOfCar public static boolean validatePlanOfCareSectionText(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionText", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validatePlanOfCareSectionText(PlanOfCareSection planOfCare public static boolean validatePlanOfCareSectionPlanOfCareActivityAct(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionPlanOfCareActivityAct", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +515,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityAct(PlanOfCareS public static boolean validatePlanOfCareSectionPlanOfCareActivityEncounter(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionPlanOfCareActivityEncounter", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -568,6 +583,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityEncounter(PlanO public static boolean validatePlanOfCareSectionPlanOfCareActivityObservation(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionPlanOfCareActivityObservation", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -634,6 +651,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityObservation(Pla public static boolean validatePlanOfCareSectionPlanOfCareActivityProcedure(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionPlanOfCareActivityProcedure", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -700,6 +719,9 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityProcedure(PlanO public static boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration( PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareSectionPlanOfCareSectionPlanOfCareActivitySubstanceAdministration", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -766,6 +788,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdmini public static boolean validatePlanOfCareSectionPlanOfCareActivitySupply(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionPlanOfCareActivitySupply", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_SUPPLY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -831,6 +855,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivitySupply(PlanOfCa public static boolean validatePlanOfCareSectionInstructions(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionInstructions", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfTreatmentSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfTreatmentSection2Operations.java index ca30245423..ccaadc1716 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfTreatmentSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfTreatmentSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -125,6 +126,8 @@ protected PlanOfTreatmentSection2Operations() { public static boolean validatePlanOfTreatmentSection2TemplateId(PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfTreatmentSection2TemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_TREATMENT_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -190,6 +193,8 @@ public static boolean validatePlanOfTreatmentSection2TemplateId(PlanOfTreatmentS public static boolean validatePlanOfTreatmentSection2HandoffCommunication( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfTreatmentSection2HandoffCommunication", "INFO"); + if (VALIDATE_PLAN_OF_TREATMENT_SECTION2_HANDOFF_COMMUNICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -256,6 +261,9 @@ public static boolean validatePlanOfTreatmentSection2HandoffCommunication( public static boolean validatePlanOfTreatmentSection2NutritionRecommendation( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfTreatmentSection2PlanOfTreatmentSection2NutritionRecommendation", "INFO"); + if (VALIDATE_PLAN_OF_TREATMENT_SECTION2_NUTRITION_RECOMMENDATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -322,6 +330,9 @@ public static boolean validatePlanOfTreatmentSection2NutritionRecommendation( public static boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfTreatmentSection2PlanOfTreatmentSection2PlannedImmunizationActivity", "INFO"); + if (VALIDATE_PLAN_OF_TREATMENT_SECTION2_PLANNED_IMMUNIZATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -388,6 +399,8 @@ public static boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity public static boolean validatePlanOfTreatmentSection2GoalObservation( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfTreatmentSection2GoalObservation", "INFO"); + if (VALIDATE_PLAN_OF_TREATMENT_SECTION2_GOAL_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -986,6 +999,8 @@ public static EList getGoalObservations(PlanOfTreatmentSection2 public static boolean validatePlanOfCareSectionCodeP(PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionCodeP", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1073,6 +1088,8 @@ public static boolean validatePlanOfCareSectionCode(PlanOfTreatmentSection2 plan return true; } + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1136,6 +1153,9 @@ public static boolean validatePlanOfCareSectionCode(PlanOfTreatmentSection2 plan public static boolean validatePlanOfCareSectionPlanOfCareActivityObservation( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfTreatmentSection2PlanOfCareSectionPlanOfCareActivityObservation", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1202,6 +1222,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityObservation( public static boolean validatePlanOfCareSectionPlanOfCareActivityEncounter( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionPlanOfCareActivityEncounter", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1268,6 +1290,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityEncounter( public static boolean validatePlanOfCareSectionPlanOfCareActivityAct( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionPlanOfCareActivityAct", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1334,6 +1358,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityAct( public static boolean validatePlanOfCareSectionPlanOfCareActivityProcedure( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionPlanOfCareActivityProcedure", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1400,6 +1426,9 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityProcedure( public static boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfTreatmentSection2PlanOfCareSectionPlanOfCareActivitySubstanceAdministration", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1466,6 +1495,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdmini public static boolean validatePlanOfCareSectionPlanOfCareActivitySupply( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionPlanOfCareActivitySupply", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_SUPPLY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1532,6 +1563,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivitySupply( public static boolean validatePlanOfCareSectionInstructions(PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionInstructions", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedAct2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedAct2Operations.java index 5bca05b879..a91918c7c6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedAct2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedAct2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -107,6 +108,8 @@ protected PlannedAct2Operations() { public static boolean validatePlannedAct2CodeFromLoincOrSnomed(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2CodeFromLoincOrSnomed", "WARNING"); + if (VALIDATE_PLANNED_ACT2_CODE_FROM_LOINC_OR_SNOMED__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -171,6 +174,8 @@ public static boolean validatePlannedAct2CodeFromLoincOrSnomed(PlannedAct2 plann public static boolean validatePlannedAct2TemplateId(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_ACT2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -234,6 +239,8 @@ public static boolean validatePlannedAct2TemplateId(PlannedAct2 plannedAct2, Dia public static boolean validatePlannedAct2Code(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2Code", "ERROR"); + if (VALIDATE_PLANNED_ACT2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validatePlannedAct2Code(PlannedAct2 plannedAct2, Diagnosti public static boolean validatePlannedAct2StatusCode(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2StatusCode", "ERROR"); + if (VALIDATE_PLANNED_ACT2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -360,6 +369,8 @@ public static boolean validatePlannedAct2StatusCode(PlannedAct2 plannedAct2, Dia public static boolean validatePlannedAct2StatusCodeP(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2StatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_ACT2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -423,6 +434,8 @@ public static boolean validatePlannedAct2StatusCodeP(PlannedAct2 plannedAct2, Di public static boolean validatePlannedAct2EffectiveTime(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2EffectiveTime", "WARNING"); + if (VALIDATE_PLANNED_ACT2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -486,6 +499,8 @@ public static boolean validatePlannedAct2EffectiveTime(PlannedAct2 plannedAct2, public static boolean validatePlannedAct2Indication2(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2Indication2", "INFO"); + if (VALIDATE_PLANNED_ACT2_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -549,6 +564,8 @@ public static boolean validatePlannedAct2Indication2(PlannedAct2 plannedAct2, Di public static boolean validatePlannedAct2Instruction2(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2Instruction2", "INFO"); + if (VALIDATE_PLANNED_ACT2_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -612,6 +629,8 @@ public static boolean validatePlannedAct2Instruction2(PlannedAct2 plannedAct2, D public static boolean validatePlannedAct2AuthorParticipation(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2AuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_ACT2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -675,6 +694,8 @@ public static boolean validatePlannedAct2AuthorParticipation(PlannedAct2 planned public static boolean validatePlannedAct2Performer(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2Performer", "INFO"); + if (VALIDATE_PLANNED_ACT2_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +759,8 @@ public static boolean validatePlannedAct2Performer(PlannedAct2 plannedAct2, Diag public static boolean validatePlannedAct2PriorityPreference(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2PriorityPreference", "INFO"); + if (VALIDATE_PLANNED_ACT2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -941,6 +964,8 @@ public static EList getPriorityPreferences(PlannedAct2 plann public static boolean validatePlanOfCareActivityActMoodCode(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlanOfCareActivityActMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedCoverageOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedCoverageOperations.java index 53272c87d2..ab26087163 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedCoverageOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedCoverageOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -110,6 +111,8 @@ protected PlannedCoverageOperations() { public static boolean validatePlannedCoverageTemplateId(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageTemplateId", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +176,8 @@ public static boolean validatePlannedCoverageTemplateId(PlannedCoverage plannedC public static boolean validatePlannedCoverageClassCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageClassCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +241,8 @@ public static boolean validatePlannedCoverageClassCode(PlannedCoverage plannedCo public static boolean validatePlannedCoverageMoodCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageMoodCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -299,6 +306,8 @@ public static boolean validatePlannedCoverageMoodCode(PlannedCoverage plannedCov public static boolean validatePlannedCoverageId(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageId", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,8 @@ public static boolean validatePlannedCoverageId(PlannedCoverage plannedCoverage, public static boolean validatePlannedCoverageCodeP(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageCodeP", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -448,6 +459,8 @@ public static boolean validatePlannedCoverageCode(PlannedCoverage plannedCoverag return true; } + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +525,8 @@ public static boolean validatePlannedCoverageCode(PlannedCoverage plannedCoverag public static boolean validatePlannedCoverageStatusCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageStatusCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -575,6 +590,8 @@ public static boolean validatePlannedCoverageStatusCode(PlannedCoverage plannedC public static boolean validatePlannedCoverageStatusCodeP(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageStatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -638,6 +655,8 @@ public static boolean validatePlannedCoverageStatusCodeP(PlannedCoverage planned public static boolean validatePlannedCoverageEntryRelationship(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationship", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -703,6 +722,8 @@ public static boolean validatePlannedCoverageEntryRelationship(PlannedCoverage p public static boolean validatePlannedCoverageAuthorParticipation(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageAuthorParticipation", "INFO"); + if (VALIDATE_PLANNED_COVERAGE_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -768,6 +789,8 @@ public static boolean validatePlannedCoverageAuthorParticipation(PlannedCoverage public static boolean validatePlannedCoverageEntryRelationshipActClassCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActClassCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -839,6 +862,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActClassCode(Plann public static boolean validatePlannedCoverageEntryRelationshipActMoodCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActMoodCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -910,6 +935,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActMoodCode(Planne public static boolean validatePlannedCoverageEntryRelationshipActId(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActId", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -980,6 +1007,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActId(PlannedCover public static boolean validatePlannedCoverageEntryRelationshipActCodeP(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActCodeP", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1066,6 +1095,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActCodeP(PlannedCo public static boolean validatePlannedCoverageEntryRelationshipActCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1146,6 +1177,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActCode(PlannedCov public static boolean validatePlannedCoverageEntryRelationshipActStatusCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActStatusCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1217,6 +1250,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActStatusCode(Plan public static boolean validatePlannedCoverageEntryRelationshipActStatusCodeP(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActStatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1288,6 +1323,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActStatusCodeP(Pla public static boolean validatePlannedCoverageEntryRelationshipTypeCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1358,6 +1395,8 @@ public static boolean validatePlannedCoverageEntryRelationshipTypeCode(PlannedCo public static boolean validatePlannedCoverageEntryRelationshipAct(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipAct", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedEncounter2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedEncounter2Operations.java index eed633741b..58e553f170 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedEncounter2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedEncounter2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -111,6 +112,9 @@ protected PlannedEncounter2Operations() { public static boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode( PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedEncounter2PlannedEncounter2ParticipantServiceDeliveryLocationTypeCode", "ERROR"); + if (VALIDATE_PLANNED_ENCOUNTER2_PARTICIPANT_SERVICE_DELIVERY_LOCATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -177,6 +181,8 @@ public static boolean validatePlannedEncounter2ParticipantServiceDeliveryLocatio public static boolean validatePlannedEncounter2TemplateId(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_ENCOUNTER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +233,8 @@ public static boolean validatePlannedEncounter2Code(PlannedEncounter2 plannedEnc return true; } + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2Code", "WARNING"); + if (VALIDATE_PLANNED_ENCOUNTER2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +321,8 @@ public static boolean validatePlannedEncounter2Code(PlannedEncounter2 plannedEnc public static boolean validatePlannedEncounter2CodeP(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2CodeP", "WARNING"); + if (VALIDATE_PLANNED_ENCOUNTER2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -390,6 +400,8 @@ public static boolean validatePlannedEncounter2CodeP(PlannedEncounter2 plannedEn public static boolean validatePlannedEncounter2StatusCode(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2StatusCode", "ERROR"); + if (VALIDATE_PLANNED_ENCOUNTER2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -453,6 +465,8 @@ public static boolean validatePlannedEncounter2StatusCode(PlannedEncounter2 plan public static boolean validatePlannedEncounter2StatusCodeP(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2StatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_ENCOUNTER2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -516,6 +530,8 @@ public static boolean validatePlannedEncounter2StatusCodeP(PlannedEncounter2 pla public static boolean validatePlannedEncounter2EffectiveTime(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2EffectiveTime", "WARNING"); + if (VALIDATE_PLANNED_ENCOUNTER2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -580,6 +596,8 @@ public static boolean validatePlannedEncounter2EffectiveTime(PlannedEncounter2 p public static boolean validatePlannedEncounter2Performer(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2Performer", "INFO"); + if (VALIDATE_PLANNED_ENCOUNTER2_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -643,6 +661,8 @@ public static boolean validatePlannedEncounter2Performer(PlannedEncounter2 plann public static boolean validatePlannedEncounter2ServiceDeliveryLocation(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2ServiceDeliveryLocation", "INFO"); + if (VALIDATE_PLANNED_ENCOUNTER2_SERVICE_DELIVERY_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -708,6 +728,8 @@ public static boolean validatePlannedEncounter2ServiceDeliveryLocation(PlannedEn public static boolean validatePlannedEncounter2PriorityPreference(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2PriorityPreference", "INFO"); + if (VALIDATE_PLANNED_ENCOUNTER2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -773,6 +795,8 @@ public static boolean validatePlannedEncounter2PriorityPreference(PlannedEncount public static boolean validatePlannedEncounter2Indication2(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2Indication2", "INFO"); + if (VALIDATE_PLANNED_ENCOUNTER2_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -836,6 +860,8 @@ public static boolean validatePlannedEncounter2Indication2(PlannedEncounter2 pla public static boolean validatePlannedEncounter2AuthorParticipation(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2AuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_ENCOUNTER2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -901,6 +927,8 @@ public static boolean validatePlannedEncounter2AuthorParticipation(PlannedEncoun public static boolean validatePlannedEncounter2PerformerAssignedEntity(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2PerformerAssignedEntity", "ERROR"); + if (VALIDATE_PLANNED_ENCOUNTER2_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1114,6 +1142,8 @@ public static EList getIndication2s(PlannedEncounter2 plannedEncoun public static boolean validatePlanOfCareActivityEncounterMoodCode(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlanOfCareActivityEncounterMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ENCOUNTER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedImmunizationActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedImmunizationActivityOperations.java index 0cf52ca31c..f3caf8f7fd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedImmunizationActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedImmunizationActivityOperations.java @@ -24,6 +24,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.SubstanceAdministrationOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -133,6 +134,8 @@ public static boolean validatePlannedImmunizationActivityTemplateId( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityTemplateId", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -200,6 +203,8 @@ public static boolean validatePlannedImmunizationActivityClassCode( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityClassCode", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -267,6 +272,8 @@ public static boolean validatePlannedImmunizationActivityMoodCodeP( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityMoodCodeP", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_MOOD_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +365,8 @@ public static boolean validatePlannedImmunizationActivityMoodCode( return true; } + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityMoodCode", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +433,8 @@ public static boolean validatePlannedImmunizationActivityMoodCode( public static boolean validatePlannedImmunizationActivityId(PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityId", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -490,6 +501,8 @@ public static boolean validatePlannedImmunizationActivityStatusCode( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityStatusCode", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -557,6 +570,8 @@ public static boolean validatePlannedImmunizationActivityStatusCodeP( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityStatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -624,6 +639,9 @@ public static boolean validatePlannedImmunizationActivityEffectiveTime( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityEffectiveTime", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +709,8 @@ public static boolean validatePlannedImmunizationActivityRepeatNumber( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityRepeatNumber", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -758,6 +778,8 @@ public static boolean validatePlannedImmunizationActivityRouteCodeP( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityRouteCodeP", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_ROUTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -849,6 +871,8 @@ public static boolean validatePlannedImmunizationActivityRouteCode( return true; } + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityRouteCode", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_ROUTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -903,6 +927,9 @@ public static boolean validatePlannedImmunizationActivityApproachSiteCode( return true; } + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityApproachSiteCode", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_APPROACH_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -993,6 +1020,9 @@ public static boolean validatePlannedImmunizationActivityApproachSiteCodeP( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityApproachSiteCodeP", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_APPROACH_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1075,6 +1105,8 @@ public static boolean validatePlannedImmunizationActivityDoseQuantity( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityDoseQuantity", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1142,6 +1174,8 @@ public static boolean validatePlannedImmunizationActivityPerformer( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityPerformer", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1209,6 +1243,9 @@ public static boolean validatePlannedImmunizationActivityAuthorParticipation( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityAuthorParticipation", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1276,6 +1313,9 @@ public static boolean validatePlannedImmunizationActivityPriorityPreference( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityPriorityPreference", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1343,6 +1383,8 @@ public static boolean validatePlannedImmunizationActivityIndication2( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityIndication2", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1410,6 +1452,8 @@ public static boolean validatePlannedImmunizationActivityInstruction2( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityInstruction2", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1477,6 +1521,8 @@ public static boolean validatePlannedImmunizationActivityPrecondition( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityPrecondition", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_PRECONDITION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1544,6 +1590,8 @@ public static boolean validatePlannedImmunizationActivityConsumable( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityConsumable", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1611,6 +1659,9 @@ public static boolean validatePlannedImmunizationActivityCETranslationP( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityCETranslationP", "WARNING"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1699,6 +1750,9 @@ public static boolean validatePlannedImmunizationActivityCETranslation( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityCETranslation", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1780,6 +1834,8 @@ public static boolean validatePlannedImmunizationActivityIVLPQUnit( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityIVLPQUnit", "WARNING"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_IVLPQ_UNIT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1852,6 +1908,11 @@ public static boolean validatePlannedImmunizationActivityConsumableImmunizationM PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PlannedImmunizationActivityPlannedImmunizationActivityConsumableImmunizationMedicationInformation2", + "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_CONSUMABLE_IMMUNIZATION_MEDICATION_INFORMATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1924,6 +1985,9 @@ public static boolean validatePlannedImmunizationActivityPreconditionTypeCode( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityPreconditionTypeCode", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_PRECONDITION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1996,6 +2060,11 @@ public static boolean validatePlannedImmunizationActivityPreconditionPreconditio PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PlannedImmunizationActivityPlannedImmunizationActivityPreconditionPreconditionForSubstanceAdministration2", + "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_PRECONDITION_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedInterventionActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedInterventionActOperations.java index 8893c6d06e..af117d145f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedInterventionActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedInterventionActOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -164,6 +165,8 @@ protected PlannedInterventionActOperations() { public static boolean validatePlannedInterventionActTemplateId(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActTemplateId", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -229,6 +232,8 @@ public static boolean validatePlannedInterventionActTemplateId(PlannedInterventi public static boolean validatePlannedInterventionActClassCode(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActClassCode", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -294,6 +299,8 @@ public static boolean validatePlannedInterventionActClassCode(PlannedInterventio public static boolean validatePlannedInterventionActMoodCodeP(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActMoodCodeP", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_MOOD_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -382,6 +389,8 @@ public static boolean validatePlannedInterventionActMoodCode(PlannedIntervention return true; } + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActMoodCode", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -447,6 +456,8 @@ public static boolean validatePlannedInterventionActMoodCode(PlannedIntervention public static boolean validatePlannedInterventionActId(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActId", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -510,6 +521,8 @@ public static boolean validatePlannedInterventionActId(PlannedInterventionAct pl public static boolean validatePlannedInterventionActCodeP(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActCodeP", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -597,6 +610,8 @@ public static boolean validatePlannedInterventionActCode(PlannedInterventionAct return true; } + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActCode", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -662,6 +677,8 @@ public static boolean validatePlannedInterventionActCode(PlannedInterventionAct public static boolean validatePlannedInterventionActStatusCode(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActStatusCode", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -727,6 +744,8 @@ public static boolean validatePlannedInterventionActStatusCode(PlannedInterventi public static boolean validatePlannedInterventionActStatusCodeP(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActStatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -792,6 +811,8 @@ public static boolean validatePlannedInterventionActStatusCodeP(PlannedIntervent public static boolean validatePlannedInterventionActEffectiveTime(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActEffectiveTime", "WARNING"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -857,6 +878,8 @@ public static boolean validatePlannedInterventionActEffectiveTime(PlannedInterve public static boolean validatePlannedInterventionActAuthorParticipation( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActAuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -923,6 +946,9 @@ public static boolean validatePlannedInterventionActAuthorParticipation( public static boolean validatePlannedInterventionActAdvanceDirectiveObservation2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActAdvanceDirectiveObservation2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_ADVANCE_DIRECTIVE_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -989,6 +1015,8 @@ public static boolean validatePlannedInterventionActAdvanceDirectiveObservation2 public static boolean validatePlannedInterventionActImmunizationActivity2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActImmunizationActivity2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_IMMUNIZATION_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1055,6 +1083,8 @@ public static boolean validatePlannedInterventionActImmunizationActivity2( public static boolean validatePlannedInterventionActMedicationActivity2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActMedicationActivity2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_MEDICATION_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1121,6 +1151,8 @@ public static boolean validatePlannedInterventionActMedicationActivity2( public static boolean validatePlannedInterventionActProcedureActivityAct2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActProcedureActivityAct2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PROCEDURE_ACTIVITY_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1187,6 +1219,8 @@ public static boolean validatePlannedInterventionActProcedureActivityAct2( public static boolean validatePlannedInterventionActInterventionAct(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActInterventionAct", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_INTERVENTION_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1252,6 +1286,9 @@ public static boolean validatePlannedInterventionActInterventionAct(PlannedInter public static boolean validatePlannedInterventionActProcedureActivityObservation2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActProcedureActivityObservation2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PROCEDURE_ACTIVITY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1318,6 +1355,9 @@ public static boolean validatePlannedInterventionActProcedureActivityObservation public static boolean validatePlannedInterventionActProcedureActivityProcedure2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActProcedureActivityProcedure2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PROCEDURE_ACTIVITY_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1384,6 +1424,8 @@ public static boolean validatePlannedInterventionActProcedureActivityProcedure2( public static boolean validatePlannedInterventionActEncounterActivity2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActEncounterActivity2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_ENCOUNTER_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1450,6 +1492,8 @@ public static boolean validatePlannedInterventionActEncounterActivity2( public static boolean validatePlannedInterventionActInstruction2(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActInstruction2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1515,6 +1559,9 @@ public static boolean validatePlannedInterventionActInstruction2(PlannedInterven public static boolean validatePlannedInterventionActNonMedicinalSupplyActivity2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActNonMedicinalSupplyActivity2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_NON_MEDICINAL_SUPPLY_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1581,6 +1628,8 @@ public static boolean validatePlannedInterventionActNonMedicinalSupplyActivity2( public static boolean validatePlannedInterventionActPlannedAct2(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActPlannedAct2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1646,6 +1695,8 @@ public static boolean validatePlannedInterventionActPlannedAct2(PlannedIntervent public static boolean validatePlannedInterventionActPlannedEncounter2(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActPlannedEncounter2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_ENCOUNTER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1712,6 +1763,8 @@ public static boolean validatePlannedInterventionActPlannedEncounter2(PlannedInt public static boolean validatePlannedInterventionActPlannedObservation2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActPlannedObservation2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1778,6 +1831,8 @@ public static boolean validatePlannedInterventionActPlannedObservation2( public static boolean validatePlannedInterventionActPlannedProcedure2(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActPlannedProcedure2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1844,6 +1899,9 @@ public static boolean validatePlannedInterventionActPlannedProcedure2(PlannedInt public static boolean validatePlannedInterventionActPlannedMedicationActivity2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActPlannedMedicationActivity2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_MEDICATION_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1910,6 +1968,8 @@ public static boolean validatePlannedInterventionActPlannedMedicationActivity2( public static boolean validatePlannedInterventionActPlannedSupply2(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActPlannedSupply2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_SUPPLY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1975,6 +2035,8 @@ public static boolean validatePlannedInterventionActPlannedSupply2(PlannedInterv public static boolean validatePlannedInterventionActNutritionRecommendation( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActNutritionRecommendation", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_NUTRITION_RECOMMENDATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2041,6 +2103,9 @@ public static boolean validatePlannedInterventionActNutritionRecommendation( public static boolean validatePlannedInterventionActEntryReferenceDocInstance( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActEntryReferenceDocInstance", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_ENTRY_REFERENCE_DOC_INSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2107,6 +2172,8 @@ public static boolean validatePlannedInterventionActEntryReferenceDocInstance( public static boolean validatePlannedInterventionActEntryReferenceGoalObs( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActEntryReferenceGoalObs", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_ENTRY_REFERENCE_GOAL_OBS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2173,6 +2240,9 @@ public static boolean validatePlannedInterventionActEntryReferenceGoalObs( public static boolean validatePlannedInterventionActHandoffCommunicationParticipants( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActHandoffCommunicationParticipants", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_HANDOFF_COMMUNICATION_PARTICIPANTS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2239,6 +2309,9 @@ public static boolean validatePlannedInterventionActHandoffCommunicationParticip public static boolean validatePlannedInterventionActPlannedImmunizationActivity( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActPlannedImmunizationActivity", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_IMMUNIZATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2305,6 +2378,8 @@ public static boolean validatePlannedInterventionActPlannedImmunizationActivity( public static boolean validatePlannedInterventionActReference(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActReference", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2370,6 +2445,8 @@ public static boolean validatePlannedInterventionActReference(PlannedInterventio public static boolean validatePlannedInterventionActReferenceTypeCode(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActReferenceTypeCode", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2441,6 +2518,9 @@ public static boolean validatePlannedInterventionActReferenceTypeCode(PlannedInt public static boolean validatePlannedInterventionActReferenceExternalDocumentReference( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActReferenceExternalDocumentReference", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_REFERENCE_EXTERNAL_DOCUMENT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedMedicationActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedMedicationActivity2Operations.java index 343e055438..834483583b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedMedicationActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedMedicationActivity2Operations.java @@ -26,6 +26,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -141,6 +142,9 @@ public static boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSorTS( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2EffectiveTimeIVLTSorTS", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_EFFECTIVE_TIME_IVLT_SOR_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -208,6 +212,9 @@ public static boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSLow( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2EffectiveTimeIVLTSLow", "WARNING"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_EFFECTIVE_TIME_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -275,6 +282,9 @@ public static boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSHigh( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2EffectiveTimeIVLTSHigh", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_EFFECTIVE_TIME_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -342,6 +352,9 @@ public static boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSLowXor PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2EffectiveTimeIVLTSLowXorValue", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_EFFECTIVE_TIME_IVLTS_LOW_XOR_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -409,6 +422,9 @@ public static boolean validatePlannedMedicationActivity2EffectiveTimePIVLTS( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2EffectiveTimePIVLTS", "WARNING"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_EFFECTIVE_TIME_PIVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -476,6 +492,8 @@ public static boolean validatePlannedMedicationActivity2TemplateId( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -544,6 +562,8 @@ public static boolean validatePlannedMedicationActivity2StatusCode( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2StatusCode", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -611,6 +631,8 @@ public static boolean validatePlannedMedicationActivity2StatusCodeP( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2StatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -678,6 +700,8 @@ public static boolean validatePlannedMedicationActivity2RepeatNumber( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2RepeatNumber", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -745,6 +769,8 @@ public static boolean validatePlannedMedicationActivity2RouteCodeP( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2RouteCodeP", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_ROUTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -836,6 +862,8 @@ public static boolean validatePlannedMedicationActivity2RouteCode( return true; } + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2RouteCode", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_ROUTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -903,6 +931,9 @@ public static boolean validatePlannedMedicationActivity2ApproachSiteCodeP( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2ApproachSiteCodeP", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_APPROACH_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -995,6 +1026,9 @@ public static boolean validatePlannedMedicationActivity2ApproachSiteCode( return true; } + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2ApproachSiteCode", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_APPROACH_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1062,6 +1096,8 @@ public static boolean validatePlannedMedicationActivity2DoseQuantity( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2DoseQuantity", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1129,6 +1165,8 @@ public static boolean validatePlannedMedicationActivity2RateQuantity( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2RateQuantity", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_RATE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1196,6 +1234,8 @@ public static boolean validatePlannedMedicationActivity2MaxDoseQuantity( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2MaxDoseQuantity", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_MAX_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1263,6 +1303,9 @@ public static boolean validatePlannedMedicationActivity2AdministrationUnitCodeP( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2AdministrationUnitCodeP", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_ADMINISTRATION_UNIT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1356,6 +1399,9 @@ public static boolean validatePlannedMedicationActivity2AdministrationUnitCode( return true; } + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2AdministrationUnitCode", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_ADMINISTRATION_UNIT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1423,6 +1469,8 @@ public static boolean validatePlannedMedicationActivity2Performer( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2Performer", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1490,6 +1538,9 @@ public static boolean validatePlannedMedicationActivity2AuthorParticipation( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2AuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1557,6 +1608,9 @@ public static boolean validatePlannedMedicationActivity2PriorityPreference( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2PriorityPreference", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1624,6 +1678,8 @@ public static boolean validatePlannedMedicationActivity2Indication2( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2Indication2", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1691,6 +1747,8 @@ public static boolean validatePlannedMedicationActivity2Instruction2( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2Instruction2", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1758,6 +1816,8 @@ public static boolean validatePlannedMedicationActivity2Consumable( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2Consumable", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1825,6 +1885,8 @@ public static boolean validatePlannedMedicationActivity2Precondition( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2Precondition", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_PRECONDITION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1892,6 +1954,9 @@ public static boolean validatePlannedMedicationActivity2CETranslationP( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2CETranslationP", "WARNING"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1980,6 +2045,8 @@ public static boolean validatePlannedMedicationActivity2CETranslation( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2CETranslation", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2061,6 +2128,9 @@ public static boolean validatePlannedMedicationActivity2IVLPQdoseQuantityUnit( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2IVLPQdoseQuantityUnit", "WARNING"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_IVLP_QDOSE_QUANTITY_UNIT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2133,6 +2203,9 @@ public static boolean validatePlannedMedicationActivity2IVLPQrateQuantityUnit( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2IVLPQrateQuantityUnit", "WARNING"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_IVLP_QRATE_QUANTITY_UNIT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2205,6 +2278,9 @@ public static boolean validatePlannedMedicationActivity2ConsumableMedicationInfo PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2ConsumableMedicationInformation2", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_CONSUMABLE_MEDICATION_INFORMATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2277,6 +2353,9 @@ public static boolean validatePlannedMedicationActivity2PreconditionTypeCode( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2PreconditionTypeCode", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_PRECONDITION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2349,6 +2428,11 @@ public static boolean validatePlannedMedicationActivity2PreconditionPrecondition PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PlannedMedicationActivity2PlannedMedicationActivity2PreconditionPreconditionForSubstanceAdministration2", + "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_PRECONDITION_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2566,6 +2650,9 @@ public static boolean validatePlanOfCareActivitySubstanceAdministrationMoodCode( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlanOfCareActivitySubstanceAdministrationMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedObservation2Operations.java index 89f0d4db6d..bf7d03ac2d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedObservation2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -114,6 +115,8 @@ protected PlannedObservation2Operations() { public static boolean validatePlannedObservation2TemplateId(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -178,6 +181,8 @@ public static boolean validatePlannedObservation2TemplateId(PlannedObservation2 public static boolean validatePlannedObservation2CodeP(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2CodeP", "ERROR"); + if (VALIDATE_PLANNED_OBSERVATION2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -264,6 +269,8 @@ public static boolean validatePlannedObservation2Code(PlannedObservation2 planne return true; } + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2Code", "WARNING"); + if (VALIDATE_PLANNED_OBSERVATION2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -328,6 +335,8 @@ public static boolean validatePlannedObservation2Code(PlannedObservation2 planne public static boolean validatePlannedObservation2StatusCode(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2StatusCode", "ERROR"); + if (VALIDATE_PLANNED_OBSERVATION2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -392,6 +401,8 @@ public static boolean validatePlannedObservation2StatusCode(PlannedObservation2 public static boolean validatePlannedObservation2StatusCodeP(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2StatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_OBSERVATION2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -457,6 +468,8 @@ public static boolean validatePlannedObservation2StatusCodeP(PlannedObservation2 public static boolean validatePlannedObservation2EffectiveTime(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2EffectiveTime", "WARNING"); + if (VALIDATE_PLANNED_OBSERVATION2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -522,6 +535,8 @@ public static boolean validatePlannedObservation2EffectiveTime(PlannedObservatio public static boolean validatePlannedObservation2Value(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2Value", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +600,8 @@ public static boolean validatePlannedObservation2Value(PlannedObservation2 plann public static boolean validatePlannedObservation2MethodCode(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2MethodCode", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -649,6 +666,8 @@ public static boolean validatePlannedObservation2MethodCode(PlannedObservation2 public static boolean validatePlannedObservation2TargetSiteCodeP(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2TargetSiteCodeP", "WARNING"); + if (VALIDATE_PLANNED_OBSERVATION2_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +757,8 @@ public static boolean validatePlannedObservation2TargetSiteCode(PlannedObservati return true; } + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2TargetSiteCode", "ERROR"); + if (VALIDATE_PLANNED_OBSERVATION2_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -803,6 +824,8 @@ public static boolean validatePlannedObservation2TargetSiteCode(PlannedObservati public static boolean validatePlannedObservation2Performer(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2Performer", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -866,6 +889,8 @@ public static boolean validatePlannedObservation2Performer(PlannedObservation2 p public static boolean validatePlannedObservation2AuthorParticipation(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -931,6 +956,8 @@ public static boolean validatePlannedObservation2AuthorParticipation(PlannedObse public static boolean validatePlannedObservation2PriorityPreference(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2PriorityPreference", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -996,6 +1023,8 @@ public static boolean validatePlannedObservation2PriorityPreference(PlannedObser public static boolean validatePlannedObservation2Indication2(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2Indication2", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1060,6 +1089,8 @@ public static boolean validatePlannedObservation2Indication2(PlannedObservation2 public static boolean validatePlannedObservation2Instruction2(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2Instruction2", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1124,6 +1155,8 @@ public static boolean validatePlannedObservation2Instruction2(PlannedObservation public static boolean validatePlannedObservation2PlannedCoverage(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2PlannedCoverage", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_PLANNED_COVERAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1379,6 +1412,8 @@ public static EList getPlannedCoverages(PlannedObservation2 pla public static boolean validatePlanOfCareActivityObservationMoodCode(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlanOfCareActivityObservationMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedure2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedure2Operations.java index 16f2acd785..f2a64fe676 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedure2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedure2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -115,6 +116,8 @@ protected PlannedProcedure2Operations() { public static boolean validatePlannedProcedure2CodeFromLoincOrSnomed(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2CodeFromLoincOrSnomed", "WARNING"); + if (VALIDATE_PLANNED_PROCEDURE2_CODE_FROM_LOINC_OR_SNOMED__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -180,6 +183,8 @@ public static boolean validatePlannedProcedure2CodeFromLoincOrSnomed(PlannedProc public static boolean validatePlannedProcedure2CodeFromCptOrIcd(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2CodeFromCptOrIcd", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_CODE_FROM_CPT_OR_ICD__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -245,6 +250,8 @@ public static boolean validatePlannedProcedure2CodeFromCptOrIcd(PlannedProcedure public static boolean validatePlannedProcedure2Instruction2InversionInd(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2Instruction2InversionInd", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE2_INSTRUCTION2_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -310,6 +317,8 @@ public static boolean validatePlannedProcedure2Instruction2InversionInd(PlannedP public static boolean validatePlannedProcedure2TemplateId(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +382,8 @@ public static boolean validatePlannedProcedure2TemplateId(PlannedProcedure2 plan public static boolean validatePlannedProcedure2Code(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2Code", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validatePlannedProcedure2Code(PlannedProcedure2 plannedPro public static boolean validatePlannedProcedure2StatusCode(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2StatusCode", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -500,6 +513,8 @@ public static boolean validatePlannedProcedure2StatusCode(PlannedProcedure2 plan public static boolean validatePlannedProcedure2StatusCodeP(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2StatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -563,6 +578,8 @@ public static boolean validatePlannedProcedure2StatusCodeP(PlannedProcedure2 pla public static boolean validatePlannedProcedure2EffectiveTime(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2EffectiveTime", "WARNING"); + if (VALIDATE_PLANNED_PROCEDURE2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -627,6 +644,8 @@ public static boolean validatePlannedProcedure2EffectiveTime(PlannedProcedure2 p public static boolean validatePlannedProcedure2MethodCode(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2MethodCode", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -690,6 +709,8 @@ public static boolean validatePlannedProcedure2MethodCode(PlannedProcedure2 plan public static boolean validatePlannedProcedure2TargetSiteCodeP(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2TargetSiteCodeP", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -778,6 +799,8 @@ public static boolean validatePlannedProcedure2TargetSiteCode(PlannedProcedure2 return true; } + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2TargetSiteCode", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE2_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -843,6 +866,8 @@ public static boolean validatePlannedProcedure2TargetSiteCode(PlannedProcedure2 public static boolean validatePlannedProcedure2Performer(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2Performer", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -906,6 +931,8 @@ public static boolean validatePlannedProcedure2Performer(PlannedProcedure2 plann public static boolean validatePlannedProcedure2AuthorParticipation(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2AuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_PROCEDURE2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -971,6 +998,8 @@ public static boolean validatePlannedProcedure2AuthorParticipation(PlannedProced public static boolean validatePlannedProcedure2PriorityPreference(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2PriorityPreference", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1036,6 +1065,8 @@ public static boolean validatePlannedProcedure2PriorityPreference(PlannedProcedu public static boolean validatePlannedProcedure2Indication2(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2Indication2", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1099,6 +1130,8 @@ public static boolean validatePlannedProcedure2Indication2(PlannedProcedure2 pla public static boolean validatePlannedProcedure2Instruction2(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2Instruction2", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1162,6 +1195,8 @@ public static boolean validatePlannedProcedure2Instruction2(PlannedProcedure2 pl public static boolean validatePlannedProcedure2PlannedCoverage(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2PlannedCoverage", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_PLANNED_COVERAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1417,6 +1452,8 @@ public static EList getPlannedCoverages(PlannedProcedure2 plann public static boolean validatePlanOfCareActivityProcedureMoodCode(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlanOfCareActivityProcedureMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_PROCEDURE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSection2Operations.java index 66e66c776f..014ddc1182 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected PlannedProcedureSection2Operations() { public static boolean validatePlannedProcedureSection2TemplateId(PlannedProcedureSection2 plannedProcedureSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSection2PlannedProcedureSection2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -208,6 +211,8 @@ public static EList getConsolPlannedProcedure2s( public static boolean validatePlannedProcedureSectionCodeP(PlannedProcedureSection2 plannedProcedureSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSection2PlannedProcedureSectionCodeP", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +300,8 @@ public static boolean validatePlannedProcedureSectionCode(PlannedProcedureSectio return true; } + DatatypesUtil.increment(context, "PlannedProcedureSection2PlannedProcedureSectionCode", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -360,6 +367,9 @@ public static boolean validatePlannedProcedureSectionPlanOfCareActivityProcedure PlannedProcedureSection2 plannedProcedureSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedProcedureSection2PlannedProcedureSectionPlanOfCareActivityProcedure", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_PLAN_OF_CARE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSectionOperations.java index 287c5e7157..c2145e22ba 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected PlannedProcedureSectionOperations() { public static boolean validatePlannedProcedureSectionTemplateId(PlannedProcedureSection plannedProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSectionPlannedProcedureSectionTemplateId", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validatePlannedProcedureSectionTemplateId(PlannedProcedure public static boolean validatePlannedProcedureSectionCode(PlannedProcedureSection plannedProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSectionPlannedProcedureSectionCode", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validatePlannedProcedureSectionCode(PlannedProcedureSectio public static boolean validatePlannedProcedureSectionCodeP(PlannedProcedureSection plannedProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSectionPlannedProcedureSectionCodeP", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -276,6 +283,8 @@ public static boolean validatePlannedProcedureSectionCodeP(PlannedProcedureSecti public static boolean validatePlannedProcedureSectionText(PlannedProcedureSection plannedProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSectionPlannedProcedureSectionText", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +370,8 @@ public static boolean validatePlannedProcedureSectionText(PlannedProcedureSectio public static boolean validatePlannedProcedureSectionTitle(PlannedProcedureSection plannedProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSectionPlannedProcedureSectionTitle", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -425,6 +436,9 @@ public static boolean validatePlannedProcedureSectionTitle(PlannedProcedureSecti public static boolean validatePlannedProcedureSectionPlanOfCareActivityProcedure( PlannedProcedureSection plannedProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedProcedureSectionPlannedProcedureSectionPlanOfCareActivityProcedure", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_PLAN_OF_CARE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedSupply2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedSupply2Operations.java index 8adbc5b0fb..c328bdb5b2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedSupply2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedSupply2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -120,6 +121,8 @@ protected PlannedSupply2Operations() { public static boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2MedInfoXorImmunXorProductInstance", "ERROR"); + if (VALIDATE_PLANNED_SUPPLY2_MED_INFO_XOR_IMMUN_XOR_PRODUCT_INSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -186,6 +189,8 @@ public static boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(Pl public static boolean validatePlannedSupply2TemplateId(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_SUPPLY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +255,8 @@ public static boolean validatePlannedSupply2TemplateId(PlannedSupply2 plannedSup public static boolean validatePlannedSupply2StatusCode(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2StatusCode", "ERROR"); + if (VALIDATE_PLANNED_SUPPLY2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +320,8 @@ public static boolean validatePlannedSupply2StatusCode(PlannedSupply2 plannedSup public static boolean validatePlannedSupply2StatusCodeP(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2StatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_SUPPLY2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +385,8 @@ public static boolean validatePlannedSupply2StatusCodeP(PlannedSupply2 plannedSu public static boolean validatePlannedSupply2EffectiveTime(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2EffectiveTime", "WARNING"); + if (VALIDATE_PLANNED_SUPPLY2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -439,6 +450,8 @@ public static boolean validatePlannedSupply2EffectiveTime(PlannedSupply2 planned public static boolean validatePlannedSupply2RepeatNumber(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2RepeatNumber", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +515,8 @@ public static boolean validatePlannedSupply2RepeatNumber(PlannedSupply2 plannedS public static boolean validatePlannedSupply2Quantity(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2Quantity", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -565,6 +580,8 @@ public static boolean validatePlannedSupply2Quantity(PlannedSupply2 plannedSuppl public static boolean validatePlannedSupply2Product(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2Product", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_PRODUCT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -628,6 +645,8 @@ public static boolean validatePlannedSupply2Product(PlannedSupply2 plannedSupply public static boolean validatePlannedSupply2Performer(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2Performer", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +710,8 @@ public static boolean validatePlannedSupply2Performer(PlannedSupply2 plannedSupp public static boolean validatePlannedSupply2AuthorParticipation(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2AuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_SUPPLY2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +777,8 @@ public static boolean validatePlannedSupply2AuthorParticipation(PlannedSupply2 p public static boolean validatePlannedSupply2ProductInstance(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2ProductInstance", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_PRODUCT_INSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -819,6 +842,8 @@ public static boolean validatePlannedSupply2ProductInstance(PlannedSupply2 plann public static boolean validatePlannedSupply2PriorityPreference(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2PriorityPreference", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -883,6 +908,8 @@ public static boolean validatePlannedSupply2PriorityPreference(PlannedSupply2 pl public static boolean validatePlannedSupply2Indication2(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2Indication2", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -946,6 +973,8 @@ public static boolean validatePlannedSupply2Indication2(PlannedSupply2 plannedSu public static boolean validatePlannedSupply2Instruction2(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2Instruction2", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1009,6 +1038,8 @@ public static boolean validatePlannedSupply2Instruction2(PlannedSupply2 plannedS public static boolean validatePlannedSupply2PlannedCoverage(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2PlannedCoverage", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_PLANNED_COVERAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1072,6 +1103,8 @@ public static boolean validatePlannedSupply2PlannedCoverage(PlannedSupply2 plann public static boolean validatePlannedSupply2ProductRecommended(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2ProductRecommended", "WARNING"); + if (VALIDATE_PLANNED_SUPPLY2_PRODUCT_RECOMMENDED__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1136,6 +1169,9 @@ public static boolean validatePlannedSupply2ProductRecommended(PlannedSupply2 pl public static boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2( PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedSupply2PlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2", "ERROR"); + if (VALIDATE_PLANNED_SUPPLY2_PRODUCT_MANUFACTURED_PRODUCT_MED_INFO2_XOR_IMMUN_MED_INFO2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1207,6 +1243,8 @@ public static boolean validatePlannedSupply2ProductManufacturedProductMedInfo2Xo public static boolean validatePlannedSupply2ProductManufacturedProduct(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2ProductManufacturedProduct", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_PRODUCT_MANUFACTURED_PRODUCT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1512,6 +1550,8 @@ public static EList getPlannedCoverages(PlannedSupply2 plannedS public static boolean validatePlanOfCareActivitySupplyMoodCode(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlanOfCareActivitySupplyMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUPPLY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivity2Operations.java index 2f07df841b..a36298b4ab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivity2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -138,6 +139,8 @@ protected PolicyActivity2Operations() { public static boolean validatePolicyActivity2TemplateId(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivity2TemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -180,6 +183,8 @@ public static boolean validatePolicyActivity2TemplateId(PolicyActivity2 policyAc public static boolean validatePolicyActivityStatusCodeP(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityStatusCodeP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +240,11 @@ public static boolean validatePolicyActivityStatusCodeP(PolicyActivity2 policyAc public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +295,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -335,6 +350,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -385,6 +405,10 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -435,6 +459,10 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -485,6 +513,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -535,6 +568,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +623,10 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -635,6 +677,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -685,6 +732,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -735,6 +787,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -785,6 +842,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -835,6 +897,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -885,6 +952,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -935,6 +1007,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -985,6 +1062,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1035,6 +1117,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1085,6 +1172,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1135,6 +1227,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1185,6 +1282,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1235,6 +1337,10 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityDateOfBirthInSDTCbirthTime( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivityCoverageCoverageRoleCoveragePlayingEntityDateOfBirthInSDTCbirthTime", + "INFO"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_COVERAGE_PLAYING_ENTITY_DATE_OF_BIRTH_IN_SDT_CBIRTH_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1285,6 +1391,9 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingE public static boolean validatePolicyActivity2CoverageCoverageRoleCoveragePlayingEntitySDTCBirthTime( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivity2CoverageCoverageRoleCoveragePlayingEntitySDTCBirthTime", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_COVERAGE_COVERAGE_ROLE_COVERAGE_PLAYING_ENTITY_SDTC_BIRTH_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1335,6 +1444,8 @@ public static boolean validatePolicyActivity2CoverageCoverageRoleCoveragePlaying public static boolean validatePolicyActivity2CDTranslation(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivity2CDTranslation", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1384,6 +1495,8 @@ public static boolean validatePolicyActivity2CDTranslation(PolicyActivity2 polic public static boolean validatePolicyActivity2CDTranslationP(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivity2CDTranslationP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1433,6 +1546,8 @@ public static boolean validatePolicyActivity2CDTranslationP(PolicyActivity2 poli public static boolean validatePolicyActivityCodeP(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityCodeP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2071,6 +2186,8 @@ public static boolean validatePolicyActivityCode(PolicyActivity2 policyActivity2 return true; } + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityCode", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2143,6 +2260,8 @@ public static boolean validatePolicyActivityStatusCode(PolicyActivity2 policyAct return true; } + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityStatusCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2206,6 +2325,8 @@ public static boolean validatePolicyActivityStatusCode(PolicyActivity2 policyAct public static boolean validatePolicyActivityPayer(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityPayer", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2269,6 +2390,8 @@ public static boolean validatePolicyActivityPayer(PolicyActivity2 policyActivity public static boolean validatePolicyActivityGuarantor(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityGuarantor", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2332,6 +2455,8 @@ public static boolean validatePolicyActivityGuarantor(PolicyActivity2 policyActi public static boolean validatePolicyActivityCoverage(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityCoverage", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2395,6 +2520,8 @@ public static boolean validatePolicyActivityCoverage(PolicyActivity2 policyActiv public static boolean validatePolicyActivityPayerPayerAssignedEntityAddr(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityPayerPayerAssignedEntityAddr", "INFO"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2466,6 +2593,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityAddr(PolicyA public static boolean validatePolicyActivityPayerPayerAssignedEntityTelecom(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityPayerPayerAssignedEntityTelecom", "INFO"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2537,6 +2666,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityTelecom(Poli public static boolean validatePolicyActivityPayerTemplateId(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityPayerTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2607,6 +2738,8 @@ public static boolean validatePolicyActivityPayerTemplateId(PolicyActivity2 poli public static boolean validatePolicyActivityPayerPayerAssignedEntity(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityPayerPayerAssignedEntity", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2677,6 +2810,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntity(PolicyActiv public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCodeP(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityGuarantorGuarantorAssignedEntityCodeP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2764,6 +2899,8 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityGuarantorGuarantorAssignedEntityCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2845,6 +2982,9 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityAddr(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivityGuarantorGuarantorAssignedEntityAddr", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2916,6 +3056,9 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityAddr public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivityGuarantorGuarantorAssignedEntityTelecom", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2987,6 +3130,8 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTele public static boolean validatePolicyActivityGuarantorTemplateId(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityGuarantorTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3057,6 +3202,8 @@ public static boolean validatePolicyActivityGuarantorTemplateId(PolicyActivity2 public static boolean validatePolicyActivityGuarantorTypeCode(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityGuarantorTypeCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3127,6 +3274,8 @@ public static boolean validatePolicyActivityGuarantorTypeCode(PolicyActivity2 po public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntity(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityGuarantorGuarantorAssignedEntity", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3198,6 +3347,9 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntity(Pol public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivityCoverageCoverageRoleCoveragePlayingEntityName", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_COVERAGE_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3269,6 +3421,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingE public static boolean validatePolicyActivityCoverageCoverageRoleId(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityCoverageCoverageRoleId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3339,6 +3493,9 @@ public static boolean validatePolicyActivityCoverageCoverageRoleId(PolicyActivit public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivityCoverageCoverageRoleCoveragePlayingEntity", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_COVERAGE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3410,6 +3567,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingE public static boolean validatePolicyActivityCoverageTemplateId(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityCoverageTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3480,6 +3639,8 @@ public static boolean validatePolicyActivityCoverageTemplateId(PolicyActivity2 p public static boolean validatePolicyActivityCoverageCoverageRole(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityCoverageCoverageRole", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivityOperations.java index 0fe1c828f5..c158c9ac5a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivityOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -187,6 +188,8 @@ protected PolicyActivityOperations() { public static boolean validatePolicyActivityTemplateId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +253,8 @@ public static boolean validatePolicyActivityTemplateId(PolicyActivity policyActi public static boolean validatePolicyActivityClassCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityClassCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -292,6 +297,8 @@ public static boolean validatePolicyActivityClassCode(PolicyActivity policyActiv public static boolean validatePolicyActivityCodeP(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCodeP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -355,6 +362,8 @@ public static boolean validatePolicyActivityCode(PolicyActivity policyActivity, return true; } + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCode", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -397,6 +406,8 @@ public static boolean validatePolicyActivityCode(PolicyActivity policyActivity, public static boolean validatePolicyActivityId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -525,6 +536,8 @@ public static boolean validatePolicyActivityId(PolicyActivity policyActivity, Di public static boolean validatePolicyActivityMoodCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityMoodCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -589,6 +602,8 @@ public static boolean validatePolicyActivityMoodCode(PolicyActivity policyActivi public static boolean validatePolicyActivityStatusCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityStatusCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -652,6 +667,8 @@ public static boolean validatePolicyActivityStatusCode(PolicyActivity policyActi public static boolean validatePolicyActivityPayer(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayer", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -715,6 +732,8 @@ public static boolean validatePolicyActivityPayer(PolicyActivity policyActivity, public static boolean validatePolicyActivityGuarantor(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantor", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -778,6 +797,8 @@ public static boolean validatePolicyActivityGuarantor(PolicyActivity policyActiv public static boolean validatePolicyActivityCoverage(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverage", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -841,6 +862,8 @@ public static boolean validatePolicyActivityCoverage(PolicyActivity policyActivi public static boolean validatePolicyActivityHolder(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolder", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -904,6 +927,8 @@ public static boolean validatePolicyActivityHolder(PolicyActivity policyActivity public static boolean validatePolicyActivityEntryRelationship(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityEntryRelationship", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -968,6 +993,11 @@ public static boolean validatePolicyActivityEntryRelationship(PolicyActivity pol public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1039,6 +1069,11 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1110,6 +1145,11 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1160,6 +1200,10 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1254,6 +1298,10 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1325,6 +1373,11 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1396,6 +1449,10 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1467,6 +1524,10 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1538,6 +1599,11 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1609,6 +1675,11 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1680,6 +1751,9 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganizationName( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityPayerOrganizationName", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_PAYER_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1751,6 +1825,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganiz public static boolean validatePolicyActivityPayerPayerAssignedEntityId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1800,6 +1876,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityId(PolicyAct public static boolean validatePolicyActivityPayerPayerAssignedEntityCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityCode", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1903,6 +1981,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityCode(PolicyA public static boolean validatePolicyActivityPayerPayerAssignedEntityCodeP(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityCodeP", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1988,6 +2068,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityCodeP(Policy public static boolean validatePolicyActivityPayerPayerAssignedEntityAddr(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityAddr", "INFO"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2058,6 +2140,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityAddr(PolicyA public static boolean validatePolicyActivityPayerPayerAssignedEntityTelecom(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityTelecom", "INFO"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2129,6 +2213,9 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityTelecom(Poli public static boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganization(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityPayerOrganization", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_PAYER_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2200,6 +2287,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganiz public static boolean validatePolicyActivityPayerTemplateId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2270,6 +2359,8 @@ public static boolean validatePolicyActivityPayerTemplateId(PolicyActivity polic public static boolean validatePolicyActivityPayerTypeCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerTypeCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2340,6 +2431,8 @@ public static boolean validatePolicyActivityPayerTypeCode(PolicyActivity policyA public static boolean validatePolicyActivityPayerPayerAssignedEntity(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerPayerAssignedEntity", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2410,6 +2503,11 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntity(PolicyActiv public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2481,6 +2579,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2552,6 +2655,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2602,6 +2710,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2696,6 +2809,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2767,6 +2885,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2838,6 +2961,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2909,6 +3037,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2980,6 +3113,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3051,6 +3189,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3122,6 +3265,9 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityPersonNameAndOrOrgName( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityPersonNameAndOrOrgName", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_PERSON_NAME_AND_OR_ORG_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3195,6 +3341,8 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityPers public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3266,6 +3414,8 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCodeP(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityCodeP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3337,6 +3487,8 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityAddr(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityAddr", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3408,6 +3560,9 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityAddr public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityTelecom", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3479,6 +3634,8 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTele public static boolean validatePolicyActivityGuarantorTemplateId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3549,6 +3706,8 @@ public static boolean validatePolicyActivityGuarantorTemplateId(PolicyActivity p public static boolean validatePolicyActivityGuarantorTime(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorTime", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3619,6 +3778,8 @@ public static boolean validatePolicyActivityGuarantorTime(PolicyActivity policyA public static boolean validatePolicyActivityGuarantorTypeCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorTypeCode", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3689,6 +3850,8 @@ public static boolean validatePolicyActivityGuarantorTypeCode(PolicyActivity pol public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntity(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntity", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3760,6 +3923,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntity(Pol public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3831,6 +3999,11 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3902,6 +4075,11 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3952,6 +4130,10 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUseP( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4046,6 +4228,10 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUse( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4117,6 +4303,10 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressCountry( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4188,6 +4378,10 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressState( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4259,6 +4453,10 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressCity( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4330,6 +4528,10 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressPostalCode( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4401,6 +4603,11 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4472,6 +4679,9 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleCoveragePlayingEntityName", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_COVERAGE_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4543,6 +4753,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingE public static boolean validatePolicyActivityCoverageCoverageRoleId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageCoverageRoleId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4615,6 +4827,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleId(PolicyActivit public static boolean validatePolicyActivityCoverageCoverageRoleCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageCoverageRoleCode", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4685,6 +4899,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCode(PolicyActiv public static boolean validatePolicyActivityCoverageCoverageRoleCodeP(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageCoverageRoleCodeP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4755,6 +4971,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCodeP(PolicyActi public static boolean validatePolicyActivityCoverageCoverageRoleAddr(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageCoverageRoleAddr", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4825,6 +5043,9 @@ public static boolean validatePolicyActivityCoverageCoverageRoleAddr(PolicyActiv public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleCoveragePlayingEntity", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_COVERAGE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4896,6 +5117,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingE public static boolean validatePolicyActivityCoverageLowTime(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageLowTime", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_LOW_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4966,6 +5189,8 @@ public static boolean validatePolicyActivityCoverageLowTime(PolicyActivity polic public static boolean validatePolicyActivityCoverageHighTime(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageHighTime", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_HIGH_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5036,6 +5261,8 @@ public static boolean validatePolicyActivityCoverageHighTime(PolicyActivity poli public static boolean validatePolicyActivityCoverageTemplateId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5106,6 +5333,8 @@ public static boolean validatePolicyActivityCoverageTemplateId(PolicyActivity po public static boolean validatePolicyActivityCoverageTypeCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageTypeCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5176,6 +5405,8 @@ public static boolean validatePolicyActivityCoverageTypeCode(PolicyActivity poli public static boolean validatePolicyActivityCoverageTime(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageTime", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5246,6 +5477,8 @@ public static boolean validatePolicyActivityCoverageTime(PolicyActivity policyAc public static boolean validatePolicyActivityCoverageCoverageRole(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageCoverageRole", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5316,6 +5549,11 @@ public static boolean validatePolicyActivityCoverageCoverageRole(PolicyActivity public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5387,6 +5625,11 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5458,6 +5701,11 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5508,6 +5756,10 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUseP( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5602,6 +5854,9 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUse( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUse", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5673,6 +5928,10 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressCountry( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5744,6 +6003,10 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressState( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5815,6 +6078,9 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressCity( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressCity", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5886,6 +6152,10 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressPostalCode( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5957,6 +6227,11 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6028,6 +6303,8 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolderHolderRoleId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6098,6 +6375,8 @@ public static boolean validatePolicyActivityHolderHolderRoleId(PolicyActivity po public static boolean validatePolicyActivityHolderHolderRoleAddr(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolderHolderRoleAddr", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6168,6 +6447,8 @@ public static boolean validatePolicyActivityHolderHolderRoleAddr(PolicyActivity public static boolean validatePolicyActivityHolderTemplateId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolderTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6238,6 +6519,8 @@ public static boolean validatePolicyActivityHolderTemplateId(PolicyActivity poli public static boolean validatePolicyActivityHolderTypeCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolderTypeCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6308,6 +6591,8 @@ public static boolean validatePolicyActivityHolderTypeCode(PolicyActivity policy public static boolean validatePolicyActivityHolderTime(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolderTime", "INFO"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6378,6 +6663,8 @@ public static boolean validatePolicyActivityHolderTime(PolicyActivity policyActi public static boolean validatePolicyActivityHolderHolderRole(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolderHolderRole", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6448,6 +6735,8 @@ public static boolean validatePolicyActivityHolderHolderRole(PolicyActivity poli public static boolean validatePolicyActivityEntryRelationshipTargetActActivity(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityEntryRelationshipTargetActActivity", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_ENTRY_RELATIONSHIP_TARGET_ACT_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6519,6 +6808,9 @@ public static boolean validatePolicyActivityEntryRelationshipTargetActActivity(P public static boolean validatePolicyActivityEntryRelationshipDescriptionCoveragePlan(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityEntryRelationshipDescriptionCoveragePlan", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_ENTRY_RELATIONSHIP_DESCRIPTION_COVERAGE_PLAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6590,6 +6882,8 @@ public static boolean validatePolicyActivityEntryRelationshipDescriptionCoverage public static boolean validatePolicyActivityEntryRelationshipTypeCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostoperativeDiagnosisSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostoperativeDiagnosisSectionOperations.java index e9942a37eb..e69289603c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostoperativeDiagnosisSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostoperativeDiagnosisSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validatePostoperativeDiagnosisSectionTemplateId( PostoperativeDiagnosisSection postoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PostoperativeDiagnosisSectionPostoperativeDiagnosisSectionTemplateId", "ERROR"); + if (VALIDATE_POSTOPERATIVE_DIAGNOSIS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,8 @@ public static boolean validatePostoperativeDiagnosisSectionCode( PostoperativeDiagnosisSection postoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostoperativeDiagnosisSectionPostoperativeDiagnosisSectionCode", "ERROR"); + if (VALIDATE_POSTOPERATIVE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +237,8 @@ public static boolean validatePostoperativeDiagnosisSectionCodeP( PostoperativeDiagnosisSection postoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostoperativeDiagnosisSectionPostoperativeDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_POSTOPERATIVE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +306,8 @@ public static boolean validatePostoperativeDiagnosisSectionText( PostoperativeDiagnosisSection postoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostoperativeDiagnosisSectionPostoperativeDiagnosisSectionText", "ERROR"); + if (VALIDATE_POSTOPERATIVE_DIAGNOSIS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +375,8 @@ public static boolean validatePostoperativeDiagnosisSectionTitle( PostoperativeDiagnosisSection postoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostoperativeDiagnosisSectionPostoperativeDiagnosisSectionTitle", "ERROR"); + if (VALIDATE_POSTOPERATIVE_DIAGNOSIS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosis2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosis2Operations.java index 6fd6a7369e..4f20b51632 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosis2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosis2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected PostprocedureDiagnosis2Operations() { public static boolean validatePostprocedureDiagnosis2TemplateId(PostprocedureDiagnosis2 postprocedureDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosis2PostprocedureDiagnosis2TemplateId", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -139,6 +142,8 @@ public static boolean validatePostprocedureDiagnosis2TemplateId(PostprocedureDia public static boolean validatePostprocedureDiagnosisCodeP(PostprocedureDiagnosis2 postprocedureDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosis2PostprocedureDiagnosisCodeP", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +302,8 @@ public static boolean validatePostprocedureDiagnosisCode(PostprocedureDiagnosis2 return true; } + DatatypesUtil.increment(context, "PostprocedureDiagnosis2PostprocedureDiagnosisCode", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +368,8 @@ public static boolean validatePostprocedureDiagnosisCode(PostprocedureDiagnosis2 public static boolean validatePostprocedureDiagnosisProblemObservation( PostprocedureDiagnosis2 postprocedureDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosis2PostprocedureDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisOperations.java index 323dda43e9..d8cb64c84c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected PostprocedureDiagnosisOperations() { public static boolean validatePostprocedureDiagnosisTemplateId(PostprocedureDiagnosis postprocedureDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisPostprocedureDiagnosisTemplateId", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validatePostprocedureDiagnosisTemplateId(PostprocedureDiag public static boolean validatePostprocedureDiagnosisClassCode(PostprocedureDiagnosis postprocedureDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisPostprocedureDiagnosisClassCode", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validatePostprocedureDiagnosisClassCode(PostprocedureDiagn public static boolean validatePostprocedureDiagnosisMoodCode(PostprocedureDiagnosis postprocedureDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisPostprocedureDiagnosisMoodCode", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validatePostprocedureDiagnosisMoodCode(PostprocedureDiagno public static boolean validatePostprocedureDiagnosisCode(PostprocedureDiagnosis postprocedureDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisPostprocedureDiagnosisCode", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +370,8 @@ public static boolean validatePostprocedureDiagnosisCode(PostprocedureDiagnosis public static boolean validatePostprocedureDiagnosisProblemObservation( PostprocedureDiagnosis postprocedureDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisPostprocedureDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSection2Operations.java index 5992c9ea69..7bb4f1e3d3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSection2Operations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,9 @@ public static boolean validatePostprocedureDiagnosisSection2TemplateId( PostprocedureDiagnosisSection2 postprocedureDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PostprocedureDiagnosisSection2PostprocedureDiagnosisSection2TemplateId", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -208,6 +212,8 @@ public static boolean validatePostprocedureDiagnosisSectionCodeP( PostprocedureDiagnosisSection2 postprocedureDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisSection2PostprocedureDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +306,8 @@ public static boolean validatePostprocedureDiagnosisSectionCode( return true; } + DatatypesUtil.increment(context, "PostprocedureDiagnosisSection2PostprocedureDiagnosisSectionCode", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +375,9 @@ public static boolean validatePostprocedureDiagnosisSectionPostprocedureDiagnosi PostprocedureDiagnosisSection2 postprocedureDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PostprocedureDiagnosisSection2PostprocedureDiagnosisSectionPostprocedureDiagnosis", "WARNING"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_POSTPROCEDURE_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSectionOperations.java index f85da297bf..122d6ca11a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSectionOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,9 @@ public static boolean validatePostprocedureDiagnosisSectionTemplateId( PostprocedureDiagnosisSection postprocedureDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PostprocedureDiagnosisSectionPostprocedureDiagnosisSectionTemplateId", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -146,6 +150,8 @@ public static boolean validatePostprocedureDiagnosisSectionCodeP( PostprocedureDiagnosisSection postprocedureDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisSectionPostprocedureDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +242,8 @@ public static boolean validatePostprocedureDiagnosisSectionCode( PostprocedureDiagnosisSection postprocedureDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisSectionPostprocedureDiagnosisSectionCode", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -282,6 +290,8 @@ public static boolean validatePostprocedureDiagnosisSectionText( PostprocedureDiagnosisSection postprocedureDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisSectionPostprocedureDiagnosisSectionText", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +380,8 @@ public static boolean validatePostprocedureDiagnosisSectionTitle( PostprocedureDiagnosisSection postprocedureDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisSectionPostprocedureDiagnosisSectionTitle", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +449,9 @@ public static boolean validatePostprocedureDiagnosisSectionPostprocedureDiagnosi PostprocedureDiagnosisSection postprocedureDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PostprocedureDiagnosisSectionPostprocedureDiagnosisSectionPostprocedureDiagnosis", "WARNING"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_POSTPROCEDURE_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministration2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministration2Operations.java index 1756c4646e..85066cdcfd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministration2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministration2Operations.java @@ -7,6 +7,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -88,6 +89,10 @@ public static boolean validatePreconditionForSubstanceAdministration2TemplateId( PreconditionForSubstanceAdministration2 preconditionForSubstanceAdministration2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministration2PreconditionForSubstanceAdministration2TemplateId", + "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -155,6 +160,9 @@ public static boolean validatePreconditionForSubstanceAdministrationCodeP( PreconditionForSubstanceAdministration2 preconditionForSubstanceAdministration2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministration2PreconditionForSubstanceAdministrationCodeP", "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -222,6 +230,9 @@ public static boolean validatePreconditionForSubstanceAdministrationValueP( PreconditionForSubstanceAdministration2 preconditionForSubstanceAdministration2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministration2PreconditionForSubstanceAdministrationValueP", "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -291,6 +302,9 @@ public static boolean validatePreconditionForSubstanceAdministrationCode( PreconditionForSubstanceAdministration2 preconditionForSubstanceAdministration2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministration2PreconditionForSubstanceAdministrationCode", "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +372,9 @@ public static boolean validatePreconditionForSubstanceAdministrationText( PreconditionForSubstanceAdministration2 preconditionForSubstanceAdministration2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministration2PreconditionForSubstanceAdministrationText", "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -427,6 +444,9 @@ public static boolean validatePreconditionForSubstanceAdministrationValue( PreconditionForSubstanceAdministration2 preconditionForSubstanceAdministration2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministration2PreconditionForSubstanceAdministrationValue", "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministrationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministrationOperations.java index 1f8dba5183..5e79468dd1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministrationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministrationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.CriterionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,9 @@ public static boolean validatePreconditionForSubstanceAdministrationTemplateId( PreconditionForSubstanceAdministration preconditionForSubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministrationPreconditionForSubstanceAdministrationTemplateId", "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +165,9 @@ public static boolean validatePreconditionForSubstanceAdministrationCode( PreconditionForSubstanceAdministration preconditionForSubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministrationPreconditionForSubstanceAdministrationCode", "WARNING"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -228,6 +235,9 @@ public static boolean validatePreconditionForSubstanceAdministrationText( PreconditionForSubstanceAdministration preconditionForSubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministrationPreconditionForSubstanceAdministrationText", "INFO"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +305,9 @@ public static boolean validatePreconditionForSubstanceAdministrationValue( PreconditionForSubstanceAdministration preconditionForSubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministrationPreconditionForSubstanceAdministrationValue", "WARNING"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PregnancyObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PregnancyObservationOperations.java index 376afeff45..d062f04536 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PregnancyObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PregnancyObservationOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -104,6 +105,8 @@ protected PregnancyObservationOperations() { public static boolean validatePregnancyObservationTemplateId(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationTemplateId", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validatePregnancyObservationTemplateId(PregnancyObservatio public static boolean validatePregnancyObservationClassCode(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationClassCode", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validatePregnancyObservationClassCode(PregnancyObservation public static boolean validatePregnancyObservationMoodCode(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationMoodCode", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validatePregnancyObservationMoodCode(PregnancyObservation public static boolean validatePregnancyObservationCodeP(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationCodeP", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -382,6 +391,8 @@ public static boolean validatePregnancyObservationCode(PregnancyObservation preg return true; } + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationCode", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -446,6 +457,8 @@ public static boolean validatePregnancyObservationCode(PregnancyObservation preg public static boolean validatePregnancyObservationStatusCode(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationStatusCode", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +525,8 @@ public static boolean validatePregnancyObservationStatusCode(PregnancyObservatio public static boolean validatePregnancyObservationValue(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationValue", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -575,6 +590,8 @@ public static boolean validatePregnancyObservationValue(PregnancyObservation pre public static boolean validatePregnancyObservationValueP(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationValueP", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -638,6 +655,8 @@ public static boolean validatePregnancyObservationValueP(PregnancyObservation pr public static boolean validatePregnancyObservationEffectiveTime(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationEffectiveTime", "WARNING"); + if (VALIDATE_PREGNANCY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -703,6 +722,8 @@ public static boolean validatePregnancyObservationEffectiveTime(PregnancyObserva public static boolean validatePregnancyObservationEstimatedDateOfDelivery(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationEstimatedDateOfDelivery", "INFO"); + if (VALIDATE_PREGNANCY_OBSERVATION_ESTIMATED_DATE_OF_DELIVERY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosis2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosis2Operations.java index ae20b356dd..ba50bb1df8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosis2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosis2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected PreoperativeDiagnosis2Operations() { public static boolean validatePreoperativeDiagnosis2TemplateId(PreoperativeDiagnosis2 preoperativeDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosis2PreoperativeDiagnosis2TemplateId", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -139,6 +142,8 @@ public static boolean validatePreoperativeDiagnosis2TemplateId(PreoperativeDiagn public static boolean validatePreoperativeDiagnosisCodeP(PreoperativeDiagnosis2 preoperativeDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosis2PreoperativeDiagnosisCodeP", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +302,8 @@ public static boolean validatePreoperativeDiagnosisCode(PreoperativeDiagnosis2 p return true; } + DatatypesUtil.increment(context, "PreoperativeDiagnosis2PreoperativeDiagnosisCode", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -360,6 +367,8 @@ public static boolean validatePreoperativeDiagnosisCode(PreoperativeDiagnosis2 p public static boolean validatePreoperativeDiagnosisProblemObservation(PreoperativeDiagnosis2 preoperativeDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosis2PreoperativeDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisOperations.java index 7cf82fe3b8..4043c2ec07 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected PreoperativeDiagnosisOperations() { public static boolean validatePreoperativeDiagnosisTemplateId(PreoperativeDiagnosis preoperativeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisPreoperativeDiagnosisTemplateId", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validatePreoperativeDiagnosisTemplateId(PreoperativeDiagno public static boolean validatePreoperativeDiagnosisClassCode(PreoperativeDiagnosis preoperativeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisPreoperativeDiagnosisClassCode", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -209,6 +214,8 @@ public static boolean validatePreoperativeDiagnosisClassCode(PreoperativeDiagnos public static boolean validatePreoperativeDiagnosisCode(PreoperativeDiagnosis preoperativeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisPreoperativeDiagnosisCode", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -272,6 +279,8 @@ public static boolean validatePreoperativeDiagnosisCode(PreoperativeDiagnosis pr public static boolean validatePreoperativeDiagnosisMoodCode(PreoperativeDiagnosis preoperativeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisPreoperativeDiagnosisMoodCode", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validatePreoperativeDiagnosisMoodCode(PreoperativeDiagnosi public static boolean validatePreoperativeDiagnosisProblemObservation(PreoperativeDiagnosis preoperativeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisPreoperativeDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSection2Operations.java index aa362db288..6195348215 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSection2Operations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,9 @@ public static boolean validatePreoperativeDiagnosisSection2TemplateId( PreoperativeDiagnosisSection2 preoperativeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreoperativeDiagnosisSection2PreoperativeDiagnosisSection2TemplateId", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -208,6 +212,8 @@ public static boolean validatePreoperativeDiagnosisSectionCodeP( PreoperativeDiagnosisSection2 preoperativeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisSection2PreoperativeDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -299,6 +305,8 @@ public static boolean validatePreoperativeDiagnosisSectionCode( return true; } + DatatypesUtil.increment(context, "PreoperativeDiagnosisSection2PreoperativeDiagnosisSectionCode", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -366,6 +374,9 @@ public static boolean validatePreoperativeDiagnosisSectionPreoperativeDiagnosis( PreoperativeDiagnosisSection2 preoperativeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreoperativeDiagnosisSection2PreoperativeDiagnosisSectionPreoperativeDiagnosis", "WARNING"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_PREOPERATIVE_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSectionOperations.java index 05706e338c..a7ea11041f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSectionOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,8 @@ public static boolean validatePreoperativeDiagnosisSectionTemplateId( PreoperativeDiagnosisSection preoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisSectionPreoperativeDiagnosisSectionTemplateId", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validatePreoperativeDiagnosisSectionCode( PreoperativeDiagnosisSection preoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisSectionPreoperativeDiagnosisSectionCode", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +240,8 @@ public static boolean validatePreoperativeDiagnosisSectionCodeP( PreoperativeDiagnosisSection preoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisSectionPreoperativeDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -281,6 +288,8 @@ public static boolean validatePreoperativeDiagnosisSectionText( PreoperativeDiagnosisSection preoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisSectionPreoperativeDiagnosisSectionText", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +377,8 @@ public static boolean validatePreoperativeDiagnosisSectionTitle( PreoperativeDiagnosisSection preoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisSectionPreoperativeDiagnosisSectionTitle", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -435,6 +446,9 @@ public static boolean validatePreoperativeDiagnosisSectionPreoperativeDiagnosis( PreoperativeDiagnosisSection preoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreoperativeDiagnosisSectionPreoperativeDiagnosisSectionPreoperativeDiagnosis", "WARNING"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_PREOPERATIVE_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PressureUlcerObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PressureUlcerObservationOperations.java index e732f6017d..e11983acec 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PressureUlcerObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PressureUlcerObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -139,6 +140,8 @@ public static boolean validatePressureUlcerObservationHasTextReference( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationHasTextReference", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -206,6 +209,8 @@ public static boolean validatePressureUlcerObservationTextReferenceValue( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationTextReferenceValue", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -273,6 +278,9 @@ public static boolean validatePressureUlcerObservationHasTextReferenceValue( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationHasTextReferenceValue", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -340,6 +348,8 @@ public static boolean validatePressureUlcerObservationValueNullFlavor( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationValueNullFlavor", "INFO"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_VALUE_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -407,6 +417,9 @@ public static boolean validatePressureUlcerObservationTargetSiteQualifier( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationTargetSiteQualifier", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_QUALIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -474,6 +487,9 @@ public static boolean validatePressureUlcerObservationTargetSiteQualifierName( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationTargetSiteQualifierName", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_QUALIFIER_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -541,6 +557,9 @@ public static boolean validatePressureUlcerObservationTargetSiteQualifierNameCod PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationTargetSiteQualifierNameCode", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_QUALIFIER_NAME_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -608,6 +627,9 @@ public static boolean validatePressureUlcerObservationTargetSiteQualifierValue( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationTargetSiteQualifierValue", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_QUALIFIER_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -675,6 +697,9 @@ public static boolean validatePressureUlcerObservationTargetSiteQualifierValueCo PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationTargetSiteQualifierValueCode", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_QUALIFIER_VALUE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -741,6 +766,8 @@ public static boolean validatePressureUlcerObservationTargetSiteQualifierValueCo public static boolean validatePressureUlcerObservationTemplateId(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationTemplateId", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -806,6 +833,8 @@ public static boolean validatePressureUlcerObservationTemplateId(PressureUlcerOb public static boolean validatePressureUlcerObservationClassCode(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationClassCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -871,6 +900,8 @@ public static boolean validatePressureUlcerObservationClassCode(PressureUlcerObs public static boolean validatePressureUlcerObservationMoodCode(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationMoodCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -936,6 +967,8 @@ public static boolean validatePressureUlcerObservationMoodCode(PressureUlcerObse public static boolean validatePressureUlcerObservationNegationInd(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationNegationInd", "INFO"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1001,6 +1034,8 @@ public static boolean validatePressureUlcerObservationNegationInd(PressureUlcerO public static boolean validatePressureUlcerObservationId(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationId", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1065,6 +1100,8 @@ public static boolean validatePressureUlcerObservationId(PressureUlcerObservatio public static boolean validatePressureUlcerObservationCodeP(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationCodeP", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1152,6 +1189,8 @@ public static boolean validatePressureUlcerObservationCode(PressureUlcerObservat return true; } + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationCode", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1216,6 +1255,8 @@ public static boolean validatePressureUlcerObservationCode(PressureUlcerObservat public static boolean validatePressureUlcerObservationText(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationText", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1281,6 +1322,8 @@ public static boolean validatePressureUlcerObservationText(PressureUlcerObservat public static boolean validatePressureUlcerObservationStatusCode(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationStatusCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1347,6 +1390,8 @@ public static boolean validatePressureUlcerObservationEffectiveTime( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationEffectiveTime", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1415,6 +1460,8 @@ public static boolean validatePressureUlcerObservationEffectiveTime( public static boolean validatePressureUlcerObservationValue(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationValue", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1479,6 +1526,8 @@ public static boolean validatePressureUlcerObservationValue(PressureUlcerObserva public static boolean validatePressureUlcerObservationValueP(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationValueP", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1532,6 +1581,8 @@ public static boolean validatePressureUlcerObservationTargetSiteCode( return true; } + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationTargetSiteCode", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1622,6 +1673,8 @@ public static boolean validatePressureUlcerObservationTargetSiteCodeP( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationTargetSiteCodeP", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1703,6 +1756,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1770,6 +1826,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1837,6 +1896,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1904,6 +1966,10 @@ public static boolean validatePressureUlcerObservationEntryRelationship1Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1Observation1ClassCode", + "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_OBSERVATION1_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1976,6 +2042,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship1Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1Observation1MoodCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_OBSERVATION1_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2048,6 +2117,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship1Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1Observation1CodeP", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_OBSERVATION1_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2136,6 +2208,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship1Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1Observation1Code", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_OBSERVATION1_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2218,6 +2293,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship1Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1Observation1Value", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_OBSERVATION1_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2290,6 +2368,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship1TypeCode PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1TypeCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2362,6 +2443,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship1Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1Observation1", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_OBSERVATION1__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2434,6 +2518,10 @@ public static boolean validatePressureUlcerObservationEntryRelationship2Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2Observation2ClassCode", + "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_OBSERVATION2_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2506,6 +2594,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2Observation2MoodCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_OBSERVATION2_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2578,6 +2669,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2Observation2CodeP", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_OBSERVATION2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2666,6 +2760,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2Observation2Code", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_OBSERVATION2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2748,6 +2845,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2Observation2Value", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_OBSERVATION2_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2820,6 +2920,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2TypeCode PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2TypeCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2892,6 +2995,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2Observation2", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2964,6 +3070,10 @@ public static boolean validatePressureUlcerObservationEntryRelationship3Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3Observation3ClassCode", + "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_OBSERVATION3_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3036,6 +3146,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3Observation3MoodCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_OBSERVATION3_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3108,6 +3221,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3Observation3CodeP", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_OBSERVATION3_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3196,6 +3312,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3Observation3Code", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_OBSERVATION3_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3278,6 +3397,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3Observation3Value", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_OBSERVATION3_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3350,6 +3472,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3TypeCode PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3TypeCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3422,6 +3547,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3Observation3", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_OBSERVATION3__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PriorityPreferenceOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PriorityPreferenceOperations.java index 22e8e7fe77..763536d0e4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PriorityPreferenceOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PriorityPreferenceOperations.java @@ -9,6 +9,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -92,6 +93,8 @@ protected PriorityPreferenceOperations() { public static boolean validatePriorityPreferenceTemplateId(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceTemplateId", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -155,6 +158,8 @@ public static boolean validatePriorityPreferenceTemplateId(PriorityPreference pr public static boolean validatePriorityPreferenceClassCode(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceClassCode", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -218,6 +223,8 @@ public static boolean validatePriorityPreferenceClassCode(PriorityPreference pri public static boolean validatePriorityPreferenceMoodCode(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceMoodCode", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -281,6 +288,8 @@ public static boolean validatePriorityPreferenceMoodCode(PriorityPreference prio public static boolean validatePriorityPreferenceId(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceId", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -344,6 +353,8 @@ public static boolean validatePriorityPreferenceId(PriorityPreference priorityPr public static boolean validatePriorityPreferenceCodeP(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceCodeP", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -430,6 +441,8 @@ public static boolean validatePriorityPreferenceCode(PriorityPreference priority return true; } + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceCode", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -493,6 +506,8 @@ public static boolean validatePriorityPreferenceCode(PriorityPreference priority public static boolean validatePriorityPreferenceEffectiveTime(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceEffectiveTime", "WARNING"); + if (VALIDATE_PRIORITY_PREFERENCE_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -560,6 +575,8 @@ public static boolean validatePriorityPreferenceEffectiveTime(PriorityPreference public static boolean validatePriorityPreferenceValue(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceValue", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -623,6 +640,8 @@ public static boolean validatePriorityPreferenceValue(PriorityPreference priorit public static boolean validatePriorityPreferenceValueP(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceValueP", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -686,6 +705,8 @@ public static boolean validatePriorityPreferenceValueP(PriorityPreference priori public static boolean validatePriorityPreferenceAuthorParticipation(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceAuthorParticipation", "WARNING"); + if (VALIDATE_PRIORITY_PREFERENCE_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernAct2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernAct2Operations.java index 3bdcbee797..bc9818512b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernAct2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernAct2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -104,6 +105,8 @@ protected ProblemConcernAct2Operations() { public static boolean validateProblemConcernAct2TemplateId(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernAct2TemplateId", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -147,6 +150,8 @@ public static boolean validateProblemConcernAct2TemplateId(ProblemConcernAct2 pr public static boolean validateProblemConcernActStatusCodeP(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActStatusCodeP", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -203,6 +208,8 @@ public static boolean validateProblemConcernActStatusCodeP(ProblemConcernAct2 pr public static boolean validateProblemConcernAct2AuthorParticipation(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernAct2AuthorParticipation", "WARNING"); + if (VALIDATE_PROBLEM_CONCERN_ACT2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -247,6 +254,8 @@ public static boolean validateProblemConcernAct2AuthorParticipation(ProblemConce public static boolean validateProblemConcernAct2PriorityPreference(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernAct2PriorityPreference", "INFO"); + if (VALIDATE_PROBLEM_CONCERN_ACT2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -346,6 +355,8 @@ public static EList getConsolProblemObservation2s(ProblemCo public static boolean validateProblemConcernActEffectiveTimeLow(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActEffectiveTimeLow", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -390,6 +401,8 @@ public static boolean validateProblemConcernActEffectiveTimeLow(ProblemConcernAc public static boolean validateProblemConcernActEffectiveTimeHigh(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActEffectiveTimeHigh", "INFO"); + if (VALIDATE_PROBLEM_CONCERN_ACT_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -610,6 +623,8 @@ public static boolean validateProblemConcernActStatusCode(ProblemConcernAct2 pro return true; } + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -673,6 +688,8 @@ public static boolean validateProblemConcernActStatusCode(ProblemConcernAct2 pro public static boolean validateProblemConcernActEffectiveTime(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActEffectiveTime", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +755,8 @@ public static boolean validateProblemConcernActEffectiveTime(ProblemConcernAct2 public static boolean validateProblemConcernActCodeP(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActCodeP", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -824,6 +843,8 @@ public static boolean validateProblemConcernActCode(ProblemConcernAct2 problemCo return true; } + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActCode", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -887,6 +908,8 @@ public static boolean validateProblemConcernActCode(ProblemConcernAct2 problemCo public static boolean validateProblemConcernActProblemObservation(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActProblemObservation", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernActOperations.java index ddea0640ab..194ab6ab72 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernActOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -107,6 +108,8 @@ protected ProblemConcernActOperations() { public static boolean validateProblemConcernActEffectiveTimeLow(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActEffectiveTimeLow", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateProblemConcernActEffectiveTimeLow(ProblemConcernAc public static boolean validateProblemConcernActEffectiveTimeHigh(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActEffectiveTimeHigh", "WARNING"); + if (VALIDATE_PROBLEM_CONCERN_ACT_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,8 @@ public static boolean validateProblemConcernActEffectiveTimeHigh(ProblemConcernA public static boolean validateProblemConcernActTemplateId(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +307,8 @@ public static boolean validateProblemConcernActTemplateId(ProblemConcernAct prob public static boolean validateProblemConcernActClassCode(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActClassCode", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +372,8 @@ public static boolean validateProblemConcernActClassCode(ProblemConcernAct probl public static boolean validateProblemConcernActMoodCode(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActMoodCode", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -426,6 +437,8 @@ public static boolean validateProblemConcernActMoodCode(ProblemConcernAct proble public static boolean validateProblemConcernActId(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActId", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -489,6 +502,8 @@ public static boolean validateProblemConcernActId(ProblemConcernAct problemConce public static boolean validateProblemConcernActCodeP(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActCodeP", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -575,6 +590,8 @@ public static boolean validateProblemConcernActCode(ProblemConcernAct problemCon return true; } + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActCode", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -640,6 +657,8 @@ public static boolean validateProblemConcernActCode(ProblemConcernAct problemCon public static boolean validateProblemConcernActStatusCode(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -703,6 +722,8 @@ public static boolean validateProblemConcernActStatusCode(ProblemConcernAct prob public static boolean validateProblemConcernActEffectiveTime(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActEffectiveTime", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -768,6 +789,8 @@ public static boolean validateProblemConcernActEffectiveTime(ProblemConcernAct p public static boolean validateProblemConcernActProblemObservation(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActProblemObservation", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservation2Operations.java index 221a294216..ba21a6525a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservation2Operations.java @@ -22,6 +22,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -133,6 +134,8 @@ protected ProblemObservation2Operations() { public static boolean validateProblemObservationValueNullFlavorUnknown(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationValueNullFlavorUnknown", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_NULL_FLAVOR_UNKNOWN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -198,6 +201,8 @@ public static boolean validateProblemObservationValueNullFlavorUnknown(ProblemOb public static boolean validateProblemObservation2IfSnomedRequireTranslation(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2IfSnomedRequireTranslation", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION2_IF_SNOMED_REQUIRE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -264,6 +269,9 @@ public static boolean validateProblemObservation2IfSnomedRequireTranslation(Prob public static boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc( ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemObservation2ProblemObservation2IfSnomedRequireTranslationFromLoinc", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION2_IF_SNOMED_REQUIRE_TRANSLATION_FROM_LOINC__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -330,6 +338,8 @@ public static boolean validateProblemObservation2IfSnomedRequireTranslationFromL public static boolean validateProblemObservation2TemplateId(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2TemplateId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +383,8 @@ public static boolean validateProblemObservation2TemplateId(ProblemObservation2 public static boolean validateProblemObservationStatusCodeP(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationStatusCodeP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -429,6 +441,8 @@ public static boolean validateProblemObservationStatusCodeP(ProblemObservation2 public static boolean validateProblemObservation2PrognosisObservation(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2PrognosisObservation", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION2_PROGNOSIS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -473,6 +487,8 @@ public static boolean validateProblemObservation2PrognosisObservation(ProblemObs public static boolean validateProblemObservation2PriorityPreference(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2PriorityPreference", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -517,6 +533,8 @@ public static boolean validateProblemObservation2PriorityPreference(ProblemObser public static boolean validateProblemObservation2AuthorParticipation(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -561,6 +579,8 @@ public static boolean validateProblemObservation2AuthorParticipation(ProblemObse public static boolean validateProblemObservation2CDQualifier(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2CDQualifier", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION2_CD_QUALIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -610,6 +630,8 @@ public static boolean validateProblemObservation2CDQualifier(ProblemObservation2 public static boolean validateProblemObservation2CDCode(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2CDCode", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION2_CD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -659,6 +681,8 @@ public static boolean validateProblemObservation2CDCode(ProblemObservation2 prob public static boolean validateProblemObservation2CDCodeTranslation(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2CDCodeTranslation", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION2_CD_CODE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -708,6 +732,8 @@ public static boolean validateProblemObservation2CDCodeTranslation(ProblemObserv public static boolean validateProblemObservation2CDCodeTranslationP(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2CDCodeTranslationP", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION2_CD_CODE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -834,6 +860,8 @@ public static ProblemStatus2 getConsolProblemStatus(ProblemObservation2 problemO public static boolean validateProblemObservationHasTextReference(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationHasTextReference", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -878,6 +906,8 @@ public static boolean validateProblemObservationHasTextReference(ProblemObservat public static boolean validateProblemObservationTextReferenceValue(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationTextReferenceValue", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -922,6 +952,8 @@ public static boolean validateProblemObservationTextReferenceValue(ProblemObserv public static boolean validateProblemObservationHasTextReferenceValue(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationHasTextReferenceValue", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -966,6 +998,8 @@ public static boolean validateProblemObservationHasTextReferenceValue(ProblemObs public static boolean validateProblemObservationHasOnsetDate(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationHasOnsetDate", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_ONSET_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1010,6 +1044,8 @@ public static boolean validateProblemObservationHasOnsetDate(ProblemObservation2 public static boolean validateProblemObservationHasResolutionDate(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationHasResolutionDate", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_RESOLUTION_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1054,6 +1090,8 @@ public static boolean validateProblemObservationHasResolutionDate(ProblemObserva public static boolean validateProblemObservationValueNullFlavor(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationValueNullFlavor", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1124,6 +1162,8 @@ public static HealthStatusObservation getConsolHealthStatusObservation(ProblemOb public static boolean validateProblemObservationNegationInd(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationNegationInd", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1167,6 +1207,8 @@ public static boolean validateProblemObservationNegationInd(ProblemObservation2 public static boolean validateProblemObservationEffectiveTime(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationEffectiveTime", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1211,6 +1253,8 @@ public static boolean validateProblemObservationEffectiveTime(ProblemObservation public static boolean validateProblemObservationValueP(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationValueP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1274,6 +1318,8 @@ public static boolean validateProblemObservationValue(ProblemObservation2 proble return true; } + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationValue", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1316,6 +1362,8 @@ public static boolean validateProblemObservationValue(ProblemObservation2 proble public static boolean validateProblemObservationCodeP(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationCodeP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1379,6 +1427,8 @@ public static boolean validateProblemObservationCode(ProblemObservation2 problem return true; } + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationCode", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1949,6 +1999,8 @@ public static boolean validateProblemObservationCode(ProblemObservation2 problem public static boolean validateProblemObservationText(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationText", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2021,6 +2073,8 @@ public static boolean validateProblemObservationStatusCode(ProblemObservation2 p return true; } + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2085,6 +2139,8 @@ public static boolean validateProblemObservationStatusCode(ProblemObservation2 p public static boolean validateProblemObservationHealthStatusObservation(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationHealthStatusObservation", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HEALTH_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2150,6 +2206,8 @@ public static boolean validateProblemObservationHealthStatusObservation(ProblemO public static boolean validateProblemObservationProblemStatus(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationProblemStatus", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_PROBLEM_STATUS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservationOperations.java index cfacbbfb6c..828a469048 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservationOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -122,6 +123,8 @@ protected ProblemObservationOperations() { public static boolean validateProblemObservationHasTextReference(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationHasTextReference", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +190,8 @@ public static boolean validateProblemObservationHasTextReference(ProblemObservat public static boolean validateProblemObservationTextReferenceValue(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationTextReferenceValue", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -252,6 +257,8 @@ public static boolean validateProblemObservationTextReferenceValue(ProblemObserv public static boolean validateProblemObservationHasTextReferenceValue(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationHasTextReferenceValue", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +324,8 @@ public static boolean validateProblemObservationHasTextReferenceValue(ProblemObs public static boolean validateProblemObservationHasOnsetDate(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationHasOnsetDate", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_ONSET_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -382,6 +391,8 @@ public static boolean validateProblemObservationHasOnsetDate(ProblemObservation public static boolean validateProblemObservationHasResolutionDate(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationHasResolutionDate", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_RESOLUTION_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -447,6 +458,8 @@ public static boolean validateProblemObservationHasResolutionDate(ProblemObserva public static boolean validateProblemObservationValueNullFlavor(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationValueNullFlavor", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +525,8 @@ public static boolean validateProblemObservationValueNullFlavor(ProblemObservati public static boolean validateProblemObservationAgeObservationInversion(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationAgeObservationInversion", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_AGE_OBSERVATION_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -577,6 +592,8 @@ public static boolean validateProblemObservationAgeObservationInversion(ProblemO public static boolean validateProblemObservationValueTranslation(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationValueTranslation", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -642,6 +659,8 @@ public static boolean validateProblemObservationValueTranslation(ProblemObservat public static boolean validateProblemObservationValueTranslationCode(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationValueTranslationCode", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_TRANSLATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -707,6 +726,8 @@ public static boolean validateProblemObservationValueTranslationCode(ProblemObse public static boolean validateProblemObservationTemplateId(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -770,6 +791,8 @@ public static boolean validateProblemObservationTemplateId(ProblemObservation pr public static boolean validateProblemObservationClassCode(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationClassCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -833,6 +856,8 @@ public static boolean validateProblemObservationClassCode(ProblemObservation pro public static boolean validateProblemObservationMoodCode(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationMoodCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -896,6 +921,8 @@ public static boolean validateProblemObservationMoodCode(ProblemObservation prob public static boolean validateProblemObservationNegationInd(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationNegationInd", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -960,6 +987,8 @@ public static boolean validateProblemObservationNegationInd(ProblemObservation p public static boolean validateProblemObservationId(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1023,6 +1052,8 @@ public static boolean validateProblemObservationId(ProblemObservation problemObs public static boolean validateProblemObservationCodeP(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationCodeP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1109,6 +1140,8 @@ public static boolean validateProblemObservationCode(ProblemObservation problemO return true; } + DatatypesUtil.increment(context, "ProblemObservationProblemObservationCode", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1172,6 +1205,8 @@ public static boolean validateProblemObservationCode(ProblemObservation problemO public static boolean validateProblemObservationText(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationText", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1236,6 +1271,8 @@ public static boolean validateProblemObservationText(ProblemObservation problemO public static boolean validateProblemObservationStatusCode(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1299,6 +1336,8 @@ public static boolean validateProblemObservationStatusCode(ProblemObservation pr public static boolean validateProblemObservationEffectiveTime(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationEffectiveTime", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1366,6 +1405,8 @@ public static boolean validateProblemObservationEffectiveTime(ProblemObservation public static boolean validateProblemObservationValue(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationValue", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1429,6 +1470,8 @@ public static boolean validateProblemObservationValue(ProblemObservation problem public static boolean validateProblemObservationValueP(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationValueP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1492,6 +1535,8 @@ public static boolean validateProblemObservationValueP(ProblemObservation proble public static boolean validateProblemObservationAgeObservation(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationAgeObservation", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_AGE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1557,6 +1602,8 @@ public static boolean validateProblemObservationAgeObservation(ProblemObservatio public static boolean validateProblemObservationHealthStatusObservation(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationHealthStatusObservation", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_HEALTH_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1622,6 +1669,8 @@ public static boolean validateProblemObservationHealthStatusObservation(ProblemO public static boolean validateProblemObservationProblemStatus(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationProblemStatus", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_PROBLEM_STATUS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSection2Operations.java index 94083505ad..8147658220 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected ProblemSection2Operations() { public static boolean validateProblemSection2NullFlavor(ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSection2ProblemSection2NullFlavor", "INFO"); + if (VALIDATE_PROBLEM_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateProblemSection2NullFlavor(ProblemSection2 problemS public static boolean validateProblemSection2Title(ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSection2ProblemSection2Title", "ERROR"); + if (VALIDATE_PROBLEM_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateProblemSection2Title(ProblemSection2 problemSectio public static boolean validateProblemSection2Text(ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSection2ProblemSection2Text", "ERROR"); + if (VALIDATE_PROBLEM_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -336,6 +343,8 @@ public static HealthStatusObservation2 getConsolHealthStatusObservation2(Problem public static boolean validateProblemSectionEntriesOptionalTemplateId(ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSection2ProblemSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -401,6 +410,8 @@ public static boolean validateProblemSectionEntriesOptionalTemplateId(ProblemSec public static boolean validateProblemSectionEntriesOptionalCodeP(ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSection2ProblemSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -490,6 +501,8 @@ public static boolean validateProblemSectionEntriesOptionalCode(ProblemSection2 return true; } + DatatypesUtil.increment(context, "ProblemSection2ProblemSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -555,6 +568,8 @@ public static boolean validateProblemSectionEntriesOptionalCode(ProblemSection2 public static boolean validateProblemSectionEntriesOptionalProblemConcern(ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSection2ProblemSectionEntriesOptionalProblemConcern", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_PROBLEM_CONCERN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -620,6 +635,9 @@ public static boolean validateProblemSectionEntriesOptionalProblemConcern(Proble public static boolean validateProblemSectionEntriesOptional2HealthStatusObservation2( ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemSection2ProblemSectionEntriesOptional2HealthStatusObservation2", "INFO"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL2_HEALTH_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptional2Operations.java index 0312b6c4e8..63d7180077 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -99,6 +100,9 @@ public static boolean validateProblemSectionEntriesOptional2HealthStatusObservat ProblemSectionEntriesOptional2 problemSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemSectionEntriesOptional2ProblemSectionEntriesOptional2HealthStatusObservation2", "INFO"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL2_HEALTH_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -262,6 +266,9 @@ public static boolean validateProblemSectionEntriesOptionalTemplateId( ProblemSectionEntriesOptional2 problemSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemSectionEntriesOptional2ProblemSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -329,6 +336,8 @@ public static boolean validateProblemSectionEntriesOptionalCodeP( ProblemSectionEntriesOptional2 problemSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionEntriesOptional2ProblemSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -421,6 +430,8 @@ public static boolean validateProblemSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment(context, "ProblemSectionEntriesOptional2ProblemSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -488,6 +499,9 @@ public static boolean validateProblemSectionEntriesOptionalProblemConcern( ProblemSectionEntriesOptional2 problemSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemSectionEntriesOptional2ProblemSectionEntriesOptionalProblemConcern", "WARNING"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_PROBLEM_CONCERN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptionalOperations.java index 2e0092ffe9..2d700344d0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateProblemSectionEntriesOptionalTemplateId( ProblemSectionEntriesOptional problemSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemSectionEntriesOptionalProblemSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,8 @@ public static boolean validateProblemSectionEntriesOptionalCode( ProblemSectionEntriesOptional problemSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionEntriesOptionalProblemSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +245,8 @@ public static boolean validateProblemSectionEntriesOptionalCodeP( ProblemSectionEntriesOptional problemSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionEntriesOptionalProblemSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +314,8 @@ public static boolean validateProblemSectionEntriesOptionalTitle( ProblemSectionEntriesOptional problemSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionEntriesOptionalProblemSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +383,8 @@ public static boolean validateProblemSectionEntriesOptionalText( ProblemSectionEntriesOptional problemSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionEntriesOptionalProblemSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +452,9 @@ public static boolean validateProblemSectionEntriesOptionalProblemConcern( ProblemSectionEntriesOptional problemSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemSectionEntriesOptionalProblemSectionEntriesOptionalProblemConcern", "WARNING"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_PROBLEM_CONCERN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionOperations.java index 28a0688733..7da33736fa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -148,6 +149,8 @@ public static EList getConsolProblemConcerns(ProblemSection p public static boolean validateProblemSectionEntriesOptionalTemplateId(ProblemSection problemSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionProblemSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +216,8 @@ public static boolean validateProblemSectionEntriesOptionalTemplateId(ProblemSec public static boolean validateProblemSectionEntriesOptionalCodeP(ProblemSection problemSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionProblemSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +307,8 @@ public static boolean validateProblemSectionEntriesOptionalCode(ProblemSection p return true; } + DatatypesUtil.increment(context, "ProblemSectionProblemSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +374,8 @@ public static boolean validateProblemSectionEntriesOptionalCode(ProblemSection p public static boolean validateProblemSectionEntriesOptionalText(ProblemSection problemSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionProblemSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -432,6 +441,8 @@ public static boolean validateProblemSectionEntriesOptionalText(ProblemSection p public static boolean validateProblemSectionEntriesOptionalTitle(ProblemSection problemSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionProblemSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -497,6 +508,8 @@ public static boolean validateProblemSectionEntriesOptionalTitle(ProblemSection public static boolean validateProblemSectionEntriesOptionalProblemConcern(ProblemSection problemSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionProblemSectionEntriesOptionalProblemConcern", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_PROBLEM_CONCERN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatus2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatus2Operations.java index 927903cf0f..436b453b44 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatus2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatus2Operations.java @@ -7,17 +7,13 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; import org.openhealthtools.mdht.uml.cda.consol.ProblemStatus2; - import org.openhealthtools.mdht.uml.cda.consol.util.ConsolValidator; - import org.openhealthtools.mdht.uml.cda.consol2.ConsolPlugin; /** @@ -92,6 +88,8 @@ protected ProblemStatus2Operations() { public static boolean validateProblemStatus2TemplateId(ProblemStatus2 problemStatus2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatus2ProblemStatus2TemplateId", "ERROR"); + if (VALIDATE_PROBLEM_STATUS2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -155,6 +153,8 @@ public static boolean validateProblemStatus2TemplateId(ProblemStatus2 problemSta public static boolean validateProblemStatusTextReference(ProblemStatus2 problemStatus2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatus2ProblemStatusTextReference", "INFO"); + if (VALIDATE_PROBLEM_STATUS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -218,6 +218,8 @@ public static boolean validateProblemStatusTextReference(ProblemStatus2 problemS public static boolean validateProblemStatusReferenceValue(ProblemStatus2 problemStatus2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatus2ProblemStatusReferenceValue", "INFO"); + if (VALIDATE_PROBLEM_STATUS_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -281,6 +283,8 @@ public static boolean validateProblemStatusReferenceValue(ProblemStatus2 problem public static boolean validateProblemStatusTextReferenceValue(ProblemStatus2 problemStatus2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatus2ProblemStatusTextReferenceValue", "INFO"); + if (VALIDATE_PROBLEM_STATUS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -345,6 +349,8 @@ public static boolean validateProblemStatusTextReferenceValue(ProblemStatus2 pro public static boolean validateProblemStatusText(ProblemStatus2 problemStatus2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatus2ProblemStatusText", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -410,6 +416,8 @@ public static boolean validateProblemStatusText(ProblemStatus2 problemStatus2, D public static boolean validateProblemStatusValue(ProblemStatus2 problemStatus2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatus2ProblemStatusValue", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatusOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatusOperations.java index 01f0bd4f8d..ac59f4b121 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatusOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatusOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -99,6 +100,8 @@ protected ProblemStatusOperations() { public static boolean validateProblemStatusTextReference(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusTextReference", "WARNING"); + if (VALIDATE_PROBLEM_STATUS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateProblemStatusTextReference(ProblemStatus problemSt public static boolean validateProblemStatusReferenceValue(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusReferenceValue", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateProblemStatusReferenceValue(ProblemStatus problemS public static boolean validateProblemStatusTextReferenceValue(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusTextReferenceValue", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateProblemStatusTextReferenceValue(ProblemStatus prob public static boolean validateProblemStatusTemplateId(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateProblemStatusTemplateId(ProblemStatus problemStatu public static boolean validateProblemStatusClassCode(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusClassCode", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -415,6 +426,8 @@ public static boolean validateProblemStatusClassCode(ProblemStatus problemStatus public static boolean validateProblemStatusMoodCode(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusMoodCode", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -480,6 +493,8 @@ public static boolean validateProblemStatusMoodCode(ProblemStatus problemStatus, public static boolean validateProblemStatusCode(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -543,6 +558,8 @@ public static boolean validateProblemStatusCode(ProblemStatus problemStatus, Dia public static boolean validateProblemStatusText(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusText", "WARNING"); + if (VALIDATE_PROBLEM_STATUS_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -607,6 +624,8 @@ public static boolean validateProblemStatusText(ProblemStatus problemStatus, Dia public static boolean validateProblemStatusStatusCode(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -672,6 +691,8 @@ public static boolean validateProblemStatusStatusCode(ProblemStatus problemStatu public static boolean validateProblemStatusValue(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusValue", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityAct2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityAct2Operations.java index 6bd5005529..7dc448619b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityAct2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityAct2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -114,6 +115,8 @@ protected ProcedureActivityAct2Operations() { public static boolean validateProcedureActivityAct2CodeSuggestedCodeSystems( ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityAct2CodeSuggestedCodeSystems", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT2_CODE_SUGGESTED_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -180,6 +183,8 @@ public static boolean validateProcedureActivityAct2CodeSuggestedCodeSystems( public static boolean validateProcedureActivityAct2TemplateId(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityAct2TemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateProcedureActivityAct2TemplateId(ProcedureActivityA public static boolean validateProcedureActivityActStatusCodeP(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActStatusCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -281,6 +288,8 @@ public static boolean validateProcedureActivityActStatusCodeP(ProcedureActivityA public static boolean validateProcedureActivityAct2AuthorParticipation(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityAct2AuthorParticipation", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -408,6 +417,8 @@ public static EList getConsolMedicationActivity2s( public static boolean validateProcedureActivityActInstructionsInversion(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActInstructionsInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_INSTRUCTIONS_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -453,6 +464,8 @@ public static boolean validateProcedureActivityActInstructionsInversion(Procedur public static boolean validateProcedureActivityActMoodCode(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +684,8 @@ public static boolean validateProcedureActivityActStatusCode(ProcedureActivityAc return true; } + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -736,6 +751,8 @@ public static boolean validateProcedureActivityActStatusCode(ProcedureActivityAc public static boolean validateProcedureActivityActEffectiveTime(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActEffectiveTime", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +818,8 @@ public static boolean validateProcedureActivityActEffectiveTime(ProcedureActivit public static boolean validateProcedureActivityActInstructions(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActInstructions", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -866,6 +885,8 @@ public static boolean validateProcedureActivityActInstructions(ProcedureActivity public static boolean validateProcedureActivityActIndication(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActIndication", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -930,6 +951,8 @@ public static boolean validateProcedureActivityActIndication(ProcedureActivityAc public static boolean validateProcedureActivityActMedicationActivity(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActMedicationActivity", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -995,6 +1018,8 @@ public static boolean validateProcedureActivityActMedicationActivity(ProcedureAc public static boolean validateProcedureActivityActPerformer(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActPerformer", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1059,6 +1084,11 @@ public static boolean validateProcedureActivityActPerformer(ProcedureActivityAct public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationTelecom( ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityAct2ProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_PROCEDURE_ACT_REPRESENTED_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1130,6 +1160,11 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationAddr( ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityAct2ProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_PROCEDURE_ACT_REPRESENTED_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1201,6 +1236,10 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityTelecom( ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityAct2ProcedureActivityActProcedureActPerformerProcedureActAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1272,6 +1311,11 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityRepresentedOrganization( ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityAct2ProcedureActivityActProcedureActPerformerProcedureActAssignedEntityRepresentedOrganization", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1343,6 +1387,9 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerAssignedEntity( ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityAct2ProcedureActivityActProcedureActPerformerAssignedEntity", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityActOperations.java index 59ae1a015c..acc635f58e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityActOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -121,6 +122,8 @@ protected ProcedureActivityActOperations() { public static boolean validateProcedureActivityActCodeCodeSystems(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActCodeCodeSystems", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_CODE_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -186,6 +189,8 @@ public static boolean validateProcedureActivityActCodeCodeSystems(ProcedureActiv public static boolean validateProcedureActivityActCodeOriginalText(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActCodeOriginalText", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -251,6 +256,8 @@ public static boolean validateProcedureActivityActCodeOriginalText(ProcedureActi public static boolean validateProcedureActivityActOriginalTextReference(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActOriginalTextReference", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +324,8 @@ public static boolean validateProcedureActivityActOriginalTextReference(Procedur public static boolean validateProcedureActivityActOriginalTextReferenceValue( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActOriginalTextReferenceValue", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -404,6 +413,8 @@ public static boolean validateProcedureActivityActOriginalTextReferenceValue( public static boolean validateProcedureActivityActReferenceValue(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActReferenceValue", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -448,6 +459,8 @@ public static boolean validateProcedureActivityActReferenceValue(ProcedureActivi public static boolean validateProcedureActivityActEncounterInversion(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActEncounterInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENCOUNTER_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -534,6 +547,9 @@ public static boolean validateProcedureActivityActEncounterInversion(ProcedureAc public static boolean validateProcedureActivityActServiceDeliveryLocationTypeCode( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActServiceDeliveryLocationTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_SERVICE_DELIVERY_LOCATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -600,6 +616,8 @@ public static boolean validateProcedureActivityActServiceDeliveryLocationTypeCod public static boolean validateProcedureActivityActInstructionsInversion(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActInstructionsInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_INSTRUCTIONS_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -666,6 +684,8 @@ public static boolean validateProcedureActivityActInstructionsInversion(Procedur public static boolean validateProcedureActivityActTemplateId(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -731,6 +751,8 @@ public static boolean validateProcedureActivityActTemplateId(ProcedureActivityAc public static boolean validateProcedureActivityActClassCode(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActClassCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -797,6 +819,8 @@ public static boolean validateProcedureActivityActClassCode(ProcedureActivityAct public static boolean validateProcedureActivityActMoodCode(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -861,6 +885,8 @@ public static boolean validateProcedureActivityActMoodCode(ProcedureActivityAct public static boolean validateProcedureActivityActId(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -924,6 +950,8 @@ public static boolean validateProcedureActivityActId(ProcedureActivityAct proced public static boolean validateProcedureActivityActCode(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -989,6 +1017,8 @@ public static boolean validateProcedureActivityActCode(ProcedureActivityAct proc public static boolean validateProcedureActivityActStatusCode(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1054,6 +1084,8 @@ public static boolean validateProcedureActivityActStatusCode(ProcedureActivityAc public static boolean validateProcedureActivityActEffectiveTime(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActEffectiveTime", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1119,6 +1151,8 @@ public static boolean validateProcedureActivityActEffectiveTime(ProcedureActivit public static boolean validateProcedureActivityActPriorityCodeP(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActPriorityCodeP", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PRIORITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1207,6 +1241,8 @@ public static boolean validateProcedureActivityActPriorityCode(ProcedureActivity return true; } + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActPriorityCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PRIORITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1272,6 +1308,8 @@ public static boolean validateProcedureActivityActPriorityCode(ProcedureActivity public static boolean validateProcedureActivityActPerformer(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActPerformer", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1336,6 +1374,8 @@ public static boolean validateProcedureActivityActPerformer(ProcedureActivityAct public static boolean validateProcedureActivityActServiceDeliveryLocation(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActServiceDeliveryLocation", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_SERVICE_DELIVERY_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1402,6 +1442,8 @@ public static boolean validateProcedureActivityActServiceDeliveryLocation(Proced public static boolean validateProcedureActivityActInstructions(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActInstructions", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1467,6 +1509,8 @@ public static boolean validateProcedureActivityActInstructions(ProcedureActivity public static boolean validateProcedureActivityActIndication(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActIndication", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1531,6 +1575,8 @@ public static boolean validateProcedureActivityActIndication(ProcedureActivityAc public static boolean validateProcedureActivityActMedicationActivity(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActMedicationActivity", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1596,6 +1642,8 @@ public static boolean validateProcedureActivityActMedicationActivity(ProcedureAc public static boolean validateProcedureActivityActEntryRelationship(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActEntryRelationship", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1661,6 +1709,11 @@ public static boolean validateProcedureActivityActEntryRelationship(ProcedureAct public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationId( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationId", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_PROCEDURE_ACT_REPRESENTED_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1732,6 +1785,11 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationName( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationName", + "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_PROCEDURE_ACT_REPRESENTED_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1803,6 +1861,11 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationTelecom( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_PROCEDURE_ACT_REPRESENTED_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1874,6 +1937,11 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationAddr( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_PROCEDURE_ACT_REPRESENTED_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1945,6 +2013,10 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityId( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityId", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2016,6 +2088,10 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityAddr( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2087,6 +2163,10 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityTelecom( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2158,6 +2238,11 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityRepresentedOrganization( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityRepresentedOrganization", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2229,6 +2314,9 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerAssignedEntity( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActProcedureActPerformerAssignedEntity", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2300,6 +2388,10 @@ public static boolean validateProcedureActivityActProcedureActPerformerAssignedE public static boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterClassCode( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActEntryRelationshipProcedureActEncounterClassCode", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP_PROCEDURE_ACT_ENCOUNTER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2371,6 +2463,9 @@ public static boolean validateProcedureActivityActEntryRelationshipProcedureActE public static boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterMoodCode( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActEntryRelationshipProcedureActEncounterMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP_PROCEDURE_ACT_ENCOUNTER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2442,6 +2537,9 @@ public static boolean validateProcedureActivityActEntryRelationshipProcedureActE public static boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterId( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActEntryRelationshipProcedureActEncounterId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP_PROCEDURE_ACT_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2513,6 +2611,9 @@ public static boolean validateProcedureActivityActEntryRelationshipProcedureActE public static boolean validateProcedureActivityActEntryRelationshipInversionInd( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActEntryRelationshipInversionInd", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2584,6 +2685,8 @@ public static boolean validateProcedureActivityActEntryRelationshipInversionInd( public static boolean validateProcedureActivityActEntryRelationshipTypeCode( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2655,6 +2758,9 @@ public static boolean validateProcedureActivityActEntryRelationshipTypeCode( public static boolean validateProcedureActivityActEntryRelationshipProcedureActEncounter( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActEntryRelationshipProcedureActEncounter", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP_PROCEDURE_ACT_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservation2Operations.java index aea2bd2abd..8a683d1cd2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservation2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -120,6 +121,9 @@ public static boolean validateProcedureActivityObservation2CodeSuggestedCodeSyst ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservation2CodeSuggestedCodeSystems", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION2_CODE_SUGGESTED_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +191,9 @@ public static boolean validateProcedureActivityObservation2TemplateId( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservation2TemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +240,9 @@ public static boolean validateProcedureActivityObservationStatusCodeP( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationStatusCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +303,9 @@ public static boolean validateProcedureActivityObservation2AuthorParticipation( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -339,6 +352,9 @@ public static boolean validateProcedureActivityObservation2ReactionObservation2( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservation2ReactionObservation2", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION2_REACTION_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -385,6 +401,9 @@ public static boolean validateProcedureActivityObservation2ANYNullFlavor( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservation2ANYNullFlavor", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION2_ANY_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -548,6 +567,9 @@ public static boolean validateProcedureActivityObservationInstructionsInversion( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationInstructionsInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_INSTRUCTIONS_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -594,6 +616,9 @@ public static boolean validateProcedureActivityObservationCodeCodeSystems( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationCodeCodeSystems", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_CODE_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -640,6 +665,9 @@ public static boolean validateProcedureActivityObservationTargetSiteCodeP( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationTargetSiteCodeP", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -710,6 +738,9 @@ public static boolean validateProcedureActivityObservationTargetSiteCode( return true; } + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationTargetSiteCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +787,8 @@ public static boolean validateProcedureActivityObservationMoodCode( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservation2ProcedureActivityObservationMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1105,6 +1138,9 @@ public static boolean validateProcedureActivityObservationStatusCode( return true; } + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1172,6 +1208,8 @@ public static boolean validateProcedureActivityObservationValue( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservation2ProcedureActivityObservationValue", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1239,6 +1277,8 @@ public static boolean validateProcedureActivityObservationIndication( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservation2ProcedureActivityObservationIndication", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1306,6 +1346,9 @@ public static boolean validateProcedureActivityObservationMedicationActivity( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationMedicationActivity", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1373,6 +1416,9 @@ public static boolean validateProcedureActivityObservationInstructions( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationInstructions", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1440,6 +1486,9 @@ public static boolean validateProcedureActivityObservationPerformer( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationPerformer", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1507,6 +1556,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservation2ProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1579,6 +1633,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservation2ProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1651,6 +1710,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservation2ProcedureActivityObservationProcedureObservationPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservationOperations.java index 64474ad3b9..9d484111c6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservationOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -147,6 +148,9 @@ public static boolean validateProcedureActivityObservationCodeCodeSystems( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationCodeCodeSystems", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_CODE_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -214,6 +218,9 @@ public static boolean validateProcedureActivityObservationCodeOriginalText( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationCodeOriginalText", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -281,6 +288,9 @@ public static boolean validateProcedureActivityObservationOriginalTextReference( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationOriginalTextReference", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -348,6 +358,9 @@ public static boolean validateProcedureActivityObservationOriginalTextReferenceV ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationOriginalTextReferenceValue", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -415,6 +428,9 @@ public static boolean validateProcedureActivityObservationReferenceValue( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationReferenceValue", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -482,6 +498,9 @@ public static boolean validateProcedureActivityObservationEncounterInversion( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationEncounterInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENCOUNTER_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -549,6 +568,10 @@ public static boolean validateProcedureActivityObservationServiceDeliveryLocatio ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationServiceDeliveryLocationTypeCode", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_SERVICE_DELIVERY_LOCATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -616,6 +639,9 @@ public static boolean validateProcedureActivityObservationInstructionsInversion( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationInstructionsInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_INSTRUCTIONS_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -683,6 +709,8 @@ public static boolean validateProcedureActivityObservationTemplateId( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -750,6 +778,8 @@ public static boolean validateProcedureActivityObservationClassCode( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationClassCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -819,6 +849,8 @@ public static boolean validateProcedureActivityObservationMoodCode( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -886,6 +918,8 @@ public static boolean validateProcedureActivityObservationId( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -951,6 +985,8 @@ public static boolean validateProcedureActivityObservationCode( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1019,6 +1055,8 @@ public static boolean validateProcedureActivityObservationStatusCode( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1065,6 +1103,8 @@ public static boolean validateProcedureActivityObservationValue( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationValue", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1132,6 +1172,9 @@ public static boolean validateProcedureActivityObservationEffectiveTime( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationEffectiveTime", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1199,6 +1242,9 @@ public static boolean validateProcedureActivityObservationPriorityCodeP( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationPriorityCodeP", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PRIORITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1312,6 +1358,9 @@ public static boolean validateProcedureActivityObservationPriorityCode( return true; } + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationPriorityCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PRIORITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1379,6 +1428,8 @@ public static boolean validateProcedureActivityObservationMethodCode( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationMethodCode", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1446,6 +1497,9 @@ public static boolean validateProcedureActivityObservationTargetSiteCodeP( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationTargetSiteCodeP", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1539,6 +1593,9 @@ public static boolean validateProcedureActivityObservationTargetSiteCode( return true; } + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationTargetSiteCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1606,6 +1663,9 @@ public static boolean validateProcedureActivityObservationPerformer( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationPerformer", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1673,6 +1733,9 @@ public static boolean validateProcedureActivityObservationServiceDeliveryLocatio ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationServiceDeliveryLocation", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_SERVICE_DELIVERY_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1740,6 +1803,9 @@ public static boolean validateProcedureActivityObservationInstructions( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationInstructions", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1807,6 +1873,8 @@ public static boolean validateProcedureActivityObservationIndication( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationIndication", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1874,6 +1942,9 @@ public static boolean validateProcedureActivityObservationMedicationActivity( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationMedicationActivity", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1941,6 +2012,9 @@ public static boolean validateProcedureActivityObservationEntryRelationship( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationEntryRelationship", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2008,6 +2082,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationId", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_PROCEDURE_OBSERVATION_REPRESENTED_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2080,6 +2159,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationName", + "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_PROCEDURE_OBSERVATION_REPRESENTED_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2152,6 +2236,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_PROCEDURE_OBSERVATION_REPRESENTED_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2224,6 +2313,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_PROCEDURE_OBSERVATION_REPRESENTED_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2296,6 +2390,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityId", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2368,6 +2467,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2440,6 +2544,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2512,6 +2621,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityRepresentedOrganization", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2584,6 +2698,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2656,6 +2775,11 @@ public static boolean validateProcedureActivityObservationEntryRelationshipProce ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationEntryRelationshipProcedureObservationEncounterClassCode", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP_PROCEDURE_OBSERVATION_ENCOUNTER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2728,6 +2852,11 @@ public static boolean validateProcedureActivityObservationEntryRelationshipProce ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationEntryRelationshipProcedureObservationEncounterMoodCode", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP_PROCEDURE_OBSERVATION_ENCOUNTER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2800,6 +2929,11 @@ public static boolean validateProcedureActivityObservationEntryRelationshipProce ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationEntryRelationshipProcedureObservationEncounterId", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP_PROCEDURE_OBSERVATION_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2872,6 +3006,9 @@ public static boolean validateProcedureActivityObservationEntryRelationshipInver ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationEntryRelationshipInversionInd", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2944,6 +3081,9 @@ public static boolean validateProcedureActivityObservationEntryRelationshipTypeC ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3016,6 +3156,11 @@ public static boolean validateProcedureActivityObservationEntryRelationshipProce ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationEntryRelationshipProcedureObservationEncounter", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP_PROCEDURE_OBSERVATION_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedure2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedure2Operations.java index d837a6164c..1d62be09af 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedure2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedure2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -120,6 +121,9 @@ public static boolean validateProcedureActivityProcedure2CodeSuggestedCodeSystem ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedure2CodeSuggestedCodeSystems", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE2_CODE_SUGGESTED_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +191,8 @@ public static boolean validateProcedureActivityProcedure2TemplateId( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedure2TemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +239,8 @@ public static boolean validateProcedureActivityProcedureStatusCodeP( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedureStatusCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +301,9 @@ public static boolean validateProcedureActivityProcedure2AuthorParticipation( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedure2AuthorParticipation", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -339,6 +350,9 @@ public static boolean validateProcedureActivityProcedure2ReactionObservation2( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedure2ReactionObservation2", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE2_REACTION_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -496,6 +510,9 @@ public static boolean validateProcedureActivityProcedureInstructionsInversion( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureInstructionsInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_INSTRUCTIONS_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -542,6 +559,9 @@ public static boolean validateProcedureActivityProcedureCodeCodeSystems( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureCodeCodeSystems", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_CODE_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -588,6 +608,9 @@ public static boolean validateProcedureActivityProcedureServiceDeliveryLocationT ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureServiceDeliveryLocationTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_SERVICE_DELIVERY_LOCATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -634,6 +657,9 @@ public static boolean validateProcedureActivityProcedureTargetSiteCodeP( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureTargetSiteCodeP", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -702,6 +728,9 @@ public static boolean validateProcedureActivityProcedureTargetSiteCode( return true; } + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureTargetSiteCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -748,6 +777,8 @@ public static boolean validateProcedureActivityProcedureMoodCode( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedureMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1096,6 +1127,8 @@ public static boolean validateProcedureActivityProcedureStatusCode( return true; } + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedureStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1163,6 +1196,8 @@ public static boolean validateProcedureActivityProcedureIndication( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedureIndication", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1230,6 +1265,9 @@ public static boolean validateProcedureActivityProcedureMedicationActivity( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureMedicationActivity", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1297,6 +1335,9 @@ public static boolean validateProcedureActivityProcedurePatientInstruction( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedurePatientInstruction", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PATIENT_INSTRUCTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1364,6 +1405,8 @@ public static boolean validateProcedureActivityProcedureSpecimen( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedureSpecimen", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_SPECIMEN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1431,6 +1474,8 @@ public static boolean validateProcedureActivityProcedurePerformer( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedurePerformer", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1498,6 +1543,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedure2ProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1570,6 +1620,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedure2ProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1642,6 +1697,10 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureProcedureActivityPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedureOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedureOperations.java index 8142128bbf..f28c2e6f0e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedureOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedureOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -153,6 +154,9 @@ public static boolean validateProcedureActivityProcedureCodeCodeSystems( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureCodeCodeSystems", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_CODE_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -220,6 +224,9 @@ public static boolean validateProcedureActivityProcedureCodeOriginalText( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureCodeOriginalText", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,9 @@ public static boolean validateProcedureActivityProcedureOriginalTextReference( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureOriginalTextReference", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +364,9 @@ public static boolean validateProcedureActivityProcedureOriginalTextReferenceVal ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureOriginalTextReferenceValue", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -421,6 +434,8 @@ public static boolean validateProcedureActivityProcedureReferenceValue( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureReferenceValue", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -488,6 +503,9 @@ public static boolean validateProcedureActivityProcedureEncounterInversion( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureEncounterInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENCOUNTER_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -555,6 +573,9 @@ public static boolean validateProcedureActivityProcedureProductInstanceTypeCode( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureProductInstanceTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PRODUCT_INSTANCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -622,6 +643,9 @@ public static boolean validateProcedureActivityProcedureServiceDeliveryLocationT ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureServiceDeliveryLocationTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_SERVICE_DELIVERY_LOCATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -689,6 +713,9 @@ public static boolean validateProcedureActivityProcedureInstructionsInversion( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureInstructionsInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_INSTRUCTIONS_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +783,8 @@ public static boolean validateProcedureActivityProcedureTemplateId( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -823,6 +852,8 @@ public static boolean validateProcedureActivityProcedureClassCode( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureClassCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -892,6 +923,8 @@ public static boolean validateProcedureActivityProcedureMoodCode( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -957,6 +990,8 @@ public static boolean validateProcedureActivityProcedureMoodCode( public static boolean validateProcedureActivityProcedureId(ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1021,6 +1056,8 @@ public static boolean validateProcedureActivityProcedureId(ProcedureActivityProc public static boolean validateProcedureActivityProcedureCode(ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1088,6 +1125,8 @@ public static boolean validateProcedureActivityProcedureStatusCode( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1155,6 +1194,9 @@ public static boolean validateProcedureActivityProcedureEffectiveTime( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureEffectiveTime", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1222,6 +1264,8 @@ public static boolean validateProcedureActivityProcedurePriorityCodeP( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedurePriorityCodeP", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PRIORITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1313,6 +1357,8 @@ public static boolean validateProcedureActivityProcedurePriorityCode( return true; } + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedurePriorityCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PRIORITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1380,6 +1426,8 @@ public static boolean validateProcedureActivityProcedureMethodCode( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureMethodCode", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1447,6 +1495,9 @@ public static boolean validateProcedureActivityProcedureTargetSiteCodeP( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureTargetSiteCodeP", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1538,6 +1589,8 @@ public static boolean validateProcedureActivityProcedureTargetSiteCode( return true; } + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureTargetSiteCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1605,6 +1658,8 @@ public static boolean validateProcedureActivityProcedureIndication( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureIndication", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1672,6 +1727,8 @@ public static boolean validateProcedureActivityProcedureSpecimen( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureSpecimen", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_SPECIMEN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1738,6 +1795,9 @@ public static boolean validateProcedureActivityProcedureServiceDeliveryLocation( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureServiceDeliveryLocation", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_SERVICE_DELIVERY_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1805,6 +1865,8 @@ public static boolean validateProcedureActivityProcedurePerformer( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedurePerformer", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1872,6 +1934,9 @@ public static boolean validateProcedureActivityProcedureMedicationActivity( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureMedicationActivity", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1939,6 +2004,9 @@ public static boolean validateProcedureActivityProcedurePatientInstruction( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedurePatientInstruction", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PATIENT_INSTRUCTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2006,6 +2074,8 @@ public static boolean validateProcedureActivityProcedureProductInstance( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureProductInstance", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PRODUCT_INSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2073,6 +2143,9 @@ public static boolean validateProcedureActivityProcedureEntryRelationship( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationship", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2140,6 +2213,9 @@ public static boolean validateProcedureActivityProcedureProcedureSpecimenSpecime ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureProcedureSpecimenSpecimenRole", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_SPECIMEN_SPECIMEN_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2212,6 +2288,9 @@ public static boolean validateProcedureActivityProcedureProcedureSpecimenSpecime ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureProcedureSpecimenSpecimentRoleId", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_SPECIMEN_SPECIMENT_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2284,6 +2363,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationId", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_PROCEDURE_ACTIVITY_REPRESENTED_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2356,6 +2440,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationName", + "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_PROCEDURE_ACTIVITY_REPRESENTED_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2428,6 +2517,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_PROCEDURE_ACTIVITY_REPRESENTED_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2500,6 +2594,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_PROCEDURE_ACTIVITY_REPRESENTED_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2572,6 +2671,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityId", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2644,6 +2748,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2716,6 +2825,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2788,6 +2902,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityRepresentedOrganization", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2860,6 +2979,10 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2932,6 +3055,11 @@ public static boolean validateProcedureActivityProcedureEntryRelationshipProcedu ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationshipProcedureActivityEncounterClassCode", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP_PROCEDURE_ACTIVITY_ENCOUNTER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3004,6 +3132,11 @@ public static boolean validateProcedureActivityProcedureEntryRelationshipProcedu ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationshipProcedureActivityEncounterMoodCode", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP_PROCEDURE_ACTIVITY_ENCOUNTER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3076,6 +3209,11 @@ public static boolean validateProcedureActivityProcedureEntryRelationshipProcedu ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationshipProcedureActivityEncounterId", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP_PROCEDURE_ACTIVITY_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3148,6 +3286,9 @@ public static boolean validateProcedureActivityProcedureEntryRelationshipInversi ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationshipInversionInd", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3220,6 +3361,9 @@ public static boolean validateProcedureActivityProcedureEntryRelationshipTypeCod ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3292,6 +3436,10 @@ public static boolean validateProcedureActivityProcedureEntryRelationshipProcedu ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationshipProcedureActivityEncounter", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP_PROCEDURE_ACTIVITY_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureContextOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureContextOperations.java index 16c2c070ff..ddfa63ba12 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureContextOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureContextOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected ProcedureContextOperations() { public static boolean validateProcedureContextEffectiveTimeValue(ProcedureContext procedureContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureContextProcedureContextEffectiveTimeValue", "ERROR"); + if (VALIDATE_PROCEDURE_CONTEXT_EFFECTIVE_TIME_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateProcedureContextEffectiveTimeValue(ProcedureContex public static boolean validateProcedureContextTemplateId(ProcedureContext procedureContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureContextProcedureContextTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_CONTEXT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -223,6 +228,8 @@ public static boolean validateProcedureContextTemplateId(ProcedureContext proced public static boolean validateProcedureContextClassCode(ProcedureContext procedureContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureContextProcedureContextClassCode", "ERROR"); + if (VALIDATE_PROCEDURE_CONTEXT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -286,6 +293,8 @@ public static boolean validateProcedureContextClassCode(ProcedureContext procedu public static boolean validateProcedureContextMoodCode(ProcedureContext procedureContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureContextProcedureContextMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_CONTEXT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -349,6 +358,8 @@ public static boolean validateProcedureContextMoodCode(ProcedureContext procedur public static boolean validateProcedureContextCode(ProcedureContext procedureContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureContextProcedureContextCode", "ERROR"); + if (VALIDATE_PROCEDURE_CONTEXT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +423,8 @@ public static boolean validateProcedureContextCode(ProcedureContext procedureCon public static boolean validateProcedureContextEffectiveTime(ProcedureContext procedureContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureContextProcedureContextEffectiveTime", "WARNING"); + if (VALIDATE_PROCEDURE_CONTEXT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDescriptionSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDescriptionSectionOperations.java index 75526b134a..fdea692fda 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDescriptionSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDescriptionSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ public static boolean validateProcedureDescriptionSectionTemplateId( ProcedureDescriptionSection procedureDescriptionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDescriptionSectionProcedureDescriptionSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_DESCRIPTION_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateProcedureDescriptionSectionCode( ProcedureDescriptionSection procedureDescriptionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDescriptionSectionProcedureDescriptionSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_DESCRIPTION_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateProcedureDescriptionSectionCodeP( ProcedureDescriptionSection procedureDescriptionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDescriptionSectionProcedureDescriptionSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_DESCRIPTION_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validateProcedureDescriptionSectionText( ProcedureDescriptionSection procedureDescriptionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDescriptionSectionProcedureDescriptionSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_DESCRIPTION_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,8 @@ public static boolean validateProcedureDescriptionSectionTitle( ProcedureDescriptionSection procedureDescriptionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDescriptionSectionProcedureDescriptionSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_DESCRIPTION_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDispositionSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDispositionSectionOperations.java index 2bc514e1eb..f509d1f20e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDispositionSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDispositionSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ public static boolean validateProcedureDispositionSectionTemplateId( ProcedureDispositionSection procedureDispositionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDispositionSectionProcedureDispositionSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_DISPOSITION_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateProcedureDispositionSectionCode( ProcedureDispositionSection procedureDispositionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDispositionSectionProcedureDispositionSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_DISPOSITION_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateProcedureDispositionSectionCodeP( ProcedureDispositionSection procedureDispositionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDispositionSectionProcedureDispositionSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_DISPOSITION_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validateProcedureDispositionSectionText( ProcedureDispositionSection procedureDispositionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDispositionSectionProcedureDispositionSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_DISPOSITION_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,8 @@ public static boolean validateProcedureDispositionSectionTitle( ProcedureDispositionSection procedureDispositionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDispositionSectionProcedureDispositionSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_DISPOSITION_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureEstimatedBloodLossSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureEstimatedBloodLossSectionOperations.java index ca9fdd643f..a343549b65 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureEstimatedBloodLossSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureEstimatedBloodLossSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateProcedureEstimatedBloodLossSectionTemplateId( ProcedureEstimatedBloodLossSection procedureEstimatedBloodLossSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureEstimatedBloodLossSectionProcedureEstimatedBloodLossSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateProcedureEstimatedBloodLossSectionCode( ProcedureEstimatedBloodLossSection procedureEstimatedBloodLossSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureEstimatedBloodLossSectionProcedureEstimatedBloodLossSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateProcedureEstimatedBloodLossSectionCodeP( ProcedureEstimatedBloodLossSection procedureEstimatedBloodLossSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureEstimatedBloodLossSectionProcedureEstimatedBloodLossSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,9 @@ public static boolean validateProcedureEstimatedBloodLossSectionText( ProcedureEstimatedBloodLossSection procedureEstimatedBloodLossSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureEstimatedBloodLossSectionProcedureEstimatedBloodLossSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +378,9 @@ public static boolean validateProcedureEstimatedBloodLossSectionTitle( ProcedureEstimatedBloodLossSection procedureEstimatedBloodLossSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureEstimatedBloodLossSectionProcedureEstimatedBloodLossSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSection2Operations.java index 359e4eca42..37b12e5d72 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateProcedureFindingsSection2TemplateId( ProcedureFindingsSection2 procedureFindingsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSection2ProcedureFindingsSection2TemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -211,6 +214,8 @@ public static EList getConsolProblemObservation2s( public static boolean validateProcedureFindingsSectionCodeP(ProcedureFindingsSection2 procedureFindingsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSection2ProcedureFindingsSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +303,8 @@ public static boolean validateProcedureFindingsSectionCode(ProcedureFindingsSect return true; } + DatatypesUtil.increment(context, "ProcedureFindingsSection2ProcedureFindingsSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +370,8 @@ public static boolean validateProcedureFindingsSectionProblemObservation( ProcedureFindingsSection2 procedureFindingsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSection2ProcedureFindingsSectionProblemObservation", "INFO"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSectionOperations.java index 2fb9ed3e8f..912d1bed18 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected ProcedureFindingsSectionOperations() { public static boolean validateProcedureFindingsSectionTemplateId(ProcedureFindingsSection procedureFindingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSectionProcedureFindingsSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateProcedureFindingsSectionTemplateId(ProcedureFindin public static boolean validateProcedureFindingsSectionCode(ProcedureFindingsSection procedureFindingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSectionProcedureFindingsSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateProcedureFindingsSectionCode(ProcedureFindingsSect public static boolean validateProcedureFindingsSectionCodeP(ProcedureFindingsSection procedureFindingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSectionProcedureFindingsSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -276,6 +283,8 @@ public static boolean validateProcedureFindingsSectionCodeP(ProcedureFindingsSec public static boolean validateProcedureFindingsSectionText(ProcedureFindingsSection procedureFindingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSectionProcedureFindingsSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +370,8 @@ public static boolean validateProcedureFindingsSectionText(ProcedureFindingsSect public static boolean validateProcedureFindingsSectionTitle(ProcedureFindingsSection procedureFindingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSectionProcedureFindingsSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -426,6 +437,8 @@ public static boolean validateProcedureFindingsSectionProblemObservation( ProcedureFindingsSection procedureFindingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSectionProcedureFindingsSectionProblemObservation", "INFO"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureImplantsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureImplantsSectionOperations.java index 72a929f7df..84f6847d7f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureImplantsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureImplantsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected ProcedureImplantsSectionOperations() { public static boolean validateProcedureImplantsSectionTemplateId(ProcedureImplantsSection procedureImplantsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureImplantsSectionProcedureImplantsSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_IMPLANTS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateProcedureImplantsSectionTemplateId(ProcedureImplan public static boolean validateProcedureImplantsSectionCode(ProcedureImplantsSection procedureImplantsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureImplantsSectionProcedureImplantsSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_IMPLANTS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateProcedureImplantsSectionCode(ProcedureImplantsSect public static boolean validateProcedureImplantsSectionCodeP(ProcedureImplantsSection procedureImplantsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureImplantsSectionProcedureImplantsSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_IMPLANTS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateProcedureImplantsSectionCodeP(ProcedureImplantsSec public static boolean validateProcedureImplantsSectionText(ProcedureImplantsSection procedureImplantsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureImplantsSectionProcedureImplantsSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_IMPLANTS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateProcedureImplantsSectionText(ProcedureImplantsSect public static boolean validateProcedureImplantsSectionTitle(ProcedureImplantsSection procedureImplantsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureImplantsSectionProcedureImplantsSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_IMPLANTS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSection2Operations.java index f3ea13bb70..0539e1604f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateProcedureIndicationsSection2TemplateId( ProcedureIndicationsSection2 procedureIndicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSection2ProcedureIndicationsSection2TemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -210,6 +213,8 @@ public static boolean validateProcedureIndicationsSectionCodeP( ProcedureIndicationsSection2 procedureIndicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSection2ProcedureIndicationsSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +305,8 @@ public static boolean validateProcedureIndicationsSectionCode( return true; } + DatatypesUtil.increment(context, "ProcedureIndicationsSection2ProcedureIndicationsSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -366,6 +373,8 @@ public static boolean validateProcedureIndicationsSectionIndication( ProcedureIndicationsSection2 procedureIndicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSection2ProcedureIndicationsSectionIndication", "INFO"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSectionOperations.java index 782fbff18f..bb75b0135f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,8 @@ public static boolean validateProcedureIndicationsSectionTemplateId( ProcedureIndicationsSection procedureIndicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSectionProcedureIndicationsSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateProcedureIndicationsSectionCode( ProcedureIndicationsSection procedureIndicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSectionProcedureIndicationsSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +243,8 @@ public static boolean validateProcedureIndicationsSectionCodeP( ProcedureIndicationsSection procedureIndicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSectionProcedureIndicationsSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -283,6 +290,8 @@ public static boolean validateProcedureIndicationsSectionText( ProcedureIndicationsSection procedureIndicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSectionProcedureIndicationsSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +379,8 @@ public static boolean validateProcedureIndicationsSectionTitle( ProcedureIndicationsSection procedureIndicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSectionProcedureIndicationsSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +447,8 @@ public static boolean validateProcedureIndicationsSectionIndication( ProcedureIndicationsSection procedureIndicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSectionProcedureIndicationsSectionIndication", "INFO"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNote2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNote2Operations.java index 035a94504e..7cbf8087e5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNote2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNote2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -216,6 +217,11 @@ protected ProcedureNote2Operations() { public static boolean validateProcedureNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureNote2ProcedureNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_HAS_AN_ASSEMENT_AND_PLAN_SECTION2_OR_BOTH_ASSEMENT_SECTION_AND_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -282,6 +288,11 @@ public static boolean validateProcedureNote2HasAnAssementAndPlanSection2OrBothAs public static boolean validateProcedureNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureNote2ProcedureNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOES_NOT_HAVE_ASSEMENT_AND_PLAN_SECTION2_WHEN_ASSEMENT_OR_PLAN_OF_TREATMENT2_ARE_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -348,6 +359,10 @@ public static boolean validateProcedureNote2DoesNotHaveAssementAndPlanSection2Wh public static boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReasonForVisitSection( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReasonForVisitSection", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOES_NOT_HAVE_CHIEF_COMPLAINT_WITH_CHIEF_COMPLAINT_OR_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -414,6 +429,8 @@ public static boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefCo public static boolean validateProcedureNote2CodeP(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2CodeP", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -500,6 +517,8 @@ public static boolean validateProcedureNote2Code(ProcedureNote2 procedureNote2, return true; } + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2Code", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -563,6 +582,8 @@ public static boolean validateProcedureNote2Code(ProcedureNote2 procedureNote2, public static boolean validateProcedureNote2Participant(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2Participant", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -626,6 +647,8 @@ public static boolean validateProcedureNote2Participant(ProcedureNote2 procedure public static boolean validateProcedureNote2DocumentationOf(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2DocumentationOf", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -689,6 +712,8 @@ public static boolean validateProcedureNote2DocumentationOf(ProcedureNote2 proce public static boolean validateProcedureNote2Authorization(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2Authorization", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_AUTHORIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -752,6 +777,8 @@ public static boolean validateProcedureNote2Authorization(ProcedureNote2 procedu public static boolean validateProcedureNote2ComponentOf(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ComponentOf", "WARNING"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -815,6 +842,8 @@ public static boolean validateProcedureNote2ComponentOf(ProcedureNote2 procedure public static boolean validateProcedureNote2ComplicationsSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ComplicationsSection2", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPLICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -880,6 +909,8 @@ public static boolean validateProcedureNote2ComplicationsSection2(ProcedureNote2 public static boolean validateProcedureNote2ProcedureDescriptionSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureDescriptionSection", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_DESCRIPTION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -945,6 +976,8 @@ public static boolean validateProcedureNote2ProcedureDescriptionSection(Procedur public static boolean validateProcedureNote2ProcedureIndicationsSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureIndicationsSection2", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_INDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1010,6 +1043,8 @@ public static boolean validateProcedureNote2ProcedureIndicationsSection2(Procedu public static boolean validateProcedureNote2PostprocedureDiagnosisSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2PostprocedureDiagnosisSection2", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_POSTPROCEDURE_DIAGNOSIS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1075,6 +1110,8 @@ public static boolean validateProcedureNote2PostprocedureDiagnosisSection2(Proce public static boolean validateProcedureNote2AssessmentSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AssessmentSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1139,6 +1176,8 @@ public static boolean validateProcedureNote2AssessmentSection(ProcedureNote2 pro public static boolean validateProcedureNote2AssessmentAndPlanSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AssessmentAndPlanSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_ASSESSMENT_AND_PLAN_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1204,6 +1243,8 @@ public static boolean validateProcedureNote2AssessmentAndPlanSection2(ProcedureN public static boolean validateProcedureNote2PlanOfTreatmentSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2PlanOfTreatmentSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1269,6 +1310,8 @@ public static boolean validateProcedureNote2PlanOfTreatmentSection2(ProcedureNot public static boolean validateProcedureNote2AllergiesSectionEntriesOptional2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AllergiesSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_ALLERGIES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1334,6 +1377,8 @@ public static boolean validateProcedureNote2AllergiesSectionEntriesOptional2(Pro public static boolean validateProcedureNote2AnesthesiaSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AnesthesiaSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_ANESTHESIA_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1398,6 +1443,8 @@ public static boolean validateProcedureNote2AnesthesiaSection2(ProcedureNote2 pr public static boolean validateProcedureNote2ChiefComplaintSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ChiefComplaintSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1463,6 +1510,8 @@ public static boolean validateProcedureNote2ChiefComplaintSection(ProcedureNote2 public static boolean validateProcedureNote2ChiefComplaintAndReasonForVisitSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1529,6 +1578,8 @@ public static boolean validateProcedureNote2ChiefComplaintAndReasonForVisitSecti public static boolean validateProcedureNote2FamilyHistorySection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2FamilyHistorySection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_FAMILY_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1594,6 +1645,8 @@ public static boolean validateProcedureNote2FamilyHistorySection2(ProcedureNote2 public static boolean validateProcedureNote2HistoryOfPastIllnessSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2HistoryOfPastIllnessSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_HISTORY_OF_PAST_ILLNESS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1659,6 +1712,8 @@ public static boolean validateProcedureNote2HistoryOfPastIllnessSection2(Procedu public static boolean validateProcedureNote2HistoryOfPresentIllnessSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2HistoryOfPresentIllnessSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1724,6 +1779,8 @@ public static boolean validateProcedureNote2HistoryOfPresentIllnessSection(Proce public static boolean validateProcedureNote2MedicalHistorySection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2MedicalHistorySection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_MEDICAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1789,6 +1846,8 @@ public static boolean validateProcedureNote2MedicalHistorySection(ProcedureNote2 public static boolean validateProcedureNote2MedicationsSectionEntriesOptional2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2MedicationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1855,6 +1914,8 @@ public static boolean validateProcedureNote2MedicationsSectionEntriesOptional2(P public static boolean validateProcedureNote2MedicationsAdministeredSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2MedicationsAdministeredSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_MEDICATIONS_ADMINISTERED_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1920,6 +1981,8 @@ public static boolean validateProcedureNote2MedicationsAdministeredSection2(Proc public static boolean validateProcedureNote2PhysicalExamSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2PhysicalExamSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PHYSICAL_EXAM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1985,6 +2048,8 @@ public static boolean validateProcedureNote2PhysicalExamSection2(ProcedureNote2 public static boolean validateProcedureNote2PlannedProcedureSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2PlannedProcedureSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PLANNED_PROCEDURE_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2050,6 +2115,8 @@ public static boolean validateProcedureNote2PlannedProcedureSection2(ProcedureNo public static boolean validateProcedureNote2ProcedureDispositionSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureDispositionSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_DISPOSITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2115,6 +2182,8 @@ public static boolean validateProcedureNote2ProcedureDispositionSection(Procedur public static boolean validateProcedureNote2ProcedureEstimatedBloodLossSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureEstimatedBloodLossSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2181,6 +2250,8 @@ public static boolean validateProcedureNote2ProcedureEstimatedBloodLossSection(P public static boolean validateProcedureNote2ProcedureFindingsSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureFindingsSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_FINDINGS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2246,6 +2317,8 @@ public static boolean validateProcedureNote2ProcedureFindingsSection2(ProcedureN public static boolean validateProcedureNote2ProcedureImplantsSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureImplantsSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_IMPLANTS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2311,6 +2384,8 @@ public static boolean validateProcedureNote2ProcedureImplantsSection(ProcedureNo public static boolean validateProcedureNote2ProcedureSpecimensTakenSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureSpecimensTakenSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_SPECIMENS_TAKEN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2376,6 +2451,8 @@ public static boolean validateProcedureNote2ProcedureSpecimensTakenSection(Proce public static boolean validateProcedureNote2ProceduresSectionEntriesOptional2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProceduresSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2442,6 +2519,8 @@ public static boolean validateProcedureNote2ProceduresSectionEntriesOptional2(Pr public static boolean validateProcedureNote2ReasonForVisitSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ReasonForVisitSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2507,6 +2586,8 @@ public static boolean validateProcedureNote2ReasonForVisitSection(ProcedureNote2 public static boolean validateProcedureNote2ReviewOfSystemsSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ReviewOfSystemsSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2572,6 +2653,8 @@ public static boolean validateProcedureNote2ReviewOfSystemsSection(ProcedureNote public static boolean validateProcedureNote2SocialHistorySection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2SocialHistorySection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2637,6 +2720,8 @@ public static boolean validateProcedureNote2SocialHistorySection2(ProcedureNote2 public static boolean validateProcedureNote2ParticipantAssociatedEntityClassCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ParticipantAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2708,6 +2793,9 @@ public static boolean validateProcedureNote2ParticipantAssociatedEntityClassCode public static boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2ParticipantAssociatedEntityAssociatedPerson", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2779,6 +2867,8 @@ public static boolean validateProcedureNote2ParticipantAssociatedEntityAssociate public static boolean validateProcedureNote2ParticipantTypeCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ParticipantTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2851,6 +2941,8 @@ public static boolean validateProcedureNote2ParticipantTypeCode(ProcedureNote2 p public static boolean validateProcedureNote2ParticipantFunctionCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ParticipantFunctionCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT_FUNCTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2921,6 +3013,8 @@ public static boolean validateProcedureNote2ParticipantFunctionCode(ProcedureNot public static boolean validateProcedureNote2ParticipantFunctionCodeP(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ParticipantFunctionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT_FUNCTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2991,6 +3085,8 @@ public static boolean validateProcedureNote2ParticipantFunctionCodeP(ProcedureNo public static boolean validateProcedureNote2ParticipantAssociatedEntity(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ParticipantAssociatedEntity", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3061,6 +3157,9 @@ public static boolean validateProcedureNote2ParticipantAssociatedEntity(Procedur public static boolean validateProcedureNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_US_REALM_DATE_AND_TIME_DT_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3132,6 +3231,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventUSRealmDa public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntityCodeP( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssignedEntityCodeP", "WARNING"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3219,6 +3321,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntityCode( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssignedEntityCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3300,6 +3405,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerTypeCode( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3371,6 +3479,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntity( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssignedEntity", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3442,6 +3553,10 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCodeP( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCodeP", + "WARNING"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3529,6 +3644,10 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCode( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCode", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3610,6 +3729,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsTypeCode( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssistantsTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3681,6 +3803,10 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntity( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntity", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3752,6 +3878,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_HAS_HIGH_WHEN_NO_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3823,6 +3952,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventEffective public static boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWidth( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWidth", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_NO_HIGH_IF_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3894,6 +4026,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventEffective public static boolean validateProcedureNote2DocumentationOfServiceEventProcedureCodes(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventProcedureCodes", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PROCEDURE_CODES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3965,6 +4100,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventProcedure public static boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTime(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventEffectiveTime", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4036,6 +4174,8 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventEffective public static boolean validateProcedureNote2DocumentationOfServiceEventCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4107,6 +4247,8 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventCode(Proc public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformer", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4178,6 +4320,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistants( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssistants", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4249,6 +4394,8 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEvent(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4319,6 +4466,8 @@ public static boolean validateProcedureNote2DocumentationOfServiceEvent(Procedur public static boolean validateProcedureNote2AuthorizationConsentClassCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AuthorizationConsentClassCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_AUTHORIZATION_CONSENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4390,6 +4539,8 @@ public static boolean validateProcedureNote2AuthorizationConsentClassCode(Proced public static boolean validateProcedureNote2AuthorizationConsentMoodCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AuthorizationConsentMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_AUTHORIZATION_CONSENT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4460,6 +4611,8 @@ public static boolean validateProcedureNote2AuthorizationConsentMoodCode(Procedu public static boolean validateProcedureNote2AuthorizationConsentStatusCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AuthorizationConsentStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_AUTHORIZATION_CONSENT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4531,6 +4684,8 @@ public static boolean validateProcedureNote2AuthorizationConsentStatusCode(Proce public static boolean validateProcedureNote2AuthorizationTypeCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AuthorizationTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_AUTHORIZATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4601,6 +4756,8 @@ public static boolean validateProcedureNote2AuthorizationTypeCode(ProcedureNote2 public static boolean validateProcedureNote2AuthorizationConsent(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AuthorizationConsent", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_AUTHORIZATION_CONSENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4671,6 +4828,10 @@ public static boolean validateProcedureNote2AuthorizationConsent(ProcedureNote2 public static boolean validateProcedureNote2ComponentOfEncompassingEncounterEncounterParticipantTypeCode( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterEncounterParticipantTypeCode", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4742,6 +4903,10 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterEnco public static boolean validateProcedureNote2ComponentOfEncompassingEncounterLocationHealthCareFacilityId( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterLocationHealthCareFacilityId", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION_HEALTH_CARE_FACILITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4813,6 +4978,9 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterLoca public static boolean validateProcedureNote2ComponentOfEncompassingEncounterLocationHealthCareFacility( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterLocationHealthCareFacility", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION_HEALTH_CARE_FACILITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4884,6 +5052,8 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterLoca public static boolean validateProcedureNote2ComponentOfEncompassingEncounterId(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterId", "WARNING"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4955,6 +5125,8 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterId(P public static boolean validateProcedureNote2ComponentOfEncompassingEncounterCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5026,6 +5198,9 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterCode public static boolean validateProcedureNote2ComponentOfEncompassingEncounterEncounterParticipant( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterEncounterParticipant", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5097,6 +5272,9 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterEnco public static boolean validateProcedureNote2ComponentOfEncompassingEncounterLocation(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterLocation", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5168,6 +5346,8 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterLoca public static boolean validateProcedureNote2ComponentOfEncompassingEncounter(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6518,6 +6698,8 @@ public static SocialHistorySection2 getSocialHistorySection2(ProcedureNote2 proc public static boolean validateUSRealmHeader2TemplateId(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNoteOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNoteOperations.java index c18e350f83..d711fdae1f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNoteOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNoteOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -211,6 +212,10 @@ protected ProcedureNoteOperations() { public static boolean validateProcedureNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_HAS_AN_ASSEMENT_AND_PLAN_SECTION_OR_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -277,6 +282,11 @@ public static boolean validateProcedureNoteHasAnAssementAndPlanSectionOrIndividu public static boolean validateProcedureNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureNoteProcedureNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOES_NOT_HAVE_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS_WHEN_ASSEMENT_AND_PLAN_SECTION_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -343,6 +353,11 @@ public static boolean validateProcedureNoteDoesNotHaveIndividualAssementAndPlanS public static boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureNoteProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOES_NOT_HAVE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_WITH_CHIEF_COMPLAINT_SECTION_OR_REASON_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -409,6 +424,8 @@ public static boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonFor public static boolean validateProcedureNoteSectionTitles(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteSectionTitles", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_SECTION_TITLES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -472,6 +489,8 @@ public static boolean validateProcedureNoteSectionTitles(ProcedureNote procedure public static boolean validateGeneralHeaderConstraintsCodeP(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteGeneralHeaderConstraintsCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -548,6 +567,8 @@ public static boolean validateGeneralHeaderConstraintsCodeP(ProcedureNote proced public static boolean validateProcedureNoteComponentOf(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteComponentOf", "WARNING"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -611,6 +632,8 @@ public static boolean validateProcedureNoteComponentOf(ProcedureNote procedureNo public static boolean validateProcedureNoteAssessmentSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteAssessmentSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -674,6 +697,8 @@ public static boolean validateProcedureNoteAssessmentSection(ProcedureNote proce public static boolean validateProcedureNotePlanOfCareSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNotePlanOfCareSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +763,8 @@ public static boolean validateProcedureNotePlanOfCareSection(ProcedureNote proce public static boolean validateProcedureNoteAssessmentAndPlanSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteAssessmentAndPlanSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_ASSESSMENT_AND_PLAN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -803,6 +830,8 @@ public static boolean validateProcedureNoteAssessmentAndPlanSection(ProcedureNot public static boolean validateProcedureNoteComplicationsSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteComplicationsSection", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_COMPLICATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -867,6 +896,8 @@ public static boolean validateProcedureNoteComplicationsSection(ProcedureNote pr public static boolean validateProcedureNotePostprocedureDiagnosisSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNotePostprocedureDiagnosisSection", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_POSTPROCEDURE_DIAGNOSIS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +963,8 @@ public static boolean validateProcedureNotePostprocedureDiagnosisSection(Procedu public static boolean validateProcedureNoteProcedureDescriptionSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureDescriptionSection", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_DESCRIPTION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -997,6 +1030,8 @@ public static boolean validateProcedureNoteProcedureDescriptionSection(Procedure public static boolean validateProcedureNoteProcedureIndicationsSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureIndicationsSection", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_INDICATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1062,6 +1097,8 @@ public static boolean validateProcedureNoteProcedureIndicationsSection(Procedure public static boolean validateProcedureNoteAllergiesSectionEntriesOptional(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteAllergiesSectionEntriesOptional", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_ALLERGIES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1127,6 +1164,8 @@ public static boolean validateProcedureNoteAllergiesSectionEntriesOptional(Proce public static boolean validateProcedureNoteAnesthesiaSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteAnesthesiaSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_ANESTHESIA_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1190,6 +1229,8 @@ public static boolean validateProcedureNoteAnesthesiaSection(ProcedureNote proce public static boolean validateProcedureNoteChiefComplaintSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteChiefComplaintSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1255,6 +1296,8 @@ public static boolean validateProcedureNoteChiefComplaintSection(ProcedureNote p public static boolean validateProcedureNoteChiefComplaintAndReasonForVisitSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1321,6 +1364,8 @@ public static boolean validateProcedureNoteChiefComplaintAndReasonForVisitSectio public static boolean validateProcedureNoteFamilyHistorySection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteFamilyHistorySection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_FAMILY_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1386,6 +1431,8 @@ public static boolean validateProcedureNoteFamilyHistorySection(ProcedureNote pr public static boolean validateProcedureNoteHistoryOfPastIllnessSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteHistoryOfPastIllnessSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_HISTORY_OF_PAST_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1451,6 +1498,8 @@ public static boolean validateProcedureNoteHistoryOfPastIllnessSection(Procedure public static boolean validateProcedureNoteHistoryOfPresentIllnessSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteHistoryOfPresentIllnessSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1516,6 +1565,8 @@ public static boolean validateProcedureNoteHistoryOfPresentIllnessSection(Proced public static boolean validateProcedureNoteMedicalHistorySection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteMedicalHistorySection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_MEDICAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1581,6 +1632,8 @@ public static boolean validateProcedureNoteMedicalHistorySection(ProcedureNote p public static boolean validateProcedureNoteMedicationsSectionEntriesOptional(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteMedicationsSectionEntriesOptional", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1646,6 +1699,8 @@ public static boolean validateProcedureNoteMedicationsSectionEntriesOptional(Pro public static boolean validateProcedureNoteMedicationsAdministeredSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteMedicationsAdministeredSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_MEDICATIONS_ADMINISTERED_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1711,6 +1766,8 @@ public static boolean validateProcedureNoteMedicationsAdministeredSection(Proced public static boolean validateProcedureNotePhysicalExamSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNotePhysicalExamSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PHYSICAL_EXAM_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1775,6 +1832,8 @@ public static boolean validateProcedureNotePhysicalExamSection(ProcedureNote pro public static boolean validateProcedureNotePlannedProcedureSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNotePlannedProcedureSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PLANNED_PROCEDURE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1840,6 +1899,8 @@ public static boolean validateProcedureNotePlannedProcedureSection(ProcedureNote public static boolean validateProcedureNoteProcedureDispositionSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureDispositionSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_DISPOSITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1905,6 +1966,8 @@ public static boolean validateProcedureNoteProcedureDispositionSection(Procedure public static boolean validateProcedureNoteProcedureEstimatedBloodLossSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureEstimatedBloodLossSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1970,6 +2033,8 @@ public static boolean validateProcedureNoteProcedureEstimatedBloodLossSection(Pr public static boolean validateProcedureNoteProcedureFindingsSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureFindingsSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_FINDINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2035,6 +2100,8 @@ public static boolean validateProcedureNoteProcedureFindingsSection(ProcedureNot public static boolean validateProcedureNoteProcedureImplantsSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureImplantsSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_IMPLANTS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2100,6 +2167,8 @@ public static boolean validateProcedureNoteProcedureImplantsSection(ProcedureNot public static boolean validateProcedureNoteProcedureSpecimensTakenSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureSpecimensTakenSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_SPECIMENS_TAKEN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2165,6 +2234,8 @@ public static boolean validateProcedureNoteProcedureSpecimensTakenSection(Proced public static boolean validateProcedureNoteProceduresSectionEntriesOptional(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProceduresSectionEntriesOptional", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2230,6 +2301,8 @@ public static boolean validateProcedureNoteProceduresSectionEntriesOptional(Proc public static boolean validateProcedureNoteReasonForVisitSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteReasonForVisitSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2295,6 +2368,8 @@ public static boolean validateProcedureNoteReasonForVisitSection(ProcedureNote p public static boolean validateProcedureNoteReviewOfSystemsSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteReviewOfSystemsSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2360,6 +2435,8 @@ public static boolean validateProcedureNoteReviewOfSystemsSection(ProcedureNote public static boolean validateProcedureNoteSocialHistorySection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteSocialHistorySection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_SOCIAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2425,6 +2502,8 @@ public static boolean validateProcedureNoteSocialHistorySection(ProcedureNote pr public static boolean validateProcedureNoteParticipant1(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteParticipant1", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PARTICIPANT1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2488,6 +2567,8 @@ public static boolean validateProcedureNoteParticipant1(ProcedureNote procedureN public static boolean validateProcedureNoteDocumentationOf(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteDocumentationOf", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2551,6 +2632,10 @@ public static boolean validateProcedureNoteDocumentationOf(ProcedureNote procedu public static boolean validateProcedureNoteComponentOfEncompassingEncounter5LocationHealthCareFacilityId( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5LocationHealthCareFacilityId", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5_LOCATION_HEALTH_CARE_FACILITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2622,6 +2707,9 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Loca public static boolean validateProcedureNoteComponentOfEncompassingEncounter5LocationHealthCareFacility( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5LocationHealthCareFacility", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5_LOCATION_HEALTH_CARE_FACILITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2693,6 +2781,10 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Loca public static boolean validateProcedureNoteComponentOfEncompassingEncounter5EncounterParticipantTypeCode( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5EncounterParticipantTypeCode", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5_ENCOUNTER_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2764,6 +2856,8 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Enco public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Code(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5Code", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2835,6 +2929,9 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Code public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Location(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5Location", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2906,6 +3003,9 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Loca public static boolean validateProcedureNoteComponentOfEncompassingEncounter5EncounterParticipant( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5EncounterParticipant", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2977,6 +3077,8 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Enco public static boolean validateProcedureNoteComponentOfEncompassingEncounter5(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5", "WARNING"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3048,6 +3150,10 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5(Pro public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntityCodeP( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntityCodeP", + "WARNING"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRIMARY_PERFORMER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3135,6 +3241,10 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPe public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntityCode( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntityCode", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRIMARY_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3216,6 +3326,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPe public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerTypeCode( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRIMARY_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3287,6 +3400,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPe public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntity( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntity", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRIMARY_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3358,6 +3474,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPe public static boolean validateProcedureNoteDocumentationOfServiceEvent1ProcedureCodes(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1ProcedureCodes", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PROCEDURE_CODES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3429,6 +3548,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1Procedure public static boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasLow( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasLow", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_EFFECTIVE_TIME_HAS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3500,6 +3622,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1Effective public static boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasHighWhenNoWidth( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasHighWhenNoWidth", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_EFFECTIVE_TIME_HAS_HIGH_WHEN_NO_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3571,6 +3696,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1Effective public static boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeNoHighIfWidth( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1EffectiveTimeNoHighIfWidth", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_EFFECTIVE_TIME_NO_HIGH_IF_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3642,6 +3770,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1Effective public static boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheDay(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PreciseToTheDay", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3713,6 +3844,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseTo public static boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheMinute( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PreciseToTheMinute", "WARNING"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3784,6 +3918,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseTo public static boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheSecond( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PreciseToTheSecond", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3855,6 +3992,10 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseTo public static boolean validateProcedureNoteDocumentationOfServiceEvent1IfMorePreciseThanDayIncludeTimeZoneOffset( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1IfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3926,6 +4067,8 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1IfMorePre public static boolean validateProcedureNoteDocumentationOfServiceEvent1Code(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1Code", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3997,6 +4140,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1Code(Proc public static boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTime(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1EffectiveTime", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4068,6 +4214,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1Effective public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRIMARY_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4139,6 +4288,8 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPe public static boolean validateProcedureNoteDocumentationOfServiceEvent1(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5485,6 +5636,8 @@ public static SocialHistorySection getSocialHistorySection(ProcedureNote procedu public static boolean validateGeneralHeaderConstraintsTemplateId(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5560,6 +5713,8 @@ public static boolean validateGeneralHeaderConstraintsCode(ProcedureNote procedu return true; } + DatatypesUtil.increment(context, "ProcedureNoteGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureSpecimensTakenSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureSpecimensTakenSectionOperations.java index a1e9b936a3..fc656663af 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureSpecimensTakenSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureSpecimensTakenSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateProcedureSpecimensTakenSectionTemplateId( ProcedureSpecimensTakenSection procedureSpecimensTakenSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureSpecimensTakenSectionProcedureSpecimensTakenSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_SPECIMENS_TAKEN_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,8 @@ public static boolean validateProcedureSpecimensTakenSectionCode( ProcedureSpecimensTakenSection procedureSpecimensTakenSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureSpecimensTakenSectionProcedureSpecimensTakenSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_SPECIMENS_TAKEN_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +237,8 @@ public static boolean validateProcedureSpecimensTakenSectionCodeP( ProcedureSpecimensTakenSection procedureSpecimensTakenSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureSpecimensTakenSectionProcedureSpecimensTakenSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_SPECIMENS_TAKEN_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +306,8 @@ public static boolean validateProcedureSpecimensTakenSectionText( ProcedureSpecimensTakenSection procedureSpecimensTakenSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureSpecimensTakenSectionProcedureSpecimensTakenSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_SPECIMENS_TAKEN_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +375,8 @@ public static boolean validateProcedureSpecimensTakenSectionTitle( ProcedureSpecimensTakenSection procedureSpecimensTakenSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureSpecimensTakenSectionProcedureSpecimensTakenSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_SPECIMENS_TAKEN_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSection2Operations.java index 940f73511a..ee417e7f0b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSection2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -111,6 +112,8 @@ protected ProceduresSection2Operations() { public static boolean validateProceduresSection2HasProcedureActivity(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSection2HasProcedureActivity", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION2_HAS_PROCEDURE_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -176,6 +179,8 @@ public static boolean validateProceduresSection2HasProcedureActivity(ProceduresS public static boolean validateProceduresSection2NullFlavor(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSection2NullFlavor", "INFO"); + if (VALIDATE_PROCEDURES_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +244,8 @@ public static boolean validateProceduresSection2NullFlavor(ProceduresSection2 pr public static boolean validateProceduresSection2Title(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSection2Title", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +309,8 @@ public static boolean validateProceduresSection2Title(ProceduresSection2 procedu public static boolean validateProceduresSection2Text(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSection2Text", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +374,8 @@ public static boolean validateProceduresSection2Text(ProceduresSection2 procedur public static boolean validateProceduresSection2Entry(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSection2Entry", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION2_ENTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -428,6 +439,8 @@ public static boolean validateProceduresSection2Entry(ProceduresSection2 procedu public static boolean validateProceduresSection2EntryProcedureActivityAct2(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSection2EntryProcedureActivityAct2", "INFO"); + if (VALIDATE_PROCEDURES_SECTION2_ENTRY_PROCEDURE_ACTIVITY_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -499,6 +512,9 @@ public static boolean validateProceduresSection2EntryProcedureActivityAct2(Proce public static boolean validateProceduresSection2EntryProcedureActivityObservation2( ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSection2ProceduresSection2EntryProcedureActivityObservation2", "INFO"); + if (VALIDATE_PROCEDURES_SECTION2_ENTRY_PROCEDURE_ACTIVITY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -570,6 +586,9 @@ public static boolean validateProceduresSection2EntryProcedureActivityObservatio public static boolean validateProceduresSection2EntryProcedureActivityProcedure2( ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSection2ProceduresSection2EntryProcedureActivityProcedure2", "INFO"); + if (VALIDATE_PROCEDURES_SECTION2_ENTRY_PROCEDURE_ACTIVITY_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -641,6 +660,8 @@ public static boolean validateProceduresSection2EntryProcedureActivityProcedure2 public static boolean validateProceduresSectionEntriesOptionalTemplateId(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -765,6 +786,8 @@ public static EList getConsolProcedureActivityAct2s(Proce public static boolean validateProceduresSectionEntriesOptionalCodeP(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -854,6 +877,8 @@ public static boolean validateProceduresSectionEntriesOptionalCode(ProceduresSec return true; } + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -919,6 +944,9 @@ public static boolean validateProceduresSectionEntriesOptionalCode(ProceduresSec public static boolean validateProceduresSectionEntriesOptionalProcedureActivityProcedure( ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSection2ProceduresSectionEntriesOptionalProcedureActivityProcedure", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -985,6 +1013,9 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityP public static boolean validateProceduresSectionEntriesOptionalProcedureActivityObservation( ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSection2ProceduresSectionEntriesOptionalProcedureActivityObservation", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1051,6 +1082,9 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityO public static boolean validateProceduresSectionEntriesOptionalProcedureActivityAct( ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSection2ProceduresSectionEntriesOptionalProcedureActivityAct", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptional2Operations.java index 0c22d4a017..79902a57b0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -252,6 +253,9 @@ public static boolean validateProceduresSectionEntriesOptionalTemplateId( ProceduresSectionEntriesOptional2 proceduresSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptional2ProceduresSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -319,6 +323,9 @@ public static boolean validateProceduresSectionEntriesOptionalCodeP( ProceduresSectionEntriesOptional2 proceduresSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptional2ProceduresSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -411,6 +418,9 @@ public static boolean validateProceduresSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptional2ProceduresSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -478,6 +488,10 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityP ProceduresSectionEntriesOptional2 proceduresSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptional2ProceduresSectionEntriesOptionalProcedureActivityProcedure", + "INFO"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -545,6 +559,10 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityO ProceduresSectionEntriesOptional2 proceduresSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptional2ProceduresSectionEntriesOptionalProcedureActivityObservation", + "INFO"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -612,6 +630,9 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityA ProceduresSectionEntriesOptional2 proceduresSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptional2ProceduresSectionEntriesOptionalProcedureActivityAct", "INFO"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptionalOperations.java index 0bc5fba22f..7e27397b7b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -109,6 +110,9 @@ public static boolean validateProceduresSectionEntriesOptionalTemplateId( ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -178,6 +182,9 @@ public static boolean validateProceduresSectionEntriesOptionalCode( ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -245,6 +252,9 @@ public static boolean validateProceduresSectionEntriesOptionalCodeP( ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -312,6 +322,9 @@ public static boolean validateProceduresSectionEntriesOptionalTitle( ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -379,6 +392,9 @@ public static boolean validateProceduresSectionEntriesOptionalText( ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -446,6 +462,10 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityP ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalProcedureActivityProcedure", + "INFO"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -513,6 +533,10 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityO ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalProcedureActivityObservation", + "INFO"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -580,6 +604,9 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityA ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalProcedureActivityAct", "INFO"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionOperations.java index 866fc82296..db4af4c2aa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -108,6 +109,8 @@ protected ProceduresSectionOperations() { public static boolean validateProceduresSectionHasProcedureActivity(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionHasProcedureActivity", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_HAS_PROCEDURE_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +176,8 @@ public static boolean validateProceduresSectionHasProcedureActivity(ProceduresSe public static boolean validateProceduresSectionTitle(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +241,8 @@ public static boolean validateProceduresSectionTitle(ProceduresSection procedure public static boolean validateProceduresSectionProcedureActivityProcedure(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionProcedureActivityProcedure", "INFO"); + if (VALIDATE_PROCEDURES_SECTION_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -301,6 +308,8 @@ public static boolean validateProceduresSectionProcedureActivityProcedure(Proced public static boolean validateProceduresSectionProcedureActivityObservation(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionProcedureActivityObservation", "INFO"); + if (VALIDATE_PROCEDURES_SECTION_PROCEDURE_ACTIVITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +376,8 @@ public static boolean validateProceduresSectionProcedureActivityObservation(Proc public static boolean validateProceduresSectionProcedureActivityAct(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionProcedureActivityAct", "INFO"); + if (VALIDATE_PROCEDURES_SECTION_PROCEDURE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -580,6 +591,8 @@ public static EList getConsolProcedureActivityActs(Procedu public static boolean validateProceduresSectionEntriesOptionalTemplateId(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -645,6 +658,8 @@ public static boolean validateProceduresSectionEntriesOptionalTemplateId(Procedu public static boolean validateProceduresSectionEntriesOptionalCodeP(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -734,6 +749,8 @@ public static boolean validateProceduresSectionEntriesOptionalCode(ProceduresSec return true; } + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -799,6 +816,8 @@ public static boolean validateProceduresSectionEntriesOptionalCode(ProceduresSec public static boolean validateProceduresSectionEntriesOptionalText(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProductInstanceOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProductInstanceOperations.java index 64c2684dbe..99f0d5f99b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProductInstanceOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProductInstanceOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ParticipantRoleOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -101,6 +102,8 @@ protected ProductInstanceOperations() { public static boolean validateProductInstanceTemplateId(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstanceTemplateId", "ERROR"); + if (VALIDATE_PRODUCT_INSTANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateProductInstanceTemplateId(ProductInstance productI public static boolean validateProductInstanceClassCode(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstanceClassCode", "ERROR"); + if (VALIDATE_PRODUCT_INSTANCE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateProductInstanceClassCode(ProductInstance productIn public static boolean validateProductInstanceId(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstanceId", "ERROR"); + if (VALIDATE_PRODUCT_INSTANCE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validateProductInstanceId(ProductInstance productInstance, public static boolean validateProductInstanceScopingEntity(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstanceScopingEntity", "ERROR"); + if (VALIDATE_PRODUCT_INSTANCE_SCOPING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateProductInstanceScopingEntity(ProductInstance produ public static boolean validateProductInstancePlayingDevice(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstancePlayingDevice", "ERROR"); + if (VALIDATE_PRODUCT_INSTANCE_PLAYING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -416,6 +427,8 @@ public static boolean validateProductInstancePlayingDevice(ProductInstance produ public static boolean validateProductInstanceScopingEntityId(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstanceScopingEntityId", "ERROR"); + if (VALIDATE_PRODUCT_INSTANCE_SCOPING_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -486,6 +499,8 @@ public static boolean validateProductInstanceScopingEntityId(ProductInstance pro public static boolean validateProductInstancePlayingDeviceCode(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstancePlayingDeviceCode", "WARNING"); + if (VALIDATE_PRODUCT_INSTANCE_PLAYING_DEVICE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PrognosisObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PrognosisObservationOperations.java index 6c3d8f4b4f..b6d41d42be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PrognosisObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PrognosisObservationOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected PrognosisObservationOperations() { public static boolean validatePrognosisObservationTemplateId(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationTemplateId", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -159,6 +162,8 @@ public static boolean validatePrognosisObservationTemplateId(PrognosisObservatio public static boolean validatePrognosisObservationClassCode(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationClassCode", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -223,6 +228,8 @@ public static boolean validatePrognosisObservationClassCode(PrognosisObservation public static boolean validatePrognosisObservationMoodCode(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationMoodCode", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validatePrognosisObservationMoodCode(PrognosisObservation public static boolean validatePrognosisObservationCodeP(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationCodeP", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +382,8 @@ public static boolean validatePrognosisObservationCode(PrognosisObservation prog return true; } + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationCode", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validatePrognosisObservationCode(PrognosisObservation prog public static boolean validatePrognosisObservationStatusCode(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationStatusCode", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -501,6 +514,8 @@ public static boolean validatePrognosisObservationStatusCode(PrognosisObservatio public static boolean validatePrognosisObservationStatusCodeP(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationStatusCodeP", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -566,6 +581,8 @@ public static boolean validatePrognosisObservationStatusCodeP(PrognosisObservati public static boolean validatePrognosisObservationEffectiveTime(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationEffectiveTime", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -631,6 +648,8 @@ public static boolean validatePrognosisObservationEffectiveTime(PrognosisObserva public static boolean validatePrognosisObservationValue(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationValue", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNote2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNote2Operations.java index f1c68a84f8..1aca6e645b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNote2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNote2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -153,6 +154,11 @@ protected ProgressNote2Operations() { public static boolean validateProgressNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProgressNote2ProgressNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2", + "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_HAS_AN_ASSEMENT_AND_PLAN_SECTION2_OR_BOTH_ASSEMENT_SECTION_AND_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -219,6 +225,11 @@ public static boolean validateProgressNote2HasAnAssementAndPlanSection2OrBothAss public static boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProgressNote2ProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent", + "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_DOES_NOT_HAVE_ASSEMENT_AND_PLAN_SECTION2_WHEN_ASSEMENT_OR_PLAN_OF_TREATMENT2_ARE_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +296,8 @@ public static boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2Whe public static boolean validateProgressNote2CodeP(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2CodeP", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -371,6 +384,8 @@ public static boolean validateProgressNote2Code(ProgressNote2 progressNote2, Dia return true; } + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2Code", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -434,6 +449,8 @@ public static boolean validateProgressNote2Code(ProgressNote2 progressNote2, Dia public static boolean validateProgressNote2DocumentationOf(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2DocumentationOf", "WARNING"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -497,6 +514,8 @@ public static boolean validateProgressNote2DocumentationOf(ProgressNote2 progres public static boolean validateProgressNote2ComponentOf(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ComponentOf", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -560,6 +579,8 @@ public static boolean validateProgressNote2ComponentOf(ProgressNote2 progressNot public static boolean validateProgressNote2AssessmentSection(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2AssessmentSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -623,6 +644,8 @@ public static boolean validateProgressNote2AssessmentSection(ProgressNote2 progr public static boolean validateProgressNote2PlanOfTreatmentSection2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2PlanOfTreatmentSection2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -688,6 +711,8 @@ public static boolean validateProgressNote2PlanOfTreatmentSection2(ProgressNote2 public static boolean validateProgressNote2AssessmentAndPlanSection2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2AssessmentAndPlanSection2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_ASSESSMENT_AND_PLAN_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -753,6 +778,8 @@ public static boolean validateProgressNote2AssessmentAndPlanSection2(ProgressNot public static boolean validateProgressNote2AllergiesSectionEntriesOptional2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2AllergiesSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_ALLERGIES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -818,6 +845,8 @@ public static boolean validateProgressNote2AllergiesSectionEntriesOptional2(Prog public static boolean validateProgressNote2ChiefComplaintSection(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ChiefComplaintSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -883,6 +912,8 @@ public static boolean validateProgressNote2ChiefComplaintSection(ProgressNote2 p public static boolean validateProgressNote2InterventionsSection2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2InterventionsSection2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_INTERVENTIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -948,6 +979,8 @@ public static boolean validateProgressNote2InterventionsSection2(ProgressNote2 p public static boolean validateProgressNote2InstructionsSection2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2InstructionsSection2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_INSTRUCTIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1012,6 +1045,8 @@ public static boolean validateProgressNote2InstructionsSection2(ProgressNote2 pr public static boolean validateProgressNote2MedicationsSectionEntriesOptional2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2MedicationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1077,6 +1112,8 @@ public static boolean validateProgressNote2MedicationsSectionEntriesOptional2(Pr public static boolean validateProgressNote2ObjectiveSection(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ObjectiveSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_OBJECTIVE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1140,6 +1177,8 @@ public static boolean validateProgressNote2ObjectiveSection(ProgressNote2 progre public static boolean validateProgressNote2PhysicalExamSection2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2PhysicalExamSection2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_PHYSICAL_EXAM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1205,6 +1244,8 @@ public static boolean validateProgressNote2PhysicalExamSection2(ProgressNote2 pr public static boolean validateProgressNote2ProblemSectionEntriesOptional2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ProblemSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_PROBLEM_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1270,6 +1311,8 @@ public static boolean validateProgressNote2ProblemSectionEntriesOptional2(Progre public static boolean validateProgressNote2ResultsSectionEntriesOptional2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ResultsSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_RESULTS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1335,6 +1378,8 @@ public static boolean validateProgressNote2ResultsSectionEntriesOptional2(Progre public static boolean validateProgressNote2ReviewOfSystemsSection(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ReviewOfSystemsSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1400,6 +1445,8 @@ public static boolean validateProgressNote2ReviewOfSystemsSection(ProgressNote2 public static boolean validateProgressNote2SubjectiveSection(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2SubjectiveSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_SUBJECTIVE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1463,6 +1510,8 @@ public static boolean validateProgressNote2SubjectiveSection(ProgressNote2 progr public static boolean validateProgressNote2VitalSignsSectionEntriesOptional2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2VitalSignsSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1528,6 +1577,8 @@ public static boolean validateProgressNote2VitalSignsSectionEntriesOptional2(Pro public static boolean validateProgressNote2NutritionSection(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2NutritionSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_NUTRITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1591,6 +1642,9 @@ public static boolean validateProgressNote2NutritionSection(ProgressNote2 progre public static boolean validateProgressNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow", "WARNING"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_US_REALM_DATE_AND_TIME_DT_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1662,6 +1716,9 @@ public static boolean validateProgressNote2DocumentationOfServiceEventUSRealmDat public static boolean validateProgressNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_HAS_HIGH_WHEN_NO_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1733,6 +1790,8 @@ public static boolean validateProgressNote2DocumentationOfServiceEventEffectiveT public static boolean validateProgressNote2DocumentationOfServiceEventTemplateId(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2DocumentationOfServiceEventTemplateId", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1804,6 +1863,8 @@ public static boolean validateProgressNote2DocumentationOfServiceEventTemplateId public static boolean validateProgressNote2DocumentationOfServiceEventClassCode(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2DocumentationOfServiceEventClassCode", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1875,6 +1936,9 @@ public static boolean validateProgressNote2DocumentationOfServiceEventClassCode( public static boolean validateProgressNote2DocumentationOfServiceEventEffectiveTime(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2DocumentationOfServiceEventEffectiveTime", "WARNING"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1946,6 +2010,8 @@ public static boolean validateProgressNote2DocumentationOfServiceEventEffectiveT public static boolean validateProgressNote2DocumentationOfServiceEvent(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2DocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2016,6 +2082,9 @@ public static boolean validateProgressNote2DocumentationOfServiceEvent(ProgressN public static boolean validateProgressNote2ComponentOfEncompassingEncounterUSRealmDateAndTimeDTLow( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounterUSRealmDateAndTimeDTLow", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_US_REALM_DATE_AND_TIME_DT_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2087,6 +2156,9 @@ public static boolean validateProgressNote2ComponentOfEncompassingEncounterUSRea public static boolean validateProgressNote2ComponentOfEncompassingEncounterLocationHealthCareFacilityId( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounterLocationHealthCareFacilityId", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION_HEALTH_CARE_FACILITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2158,6 +2230,9 @@ public static boolean validateProgressNote2ComponentOfEncompassingEncounterLocat public static boolean validateProgressNote2ComponentOfEncompassingEncounterLocationHealthCareFacility( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounterLocationHealthCareFacility", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION_HEALTH_CARE_FACILITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2229,6 +2304,8 @@ public static boolean validateProgressNote2ComponentOfEncompassingEncounterLocat public static boolean validateProgressNote2ComponentOfEncompassingEncounterId(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounterId", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2300,6 +2377,9 @@ public static boolean validateProgressNote2ComponentOfEncompassingEncounterId(Pr public static boolean validateProgressNote2ComponentOfEncompassingEncounterEffectiveTime( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounterEffectiveTime", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2371,6 +2451,8 @@ public static boolean validateProgressNote2ComponentOfEncompassingEncounterEffec public static boolean validateProgressNote2ComponentOfEncompassingEncounterLocation(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounterLocation", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2442,6 +2524,8 @@ public static boolean validateProgressNote2ComponentOfEncompassingEncounterLocat public static boolean validateProgressNote2ComponentOfEncompassingEncounter(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3240,6 +3324,8 @@ public static NutritionSection getNutritionSection(ProgressNote2 progressNote2) public static boolean validateUSRealmHeader2TemplateId(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNoteOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNoteOperations.java index 2a90089265..8d080de49e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNoteOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNoteOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -165,6 +166,9 @@ protected ProgressNoteOperations() { public static boolean validateProgressNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_HAS_AN_ASSEMENT_AND_PLAN_SECTION_OR_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +235,11 @@ public static boolean validateProgressNoteHasAnAssementAndPlanSectionOrIndividua public static boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProgressNoteProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent", + "ERROR"); + if (VALIDATE_PROGRESS_NOTE_DOES_NOT_HAVE_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS_WHEN_ASSEMENT_AND_PLAN_SECTION_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +306,8 @@ public static boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSe public static boolean validateGeneralHeaderConstraintsCodeP(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteGeneralHeaderConstraintsCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +384,8 @@ public static boolean validateGeneralHeaderConstraintsCodeP(ProgressNote progres public static boolean validateProgressNoteDocumentationOf(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteDocumentationOf", "WARNING"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +449,8 @@ public static boolean validateProgressNoteDocumentationOf(ProgressNote progressN public static boolean validateProgressNoteComponentOf(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteComponentOf", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -499,6 +514,8 @@ public static boolean validateProgressNoteComponentOf(ProgressNote progressNote, public static boolean validateProgressNoteAssessmentSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteAssessmentSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -562,6 +579,8 @@ public static boolean validateProgressNoteAssessmentSection(ProgressNote progres public static boolean validateProgressNotePlanOfCareSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNotePlanOfCareSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -626,6 +645,8 @@ public static boolean validateProgressNotePlanOfCareSection(ProgressNote progres public static boolean validateProgressNoteAssessmentAndPlanSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteAssessmentAndPlanSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_ASSESSMENT_AND_PLAN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +712,8 @@ public static boolean validateProgressNoteAssessmentAndPlanSection(ProgressNote public static boolean validateProgressNoteAllergiesSectionEntriesOptional(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteAllergiesSectionEntriesOptional", "INFO"); + if (VALIDATE_PROGRESS_NOTE_ALLERGIES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +779,8 @@ public static boolean validateProgressNoteAllergiesSectionEntriesOptional(Progre public static boolean validateProgressNoteChiefComplaintSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteChiefComplaintSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -820,6 +845,8 @@ public static boolean validateProgressNoteChiefComplaintSection(ProgressNote pro public static boolean validateProgressNoteInterventionsSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteInterventionsSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_INTERVENTIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -884,6 +911,8 @@ public static boolean validateProgressNoteInterventionsSection(ProgressNote prog public static boolean validateProgressNoteMedicationsSectionEntriesOptional(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteMedicationsSectionEntriesOptional", "INFO"); + if (VALIDATE_PROGRESS_NOTE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -949,6 +978,8 @@ public static boolean validateProgressNoteMedicationsSectionEntriesOptional(Prog public static boolean validateProgressNoteObjectiveSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteObjectiveSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_OBJECTIVE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1012,6 +1043,8 @@ public static boolean validateProgressNoteObjectiveSection(ProgressNote progress public static boolean validateProgressNotePhysicalExamSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNotePhysicalExamSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_PHYSICAL_EXAM_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1076,6 +1109,8 @@ public static boolean validateProgressNotePhysicalExamSection(ProgressNote progr public static boolean validateProgressNoteProblemSectionEntriesOptional(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteProblemSectionEntriesOptional", "INFO"); + if (VALIDATE_PROGRESS_NOTE_PROBLEM_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1141,6 +1176,8 @@ public static boolean validateProgressNoteProblemSectionEntriesOptional(Progress public static boolean validateProgressNoteResultsSectionEntriesOptional(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteResultsSectionEntriesOptional", "INFO"); + if (VALIDATE_PROGRESS_NOTE_RESULTS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1206,6 +1243,8 @@ public static boolean validateProgressNoteResultsSectionEntriesOptional(Progress public static boolean validateProgressNoteReviewOfSystemsSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteReviewOfSystemsSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1271,6 +1310,8 @@ public static boolean validateProgressNoteReviewOfSystemsSection(ProgressNote pr public static boolean validateProgressNoteSubjectiveSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteSubjectiveSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_SUBJECTIVE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1334,6 +1375,8 @@ public static boolean validateProgressNoteSubjectiveSection(ProgressNote progres public static boolean validateProgressNoteVitalSignsSectionEntriesOptional(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteVitalSignsSectionEntriesOptional", "INFO"); + if (VALIDATE_PROGRESS_NOTE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1399,6 +1442,8 @@ public static boolean validateProgressNoteVitalSignsSectionEntriesOptional(Progr public static boolean validateProgressNoteInstructionsSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteInstructionsSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_INSTRUCTIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1463,6 +1508,9 @@ public static boolean validateProgressNoteInstructionsSection(ProgressNote progr public static boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTimeLow(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2EffectiveTimeLow", "WARNING"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1534,6 +1582,9 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveT public static boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTimeHigh(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2EffectiveTimeHigh", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1605,6 +1656,9 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveT public static boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheDay(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2PreciseToTheDay", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1676,6 +1730,9 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToT public static boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheMinute(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2PreciseToTheMinute", "WARNING"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1747,6 +1804,9 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToT public static boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheSecond(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2PreciseToTheSecond", "INFO"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1818,6 +1878,10 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToT public static boolean validateProgressNoteDocumentationOfServiceEvent2IfMorePreciseThanDayIncludeTimeZoneOffset( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2IfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1889,6 +1953,8 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2IfMorePrec public static boolean validateProgressNoteDocumentationOfServiceEvent2TemplateId(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2TemplateId", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1960,6 +2026,8 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2TemplateId public static boolean validateProgressNoteDocumentationOfServiceEvent2ClassCode(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2ClassCode", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2031,6 +2099,9 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2ClassCode( public static boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTime(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2EffectiveTime", "WARNING"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2102,6 +2173,8 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveT public static boolean validateProgressNoteDocumentationOfServiceEvent2(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2172,6 +2245,9 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2(ProgressN public static boolean validateProgressNoteComponentOfEncompassingEncounter6LocationHealthCareFacility1Id( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6LocationHealthCareFacility1Id", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_LOCATION_HEALTH_CARE_FACILITY1_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2243,6 +2319,9 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Locat public static boolean validateProgressNoteComponentOfEncompassingEncounter6LocationHealthCareFacility( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6LocationHealthCareFacility", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_LOCATION_HEALTH_CARE_FACILITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2314,6 +2393,9 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Locat public static boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheDay( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6PreciseToTheDay", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2385,6 +2467,9 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Preci public static boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheMinute( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6PreciseToTheMinute", "WARNING"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2456,6 +2541,9 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Preci public static boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheSecond( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6PreciseToTheSecond", "INFO"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2527,6 +2615,11 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Preci public static boolean validateProgressNoteComponentOfEncompassingEncounter6IfMorePreciseThanDayIncludeTimeZoneOffset( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProgressNoteProgressNoteComponentOfEncompassingEncounter6IfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2598,6 +2691,9 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6IfMor public static boolean validateProgressNoteComponentOfEncompassingEncounter6EffectiveTime(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6EffectiveTime", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2669,6 +2765,8 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Effec public static boolean validateProgressNoteComponentOfEncompassingEncounter6Id(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6Id", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2740,6 +2838,8 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Id(Pr public static boolean validateProgressNoteComponentOfEncompassingEncounter6Location(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6Location", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2811,6 +2911,8 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Locat public static boolean validateProgressNoteComponentOfEncompassingEncounter6(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3563,6 +3665,8 @@ public static InstructionsSection getInstructionsSection(ProgressNote progressNo public static boolean validateGeneralHeaderConstraintsTemplateId(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3638,6 +3742,8 @@ public static boolean validateGeneralHeaderConstraintsCode(ProgressNote progress return true; } + DatatypesUtil.increment(context, "ProgressNoteGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressTowardGoalObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressTowardGoalObservationOperations.java index ba3f8e539a..19a6668e40 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressTowardGoalObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressTowardGoalObservationOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,9 @@ public static boolean validateProgressTowardGoalObservationTemplateId( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressTowardGoalObservationProgressTowardGoalObservationTemplateId", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateProgressTowardGoalObservationClassCode( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressTowardGoalObservationProgressTowardGoalObservationClassCode", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,8 @@ public static boolean validateProgressTowardGoalObservationMoodCode( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressTowardGoalObservationProgressTowardGoalObservationMoodCode", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +307,8 @@ public static boolean validateProgressTowardGoalObservationId( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressTowardGoalObservationProgressTowardGoalObservationId", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +375,8 @@ public static boolean validateProgressTowardGoalObservationCodeP( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressTowardGoalObservationProgressTowardGoalObservationCodeP", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -456,6 +469,8 @@ public static boolean validateProgressTowardGoalObservationCode( return true; } + DatatypesUtil.increment(context, "ProgressTowardGoalObservationProgressTowardGoalObservationCode", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -524,6 +539,9 @@ public static boolean validateProgressTowardGoalObservationStatusCode( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressTowardGoalObservationProgressTowardGoalObservationStatusCode", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -591,6 +609,9 @@ public static boolean validateProgressTowardGoalObservationStatusCodeP( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressTowardGoalObservationProgressTowardGoalObservationStatusCodeP", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -660,6 +681,8 @@ public static boolean validateProgressTowardGoalObservationValue( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressTowardGoalObservationProgressTowardGoalObservationValue", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -727,6 +750,8 @@ public static boolean validateProgressTowardGoalObservationValueP( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressTowardGoalObservationProgressTowardGoalObservationValueP", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PurposeofReferenceObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PurposeofReferenceObservationOperations.java index 98d3c54fab..5ecbd5c65f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PurposeofReferenceObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PurposeofReferenceObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,9 @@ public static boolean validatePurposeofReferenceObservationCodeCodeSystem( PurposeofReferenceObservation purposeofReferenceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PurposeofReferenceObservationPurposeofReferenceObservationCodeCodeSystem", "WARNING"); + if (VALIDATE_PURPOSEOF_REFERENCE_OBSERVATION_CODE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +167,9 @@ public static boolean validatePurposeofReferenceObservationTemplateId( PurposeofReferenceObservation purposeofReferenceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PurposeofReferenceObservationPurposeofReferenceObservationTemplateId", "ERROR"); + if (VALIDATE_PURPOSEOF_REFERENCE_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +237,9 @@ public static boolean validatePurposeofReferenceObservationClassCode( PurposeofReferenceObservation purposeofReferenceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PurposeofReferenceObservationPurposeofReferenceObservationClassCode", "ERROR"); + if (VALIDATE_PURPOSEOF_REFERENCE_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +307,8 @@ public static boolean validatePurposeofReferenceObservationCode( PurposeofReferenceObservation purposeofReferenceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PurposeofReferenceObservationPurposeofReferenceObservationCode", "ERROR"); + if (VALIDATE_PURPOSEOF_REFERENCE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +376,8 @@ public static boolean validatePurposeofReferenceObservationMoodCode( PurposeofReferenceObservation purposeofReferenceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PurposeofReferenceObservationPurposeofReferenceObservationMoodCode", "ERROR"); + if (VALIDATE_PURPOSEOF_REFERENCE_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -433,6 +447,8 @@ public static boolean validatePurposeofReferenceObservationValue( PurposeofReferenceObservation purposeofReferenceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PurposeofReferenceObservationPurposeofReferenceObservationValue", "WARNING"); + if (VALIDATE_PURPOSEOF_REFERENCE_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/QuantityMeasurementObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/QuantityMeasurementObservationOperations.java index 850b28ec84..5c9bd793f5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/QuantityMeasurementObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/QuantityMeasurementObservationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -106,6 +107,9 @@ public static boolean validateQuantityMeasurementObservationCodeCodeSystemDIR( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationCodeCodeSystemDIR", "WARNING"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_CODE_CODE_SYSTEM_DIR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +177,9 @@ public static boolean validateQuantityMeasurementObservationCodeCodeSystemDICOM( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationCodeCodeSystemDICOM", "WARNING"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_CODE_CODE_SYSTEM_DICOM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -240,6 +247,9 @@ public static boolean validateQuantityMeasurementObservationTemplateId( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationTemplateId", "ERROR"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -307,6 +317,9 @@ public static boolean validateQuantityMeasurementObservationClassCode( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationClassCode", "ERROR"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -374,6 +387,9 @@ public static boolean validateQuantityMeasurementObservationMoodCode( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationMoodCode", "ERROR"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -441,6 +457,8 @@ public static boolean validateQuantityMeasurementObservationCode( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "QuantityMeasurementObservationQuantityMeasurementObservationCode", "ERROR"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -508,6 +526,9 @@ public static boolean validateQuantityMeasurementObservationEffectiveTime( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationEffectiveTime", "WARNING"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -575,6 +596,8 @@ public static boolean validateQuantityMeasurementObservationValue( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "QuantityMeasurementObservationQuantityMeasurementObservationValue", "ERROR"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -642,6 +665,9 @@ public static boolean validateQuantityMeasurementObservationSOPInstanceObservati QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationSOPInstanceObservation", "INFO"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_SOP_INSTANCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservation2Operations.java index 409cd8a67f..effbf987a6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservation2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -114,6 +115,8 @@ protected ReactionObservation2Operations() { public static boolean validateReactionObservationCodeValueSet(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationCodeValueSet", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_CODE_VALUE_SET__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -179,6 +182,8 @@ public static boolean validateReactionObservationCodeValueSet(ReactionObservatio public static boolean validateReactionObservation2TemplateId(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservation2TemplateId", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -243,6 +248,8 @@ public static boolean validateReactionObservation2TemplateId(ReactionObservation public static boolean validateReactionObservationCodeP(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationCodeP", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +305,8 @@ public static boolean validateReactionObservationCodeP(ReactionObservation2 reac public static boolean validateReactionObservationStatusCodeP(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationStatusCodeP", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -439,6 +448,9 @@ public static SeverityObservation2 getConsolSeverityObservation2(ReactionObserva public static boolean validateReactionObservationProcedureActivityProcedureInversionInd( ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReactionObservation2ReactionObservationProcedureActivityProcedureInversionInd", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_PROCEDURE_ACTIVITY_PROCEDURE_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -484,6 +496,9 @@ public static boolean validateReactionObservationProcedureActivityProcedureInver public static boolean validateReactionObservationMedicationActivityInversionInd( ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReactionObservation2ReactionObservationMedicationActivityInversionInd", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_MEDICATION_ACTIVITY_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -529,6 +544,9 @@ public static boolean validateReactionObservationMedicationActivityInversionInd( public static boolean validateReactionObservationSeverityObservationInversionInd( ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReactionObservation2ReactionObservationSeverityObservationInversionInd", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_SEVERITY_OBSERVATION_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -574,6 +592,8 @@ public static boolean validateReactionObservationSeverityObservationInversionInd public static boolean validateReactionObservationTextReference(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationTextReference", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -618,6 +638,8 @@ public static boolean validateReactionObservationTextReference(ReactionObservati public static boolean validateReactionObservationTextReferenceValue(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationTextReferenceValue", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -662,6 +684,8 @@ public static boolean validateReactionObservationTextReferenceValue(ReactionObse public static boolean validateReactionObservationReferenceValue(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationReferenceValue", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -714,6 +738,8 @@ public static boolean validateReactionObservationCode(ReactionObservation2 react return true; } + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationCode", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +782,8 @@ public static boolean validateReactionObservationCode(ReactionObservation2 react public static boolean validateReactionObservationId(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationId", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1070,6 +1098,8 @@ public static boolean validateReactionObservationId(ReactionObservation2 reactio public static boolean validateReactionObservationText(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationText", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1142,6 +1172,8 @@ public static boolean validateReactionObservationStatusCode(ReactionObservation2 return true; } + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationStatusCode", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1206,6 +1238,8 @@ public static boolean validateReactionObservationStatusCode(ReactionObservation2 public static boolean validateReactionObservationValueP(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationValueP", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1292,6 +1326,8 @@ public static boolean validateReactionObservationValue(ReactionObservation2 reac return true; } + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationValue", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1355,6 +1391,8 @@ public static boolean validateReactionObservationValue(ReactionObservation2 reac public static boolean validateReactionObservationProcedureActivityProcedure( ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationProcedureActivityProcedure", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1421,6 +1459,8 @@ public static boolean validateReactionObservationProcedureActivityProcedure( public static boolean validateReactionObservationMedicationActivity(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationMedicationActivity", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1486,6 +1526,8 @@ public static boolean validateReactionObservationMedicationActivity(ReactionObse public static boolean validateReactionObservationSeverityObservation(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationSeverityObservation", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_SEVERITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservationOperations.java index 5b7ef32b88..eedddd883b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -121,6 +122,8 @@ protected ReactionObservationOperations() { public static boolean validateReactionObservationTextReference(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationTextReference", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -186,6 +189,8 @@ public static boolean validateReactionObservationTextReference(ReactionObservati public static boolean validateReactionObservationTextReferenceValue(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationTextReferenceValue", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -251,6 +256,8 @@ public static boolean validateReactionObservationTextReferenceValue(ReactionObse public static boolean validateReactionObservationReferenceValue(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationReferenceValue", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -316,6 +323,8 @@ public static boolean validateReactionObservationReferenceValue(ReactionObservat public static boolean validateReactionObservationEffectiveTimeLow(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationEffectiveTimeLow", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -381,6 +390,8 @@ public static boolean validateReactionObservationEffectiveTimeLow(ReactionObserv public static boolean validateReactionObservationEffectiveTimeHigh(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationEffectiveTimeHigh", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -446,6 +457,9 @@ public static boolean validateReactionObservationEffectiveTimeHigh(ReactionObser public static boolean validateReactionObservationSeverityObservationInversionInd( ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReactionObservationReactionObservationSeverityObservationInversionInd", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_SEVERITY_OBSERVATION_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +526,9 @@ public static boolean validateReactionObservationSeverityObservationInversionInd public static boolean validateReactionObservationProcedureActivityProcedureInversionInd( ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReactionObservationReactionObservationProcedureActivityProcedureInversionInd", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_PROCEDURE_ACTIVITY_PROCEDURE_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -578,6 +595,9 @@ public static boolean validateReactionObservationProcedureActivityProcedureInver public static boolean validateReactionObservationMedicationActivityInversionInd( ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReactionObservationReactionObservationMedicationActivityInversionInd", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_MEDICATION_ACTIVITY_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -644,6 +664,8 @@ public static boolean validateReactionObservationMedicationActivityInversionInd( public static boolean validateReactionObservationTemplateId(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationTemplateId", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -708,6 +730,8 @@ public static boolean validateReactionObservationTemplateId(ReactionObservation public static boolean validateReactionObservationClassCode(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationClassCode", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -772,6 +796,8 @@ public static boolean validateReactionObservationClassCode(ReactionObservation r public static boolean validateReactionObservationMoodCode(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationMoodCode", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -835,6 +861,8 @@ public static boolean validateReactionObservationMoodCode(ReactionObservation re public static boolean validateReactionObservationId(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationId", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -898,6 +926,8 @@ public static boolean validateReactionObservationId(ReactionObservation reaction public static boolean validateReactionObservationCode(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationCode", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -961,6 +991,8 @@ public static boolean validateReactionObservationCode(ReactionObservation reacti public static boolean validateReactionObservationText(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationText", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1025,6 +1057,8 @@ public static boolean validateReactionObservationText(ReactionObservation reacti public static boolean validateReactionObservationStatusCode(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationStatusCode", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1089,6 +1123,8 @@ public static boolean validateReactionObservationStatusCode(ReactionObservation public static boolean validateReactionObservationEffectiveTime(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationEffectiveTime", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1156,6 +1192,8 @@ public static boolean validateReactionObservationEffectiveTime(ReactionObservati public static boolean validateReactionObservationValue(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationValue", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1219,6 +1257,8 @@ public static boolean validateReactionObservationValue(ReactionObservation react public static boolean validateReactionObservationValueP(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationValueP", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1282,6 +1322,8 @@ public static boolean validateReactionObservationValueP(ReactionObservation reac public static boolean validateReactionObservationSeverityObservation(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationSeverityObservation", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_SEVERITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1347,6 +1389,8 @@ public static boolean validateReactionObservationSeverityObservation(ReactionObs public static boolean validateReactionObservationProcedureActivityProcedure(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationProcedureActivityProcedure", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1413,6 +1457,8 @@ public static boolean validateReactionObservationProcedureActivityProcedure(Reac public static boolean validateReactionObservationMedicationActivity(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationMedicationActivity", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSection2Operations.java index 20fb780321..b7d7a2aa88 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateReasonForReferralSection2TemplateId( ReasonForReferralSection2 reasonForReferralSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSection2ReasonForReferralSection2TemplateId", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,9 @@ public static boolean validateReasonForReferralSection2PatientReferralAct( ReasonForReferralSection2 reasonForReferralSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReasonForReferralSection2ReasonForReferralSection2PatientReferralAct", "INFO"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION2_PATIENT_REFERRAL_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -277,6 +283,8 @@ public static EList getPatientReferralActs( public static boolean validateReasonForReferralSectionCodeP(ReasonForReferralSection2 reasonForReferralSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSection2ReasonForReferralSectionCodeP", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +373,8 @@ public static boolean validateReasonForReferralSectionCode(ReasonForReferralSect return true; } + DatatypesUtil.increment(context, "ReasonForReferralSection2ReasonForReferralSectionCode", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSectionOperations.java index 4119f327aa..2fa360d342 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected ReasonForReferralSectionOperations() { public static boolean validateReasonForReferralSectionTemplateId(ReasonForReferralSection reasonForReferralSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSectionReasonForReferralSectionTemplateId", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateReasonForReferralSectionTemplateId(ReasonForReferr public static boolean validateReasonForReferralSectionCode(ReasonForReferralSection reasonForReferralSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSectionReasonForReferralSectionCode", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateReasonForReferralSectionCode(ReasonForReferralSect public static boolean validateReasonForReferralSectionCodeP(ReasonForReferralSection reasonForReferralSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSectionReasonForReferralSectionCodeP", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validateReasonForReferralSectionCodeP(ReasonForReferralSec public static boolean validateReasonForReferralSectionTitle(ReasonForReferralSection reasonForReferralSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSectionReasonForReferralSectionTitle", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +363,8 @@ public static boolean validateReasonForReferralSectionTitle(ReasonForReferralSec public static boolean validateReasonForReferralSectionText(ReasonForReferralSection reasonForReferralSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSectionReasonForReferralSectionText", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForVisitSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForVisitSectionOperations.java index 5524a986b4..9b6f14dfcc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForVisitSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForVisitSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected ReasonForVisitSectionOperations() { public static boolean validateReasonForVisitSectionTemplateId(ReasonForVisitSection reasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForVisitSectionReasonForVisitSectionTemplateId", "ERROR"); + if (VALIDATE_REASON_FOR_VISIT_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateReasonForVisitSectionTemplateId(ReasonForVisitSect public static boolean validateReasonForVisitSectionCode(ReasonForVisitSection reasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForVisitSectionReasonForVisitSectionCode", "ERROR"); + if (VALIDATE_REASON_FOR_VISIT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateReasonForVisitSectionCode(ReasonForVisitSection re public static boolean validateReasonForVisitSectionCodeP(ReasonForVisitSection reasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForVisitSectionReasonForVisitSectionCodeP", "ERROR"); + if (VALIDATE_REASON_FOR_VISIT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateReasonForVisitSectionCodeP(ReasonForVisitSection r public static boolean validateReasonForVisitSectionText(ReasonForVisitSection reasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForVisitSectionReasonForVisitSectionText", "ERROR"); + if (VALIDATE_REASON_FOR_VISIT_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateReasonForVisitSectionText(ReasonForVisitSection re public static boolean validateReasonForVisitSectionTitle(ReasonForVisitSection reasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForVisitSectionReasonForVisitSectionTitle", "ERROR"); + if (VALIDATE_REASON_FOR_VISIT_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferencedFramesObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferencedFramesObservationOperations.java index be579c6071..0c8a43c403 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferencedFramesObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferencedFramesObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -99,6 +100,8 @@ public static boolean validateReferencedFramesObservationTemplateId( ReferencedFramesObservation referencedFramesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferencedFramesObservationReferencedFramesObservationTemplateId", "ERROR"); + if (VALIDATE_REFERENCED_FRAMES_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateReferencedFramesObservationClassCode( ReferencedFramesObservation referencedFramesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferencedFramesObservationReferencedFramesObservationClassCode", "ERROR"); + if (VALIDATE_REFERENCED_FRAMES_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateReferencedFramesObservationMoodCode( ReferencedFramesObservation referencedFramesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferencedFramesObservationReferencedFramesObservationMoodCode", "ERROR"); + if (VALIDATE_REFERENCED_FRAMES_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +309,8 @@ public static boolean validateReferencedFramesObservationCode( ReferencedFramesObservation referencedFramesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferencedFramesObservationReferencedFramesObservationCode", "ERROR"); + if (VALIDATE_REFERENCED_FRAMES_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +377,9 @@ public static boolean validateReferencedFramesObservationBoundaryObservation( ReferencedFramesObservation referencedFramesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferencedFramesObservationReferencedFramesObservationBoundaryObservation", "ERROR"); + if (VALIDATE_REFERENCED_FRAMES_OBSERVATION_BOUNDARY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferralNoteOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferralNoteOperations.java index f0d7598a97..fef6a29171 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferralNoteOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferralNoteOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -189,6 +190,11 @@ protected ReferralNoteOperations() { public static boolean validateReferralNoteHasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ReferralNoteReferralNoteHasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2", + "ERROR"); + if (VALIDATE_REFERRAL_NOTE_HAS_AN_ASSEMENT_AND_PLAN_SECTION2_OR_BOTH_ASSEMENT_SECTION_AND_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -255,6 +261,11 @@ public static boolean validateReferralNoteHasAnAssementAndPlanSection2OrBothAsse public static boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ReferralNoteReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent", + "ERROR"); + if (VALIDATE_REFERRAL_NOTE_DOES_NOT_HAVE_ASSEMENT_AND_PLAN_SECTION2_WHEN_ASSEMENT_AND_PLAN_OF_TREATMENT2_ARE_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -321,6 +332,8 @@ public static boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2When public static boolean validateReferralNoteCodeP(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteCodeP", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -407,6 +420,8 @@ public static boolean validateReferralNoteCode(ReferralNote referralNote, Diagno return true; } + DatatypesUtil.increment(context, "ReferralNoteReferralNoteCode", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -470,6 +485,8 @@ public static boolean validateReferralNoteCode(ReferralNote referralNote, Diagno public static boolean validateReferralNoteInformationRecipient(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteInformationRecipient", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -534,6 +551,8 @@ public static boolean validateReferralNoteInformationRecipient(ReferralNote refe public static boolean validateReferralNoteParticipantCaregiver(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteParticipantCaregiver", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -598,6 +617,8 @@ public static boolean validateReferralNoteParticipantCaregiver(ReferralNote refe public static boolean validateReferralNoteParticipantCallbackContact(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteParticipantCallbackContact", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -663,6 +684,8 @@ public static boolean validateReferralNoteParticipantCallbackContact(ReferralNot public static boolean validateReferralNotePlanOfTreatmentSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNotePlanOfTreatmentSection2", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -728,6 +751,8 @@ public static boolean validateReferralNotePlanOfTreatmentSection2(ReferralNote r public static boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteAdvanceDirectivesSectionEntriesOptional2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -794,6 +819,8 @@ public static boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptiona public static boolean validateReferralNoteHistoryOfPresentIllnessSection(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteHistoryOfPresentIllnessSection", "INFO"); + if (VALIDATE_REFERRAL_NOTE_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -859,6 +886,8 @@ public static boolean validateReferralNoteHistoryOfPresentIllnessSection(Referra public static boolean validateReferralNoteImmunizationsSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteImmunizationsSection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_IMMUNIZATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -923,6 +952,8 @@ public static boolean validateReferralNoteImmunizationsSection2(ReferralNote ref public static boolean validateReferralNoteProblemSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteProblemSection2", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PROBLEM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -986,6 +1017,8 @@ public static boolean validateReferralNoteProblemSection2(ReferralNote referralN public static boolean validateReferralNoteProceduresSectionEntriesOptional2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteProceduresSectionEntriesOptional2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_PROCEDURES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1051,6 +1084,8 @@ public static boolean validateReferralNoteProceduresSectionEntriesOptional2(Refe public static boolean validateReferralNoteResultsSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteResultsSection2", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_RESULTS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1114,6 +1149,8 @@ public static boolean validateReferralNoteResultsSection2(ReferralNote referralN public static boolean validateReferralNoteReviewOfSystemsSection(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteReviewOfSystemsSection", "INFO"); + if (VALIDATE_REFERRAL_NOTE_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1179,6 +1216,8 @@ public static boolean validateReferralNoteReviewOfSystemsSection(ReferralNote re public static boolean validateReferralNoteSocialHistorySection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteSocialHistorySection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1243,6 +1282,8 @@ public static boolean validateReferralNoteSocialHistorySection2(ReferralNote ref public static boolean validateReferralNoteVitalSignsSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteVitalSignsSection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_VITAL_SIGNS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1307,6 +1348,8 @@ public static boolean validateReferralNoteVitalSignsSection2(ReferralNote referr public static boolean validateReferralNoteFunctionalStatusSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteFunctionalStatusSection2", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_FUNCTIONAL_STATUS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1372,6 +1415,8 @@ public static boolean validateReferralNoteFunctionalStatusSection2(ReferralNote public static boolean validateReferralNotePhysicalExamSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNotePhysicalExamSection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_PHYSICAL_EXAM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1436,6 +1481,8 @@ public static boolean validateReferralNotePhysicalExamSection2(ReferralNote refe public static boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteAdvanceDirectivesSectionEntriesOptional2b", "INFO"); + if (VALIDATE_REFERRAL_NOTE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL2B__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1502,6 +1549,8 @@ public static boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptiona public static boolean validateReferralNoteNutritionSection(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteNutritionSection", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_NUTRITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1565,6 +1614,8 @@ public static boolean validateReferralNoteNutritionSection(ReferralNote referral public static boolean validateReferralNoteMentalStatusSection(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteMentalStatusSection", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_MENTAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1629,6 +1680,8 @@ public static boolean validateReferralNoteMentalStatusSection(ReferralNote refer public static boolean validateReferralNoteMedicalEquipmentSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteMedicalEquipmentSection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_MEDICAL_EQUIPMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1694,6 +1747,8 @@ public static boolean validateReferralNoteMedicalEquipmentSection2(ReferralNote public static boolean validateReferralNoteAllergiesSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteAllergiesSection2", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_ALLERGIES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1757,6 +1812,8 @@ public static boolean validateReferralNoteAllergiesSection2(ReferralNote referra public static boolean validateReferralNoteAssessmentSection(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteAssessmentSection", "INFO"); + if (VALIDATE_REFERRAL_NOTE_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1820,6 +1877,8 @@ public static boolean validateReferralNoteAssessmentSection(ReferralNote referra public static boolean validateReferralNoteAssessmentAndPlanSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteAssessmentAndPlanSection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_ASSESSMENT_AND_PLAN_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1885,6 +1944,8 @@ public static boolean validateReferralNoteAssessmentAndPlanSection2(ReferralNote public static boolean validateReferralNoteHistoryOfPastIllnessSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteHistoryOfPastIllnessSection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_HISTORY_OF_PAST_ILLNESS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1950,6 +2011,8 @@ public static boolean validateReferralNoteHistoryOfPastIllnessSection2(ReferralN public static boolean validateReferralNoteGeneralStatusSection(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteGeneralStatusSection", "INFO"); + if (VALIDATE_REFERRAL_NOTE_GENERAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2014,6 +2077,8 @@ public static boolean validateReferralNoteGeneralStatusSection(ReferralNote refe public static boolean validateReferralNoteMedicationsSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteMedicationsSection2", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_MEDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2078,6 +2143,8 @@ public static boolean validateReferralNoteMedicationsSection2(ReferralNote refer public static boolean validateReferralNoteReasonForReferralSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteReasonForReferralSection2", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_REASON_FOR_REFERRAL_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2143,6 +2210,8 @@ public static boolean validateReferralNoteReasonForReferralSection2(ReferralNote public static boolean validateReferralNoteFamilyHistorySection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteFamilyHistorySection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_FAMILY_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2207,6 +2276,9 @@ public static boolean validateReferralNoteFamilyHistorySection2(ReferralNote ref public static boolean validateReferralNoteInformationRecipientIntendedRecipientPersonName(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteInformationRecipientIntendedRecipientPersonName", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2278,6 +2350,9 @@ public static boolean validateReferralNoteInformationRecipientIntendedRecipientP public static boolean validateReferralNoteInformationRecipientIntendedRecipientAddr(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteInformationRecipientIntendedRecipientAddr", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2349,6 +2424,9 @@ public static boolean validateReferralNoteInformationRecipientIntendedRecipientA public static boolean validateReferralNoteInformationRecipientIntendedRecipientTelecom(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteInformationRecipientIntendedRecipientTelecom", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2420,6 +2498,9 @@ public static boolean validateReferralNoteInformationRecipientIntendedRecipientT public static boolean validateReferralNoteInformationRecipientIntendedRecipientInformationRecipient( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteInformationRecipientIntendedRecipientInformationRecipient", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2491,6 +2572,8 @@ public static boolean validateReferralNoteInformationRecipientIntendedRecipientI public static boolean validateReferralNoteInformationRecipientIntendedRecipient(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteInformationRecipientIntendedRecipient", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_INFORMATION_RECIPIENT_INTENDED_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2562,6 +2645,9 @@ public static boolean validateReferralNoteInformationRecipientIntendedRecipient( public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPersonName( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCaregiverAssociatedEntityAssociatedPersonName", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_ASSOCIATED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2633,6 +2719,9 @@ public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityAs public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityClassCodeP(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCaregiverAssociatedEntityClassCodeP", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_CLASS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2720,6 +2809,9 @@ public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityCl public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityClassCode(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCaregiverAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2801,6 +2893,9 @@ public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityCl public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPerson( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCaregiverAssociatedEntityAssociatedPerson", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2872,6 +2967,8 @@ public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityAs public static boolean validateReferralNoteParticipantCaregiverTypeCode(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteParticipantCaregiverTypeCode", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2942,6 +3039,8 @@ public static boolean validateReferralNoteParticipantCaregiverTypeCode(ReferralN public static boolean validateReferralNoteParticipantCaregiverAssociatedEntity(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteParticipantCaregiverAssociatedEntity", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3013,6 +3112,9 @@ public static boolean validateReferralNoteParticipantCaregiverAssociatedEntity(R public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAssociatedPersonName( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityAssociatedPersonName", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3084,6 +3186,9 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityId(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityId", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3155,6 +3260,9 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAddr(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityAddr", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3226,6 +3334,9 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityTelecom( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityTelecom", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3297,6 +3408,9 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityClassCode( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3368,6 +3482,9 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAssociatedPerson( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityAssociatedPerson", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3439,6 +3556,9 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityScopingOrganization( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityScopingOrganization", "INFO"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_SCOPING_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3510,6 +3630,8 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactTypeCode(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteParticipantCallbackContactTypeCode", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3581,6 +3703,8 @@ public static boolean validateReferralNoteParticipantCallbackContactTypeCode(Ref public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntity", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4741,6 +4865,8 @@ public static FamilyHistorySection2 getFamilyHistorySection2(ReferralNote referr public static boolean validateUSRealmHeader2TemplateId(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteUSRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservation2Operations.java index ac35e64d71..7fce7cbf4f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservation2Operations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -113,6 +114,8 @@ protected ResultObservation2Operations() { public static boolean validateResultObservation2TemplateId(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservation2TemplateId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -176,6 +179,8 @@ public static boolean validateResultObservation2TemplateId(ResultObservation2 re public static boolean validateResultObservationCodeP(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -252,6 +257,8 @@ public static boolean validateResultObservationCodeP(ResultObservation2 resultOb public static boolean validateResultObservationInterpretationCodeP(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationInterpretationCodeP", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -331,6 +338,8 @@ public static boolean validateResultObservationInterpretationCodeP(ResultObserva public static boolean validateResultObservation2AuthorParticipation(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -396,6 +405,8 @@ public static boolean validateResultObservation2AuthorParticipation(ResultObserv public static boolean validateResultObservation2ReferenceRange(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservation2ReferenceRange", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION2_REFERENCE_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -461,6 +472,9 @@ public static boolean validateResultObservation2ReferenceRange(ResultObservation public static boolean validateResultObservation2ReferenceRangeObservationRangeValue( ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ResultObservation2ResultObservation2ReferenceRangeObservationRangeValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION2_REFERENCE_RANGE_OBSERVATION_RANGE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -533,6 +547,9 @@ public static boolean validateResultObservation2ReferenceRangeObservationRangeVa public static boolean validateResultObservation2ReferenceRangeObservationRangeCode( ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ResultObservation2ResultObservation2ReferenceRangeObservationRangeCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION2_REFERENCE_RANGE_OBSERVATION_RANGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -604,6 +621,8 @@ public static boolean validateResultObservation2ReferenceRangeObservationRangeCo public static boolean validateResultObservation2ReferenceRangeObservationRange( ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservation2ReferenceRangeObservationRange", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION2_REFERENCE_RANGE_OBSERVATION_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -675,6 +694,8 @@ public static boolean validateResultObservation2ReferenceRangeObservationRange( public static boolean validateResultObservationAuthorMultiplicity(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationAuthorMultiplicity", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_AUTHOR_MULTIPLICITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -740,6 +761,8 @@ public static boolean validateResultObservationAuthorMultiplicity(ResultObservat public static boolean validateResultObservationCodeValue(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationCodeValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -803,6 +826,8 @@ public static boolean validateResultObservationCodeValue(ResultObservation2 resu public static boolean validateResultObservationTextReference(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationTextReference", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -867,6 +892,8 @@ public static boolean validateResultObservationTextReference(ResultObservation2 public static boolean validateResultObservationReferenceValue(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationReferenceValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +959,8 @@ public static boolean validateResultObservationReferenceValue(ResultObservation2 public static boolean validateResultObservationTextReferenceValue(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationTextReferenceValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -997,6 +1026,8 @@ public static boolean validateResultObservationTextReferenceValue(ResultObservat public static boolean validateResultObservationNoObservationRangeCode(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationNoObservationRangeCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_NO_OBSERVATION_RANGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1062,6 +1093,8 @@ public static boolean validateResultObservationNoObservationRangeCode(ResultObse public static boolean validateResultObservationEffectiveTime(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationEffectiveTime", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1126,6 +1159,8 @@ public static boolean validateResultObservationEffectiveTime(ResultObservation2 public static boolean validateResultObservationText(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationText", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1199,6 +1234,8 @@ public static boolean validateResultObservationCode(ResultObservation2 resultObs return true; } + DatatypesUtil.increment(context, "ResultObservation2ResultObservationCode", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1262,6 +1299,8 @@ public static boolean validateResultObservationCode(ResultObservation2 resultObs public static boolean validateResultObservationValue(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1335,6 +1374,8 @@ public static boolean validateResultObservationInterpretationCode(ResultObservat return true; } + DatatypesUtil.increment(context, "ResultObservation2ResultObservationInterpretationCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservationOperations.java index b9b305a6c5..efc933150c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -108,6 +109,8 @@ protected ResultObservationOperations() { public static boolean validateResultObservationTextReference(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationTextReference", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateResultObservationTextReference(ResultObservation r public static boolean validateResultObservationReferenceValue(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationReferenceValue", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,8 @@ public static boolean validateResultObservationReferenceValue(ResultObservation public static boolean validateResultObservationTextReferenceValue(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationTextReferenceValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +309,8 @@ public static boolean validateResultObservationTextReferenceValue(ResultObservat public static boolean validateResultObservationCodeValue(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationCodeValue", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +374,8 @@ public static boolean validateResultObservationCodeValue(ResultObservation resul public static boolean validateResultObservationNoObservationRangeCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationNoObservationRangeCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_NO_OBSERVATION_RANGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -430,6 +441,8 @@ public static boolean validateResultObservationNoObservationRangeCode(ResultObse public static boolean validateResultObservationAuthorMultiplicity(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationAuthorMultiplicity", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_AUTHOR_MULTIPLICITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -495,6 +508,8 @@ public static boolean validateResultObservationAuthorMultiplicity(ResultObservat public static boolean validateResultObservationTemplateId(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationTemplateId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -558,6 +573,8 @@ public static boolean validateResultObservationTemplateId(ResultObservation resu public static boolean validateResultObservationClassCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationClassCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -621,6 +638,8 @@ public static boolean validateResultObservationClassCode(ResultObservation resul public static boolean validateResultObservationMoodCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationMoodCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -684,6 +703,8 @@ public static boolean validateResultObservationMoodCode(ResultObservation result public static boolean validateResultObservationId(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -747,6 +768,8 @@ public static boolean validateResultObservationId(ResultObservation resultObserv public static boolean validateResultObservationCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -810,6 +833,8 @@ public static boolean validateResultObservationCode(ResultObservation resultObse public static boolean validateResultObservationText(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationText", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -875,6 +900,8 @@ public static boolean validateResultObservationText(ResultObservation resultObse public static boolean validateResultObservationStatusCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationStatusCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -938,6 +965,8 @@ public static boolean validateResultObservationStatusCode(ResultObservation resu public static boolean validateResultObservationStatusCodeP(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1001,6 +1030,8 @@ public static boolean validateResultObservationStatusCodeP(ResultObservation res public static boolean validateResultObservationEffectiveTime(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationEffectiveTime", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1065,6 +1096,8 @@ public static boolean validateResultObservationEffectiveTime(ResultObservation r public static boolean validateResultObservationValue(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1128,6 +1161,8 @@ public static boolean validateResultObservationValue(ResultObservation resultObs public static boolean validateResultObservationInterpretationCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationInterpretationCode", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1193,6 +1228,8 @@ public static boolean validateResultObservationInterpretationCode(ResultObservat public static boolean validateResultObservationMethodCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationMethodCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1256,6 +1293,8 @@ public static boolean validateResultObservationMethodCode(ResultObservation resu public static boolean validateResultObservationTargetSiteCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationTargetSiteCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizer2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizer2Operations.java index 5a2ca1e419..694e4d6e68 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizer2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizer2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -101,6 +102,8 @@ protected ResultOrganizer2Operations() { public static boolean validateResultOrganizer2TemplateId(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizer2TemplateId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateResultOrganizer2TemplateId(ResultOrganizer2 result public static boolean validateResultOrganizer2EffectiveTime(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizer2EffectiveTime", "INFO"); + if (VALIDATE_RESULT_ORGANIZER2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateResultOrganizer2EffectiveTime(ResultOrganizer2 res public static boolean validateResultOrganizer2AuthorParticipation(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizer2AuthorParticipation", "WARNING"); + if (VALIDATE_RESULT_ORGANIZER2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +300,8 @@ public static boolean validateResultOrganizer2AuthorParticipation(ResultOrganize public static boolean validateResultOrganizer2IVLTSLow(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizer2IVLTSLow", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER2_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +373,8 @@ public static boolean validateResultOrganizer2IVLTSLow(ResultOrganizer2 resultOr public static boolean validateResultOrganizer2IVLTSHigh(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizer2IVLTSHigh", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER2_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -482,6 +493,8 @@ public static EList getConsolResultObservation2s(ResultOrgan public static boolean validateResultOrganizerCodeValue(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizerCodeValue", "WARNING"); + if (VALIDATE_RESULT_ORGANIZER_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -545,6 +558,8 @@ public static boolean validateResultOrganizerCodeValue(ResultOrganizer2 resultOr public static boolean validateResultOrganizerClassCodeValue(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizerClassCodeValue", "INFO"); + if (VALIDATE_RESULT_ORGANIZER_CLASS_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -608,6 +623,8 @@ public static boolean validateResultOrganizerClassCodeValue(ResultOrganizer2 res public static boolean validateResultOrganizerResultObservation(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizerResultObservation", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizerOperations.java index 0cbc7b8c40..a8f9202164 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizerOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.OrganizerOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -106,6 +107,8 @@ protected ResultOrganizerOperations() { public static boolean validateResultOrganizerCodeValue(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerCodeValue", "WARNING"); + if (VALIDATE_RESULT_ORGANIZER_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateResultOrganizerCodeValue(ResultOrganizer resultOrg public static boolean validateResultOrganizerClassCodeValue(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerClassCodeValue", "WARNING"); + if (VALIDATE_RESULT_ORGANIZER_CLASS_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateResultOrganizerClassCodeValue(ResultOrganizer resu public static boolean validateResultOrganizerTemplateId(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerTemplateId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +302,8 @@ public static boolean validateResultOrganizerTemplateId(ResultOrganizer resultOr public static boolean validateResultOrganizerClassCode(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerClassCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +367,8 @@ public static boolean validateResultOrganizerClassCode(ResultOrganizer resultOrg public static boolean validateResultOrganizerMoodCode(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerMoodCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -421,6 +432,8 @@ public static boolean validateResultOrganizerMoodCode(ResultOrganizer resultOrga public static boolean validateResultOrganizerId(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -484,6 +497,8 @@ public static boolean validateResultOrganizerId(ResultOrganizer resultOrganizer, public static boolean validateResultOrganizerStatusCodeP(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -570,6 +585,8 @@ public static boolean validateResultOrganizerStatusCode(ResultOrganizer resultOr return true; } + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerStatusCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -633,6 +650,8 @@ public static boolean validateResultOrganizerStatusCode(ResultOrganizer resultOr public static boolean validateResultOrganizerCode(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -696,6 +715,8 @@ public static boolean validateResultOrganizerCode(ResultOrganizer resultOrganize public static boolean validateResultOrganizerResultObservation(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerResultObservation", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSection2Operations.java index 32ba4820e4..dc5acdaa97 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected ResultsSection2Operations() { public static boolean validateResultsSection2NullFlavor(ResultsSection2 resultsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSection2ResultsSection2NullFlavor", "INFO"); + if (VALIDATE_RESULTS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateResultsSection2NullFlavor(ResultsSection2 resultsS public static boolean validateResultsSection2Title(ResultsSection2 resultsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSection2ResultsSection2Title", "ERROR"); + if (VALIDATE_RESULTS_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateResultsSection2Title(ResultsSection2 resultsSectio public static boolean validateResultsSection2Text(ResultsSection2 resultsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSection2ResultsSection2Text", "ERROR"); + if (VALIDATE_RESULTS_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateResultsSection2Text(ResultsSection2 resultsSection public static boolean validateResultsSectionEntriesOptionalTemplateId(ResultsSection2 resultsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSection2ResultsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateResultsSectionEntriesOptionalTemplateId(ResultsSec public static boolean validateResultsSectionEntriesOptionalCodeP(ResultsSection2 resultsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSection2ResultsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -441,6 +452,8 @@ public static boolean validateResultsSectionEntriesOptionalCode(ResultsSection2 return true; } + DatatypesUtil.increment(context, "ResultsSection2ResultsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +519,8 @@ public static boolean validateResultsSectionEntriesOptionalCode(ResultsSection2 public static boolean validateResultsSectionEntriesOptionalResultOrganizer(ResultsSection2 resultsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSection2ResultsSectionEntriesOptionalResultOrganizer", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptional2Operations.java index a196446356..328bf70971 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -145,6 +146,9 @@ public static boolean validateResultsSectionEntriesOptionalTemplateId( ResultsSectionEntriesOptional2 resultsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ResultsSectionEntriesOptional2ResultsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -212,6 +216,8 @@ public static boolean validateResultsSectionEntriesOptionalCodeP( ResultsSectionEntriesOptional2 resultsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionEntriesOptional2ResultsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +310,8 @@ public static boolean validateResultsSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment(context, "ResultsSectionEntriesOptional2ResultsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -371,6 +379,9 @@ public static boolean validateResultsSectionEntriesOptionalResultOrganizer( ResultsSectionEntriesOptional2 resultsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ResultsSectionEntriesOptional2ResultsSectionEntriesOptionalResultOrganizer", "WARNING"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptionalOperations.java index dc1476ca97..a7d050ae37 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateResultsSectionEntriesOptionalTemplateId( ResultsSectionEntriesOptional resultsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ResultsSectionEntriesOptionalResultsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,8 @@ public static boolean validateResultsSectionEntriesOptionalCode( ResultsSectionEntriesOptional resultsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionEntriesOptionalResultsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +245,8 @@ public static boolean validateResultsSectionEntriesOptionalCodeP( ResultsSectionEntriesOptional resultsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionEntriesOptionalResultsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +314,8 @@ public static boolean validateResultsSectionEntriesOptionalTitle( ResultsSectionEntriesOptional resultsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionEntriesOptionalResultsSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +383,8 @@ public static boolean validateResultsSectionEntriesOptionalText( ResultsSectionEntriesOptional resultsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionEntriesOptionalResultsSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +452,9 @@ public static boolean validateResultsSectionEntriesOptionalResultOrganizer( ResultsSectionEntriesOptional resultsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ResultsSectionEntriesOptionalResultsSectionEntriesOptionalResultOrganizer", "WARNING"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionOperations.java index f5c939b711..316affb348 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected ResultsSectionOperations() { public static boolean validateResultsSectionText(ResultsSection resultsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionResultsSectionText", "ERROR"); + if (VALIDATE_RESULTS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateResultsSectionText(ResultsSection resultsSection, public static boolean validateResultsSectionResultOrganizer(ResultsSection resultsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionResultsSectionResultOrganizer", "ERROR"); + if (VALIDATE_RESULTS_SECTION_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -274,6 +279,8 @@ public static EList getConsolResultOrganizers(ResultsSection re public static boolean validateResultsSectionEntriesOptionalTemplateId(ResultsSection resultsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionResultsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -339,6 +346,8 @@ public static boolean validateResultsSectionEntriesOptionalTemplateId(ResultsSec public static boolean validateResultsSectionEntriesOptionalCodeP(ResultsSection resultsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionResultsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -428,6 +437,8 @@ public static boolean validateResultsSectionEntriesOptionalCode(ResultsSection r return true; } + DatatypesUtil.increment(context, "ResultsSectionResultsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -493,6 +504,8 @@ public static boolean validateResultsSectionEntriesOptionalCode(ResultsSection r public static boolean validateResultsSectionEntriesOptionalTitle(ResultsSection resultsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionResultsSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReviewOfSystemsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReviewOfSystemsSectionOperations.java index b5c24870ac..9d7dc183f6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReviewOfSystemsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReviewOfSystemsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected ReviewOfSystemsSectionOperations() { public static boolean validateReviewOfSystemsSectionTemplateId(ReviewOfSystemsSection reviewOfSystemsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReviewOfSystemsSectionReviewOfSystemsSectionTemplateId", "ERROR"); + if (VALIDATE_REVIEW_OF_SYSTEMS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateReviewOfSystemsSectionTemplateId(ReviewOfSystemsSe public static boolean validateReviewOfSystemsSectionCode(ReviewOfSystemsSection reviewOfSystemsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReviewOfSystemsSectionReviewOfSystemsSectionCode", "ERROR"); + if (VALIDATE_REVIEW_OF_SYSTEMS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateReviewOfSystemsSectionCode(ReviewOfSystemsSection public static boolean validateReviewOfSystemsSectionCodeP(ReviewOfSystemsSection reviewOfSystemsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReviewOfSystemsSectionReviewOfSystemsSectionCodeP", "ERROR"); + if (VALIDATE_REVIEW_OF_SYSTEMS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateReviewOfSystemsSectionCodeP(ReviewOfSystemsSection public static boolean validateReviewOfSystemsSectionTitle(ReviewOfSystemsSection reviewOfSystemsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReviewOfSystemsSectionReviewOfSystemsSectionTitle", "ERROR"); + if (VALIDATE_REVIEW_OF_SYSTEMS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateReviewOfSystemsSectionTitle(ReviewOfSystemsSection public static boolean validateReviewOfSystemsSectionText(ReviewOfSystemsSection reviewOfSystemsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReviewOfSystemsSectionReviewOfSystemsSectionText", "ERROR"); + if (VALIDATE_REVIEW_OF_SYSTEMS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/RiskConcernActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/RiskConcernActOperations.java index 0e09576292..52b1a7ad7a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/RiskConcernActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/RiskConcernActOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -205,6 +206,8 @@ protected RiskConcernActOperations() { public static boolean validateRiskConcernActTemplateId(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActTemplateId", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -268,6 +271,8 @@ public static boolean validateRiskConcernActTemplateId(RiskConcernAct riskConcer public static boolean validateRiskConcernActClassCode(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActClassCode", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -331,6 +336,8 @@ public static boolean validateRiskConcernActClassCode(RiskConcernAct riskConcern public static boolean validateRiskConcernActMoodCode(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActMoodCode", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -394,6 +401,8 @@ public static boolean validateRiskConcernActMoodCode(RiskConcernAct riskConcernA public static boolean validateRiskConcernActId(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActId", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -457,6 +466,8 @@ public static boolean validateRiskConcernActId(RiskConcernAct riskConcernAct, Di public static boolean validateRiskConcernActCodeP(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActCodeP", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -543,6 +554,8 @@ public static boolean validateRiskConcernActCode(RiskConcernAct riskConcernAct, return true; } + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActCode", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -608,6 +621,8 @@ public static boolean validateRiskConcernActCode(RiskConcernAct riskConcernAct, public static boolean validateRiskConcernActStatusCode(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActStatusCode", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +686,8 @@ public static boolean validateRiskConcernActStatusCode(RiskConcernAct riskConcer public static boolean validateRiskConcernActStatusCodeP(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActStatusCodeP", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -734,6 +751,8 @@ public static boolean validateRiskConcernActStatusCodeP(RiskConcernAct riskConce public static boolean validateRiskConcernActEffectiveTime(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActEffectiveTime", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -797,6 +816,8 @@ public static boolean validateRiskConcernActEffectiveTime(RiskConcernAct riskCon public static boolean validateRiskConcernActAuthorParticipation(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActAuthorParticipation", "WARNING"); + if (VALIDATE_RISK_CONCERN_ACT_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -862,6 +883,8 @@ public static boolean validateRiskConcernActAuthorParticipation(RiskConcernAct r public static boolean validateRiskConcernActProblemObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActProblemObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PROBLEM_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -927,6 +950,8 @@ public static boolean validateRiskConcernActProblemObservation2(RiskConcernAct r public static boolean validateRiskConcernActAllergyObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActAllergyObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_ALLERGY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -992,6 +1017,8 @@ public static boolean validateRiskConcernActAllergyObservation2(RiskConcernAct r public static boolean validateRiskConcernActEntryReferenceRelatesTo(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActEntryReferenceRelatesTo", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_ENTRY_REFERENCE_RELATES_TO__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1057,6 +1084,8 @@ public static boolean validateRiskConcernActEntryReferenceRelatesTo(RiskConcernA public static boolean validateRiskConcernActEntryReferenceHasComponent(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActEntryReferenceHasComponent", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_ENTRY_REFERENCE_HAS_COMPONENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1122,6 +1151,8 @@ public static boolean validateRiskConcernActEntryReferenceHasComponent(RiskConce public static boolean validateRiskConcernActAssessmentScaleObservation(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActAssessmentScaleObservation", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1187,6 +1218,8 @@ public static boolean validateRiskConcernActAssessmentScaleObservation(RiskConce public static boolean validateRiskConcernActMentalStatusObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActMentalStatusObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_MENTAL_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1252,6 +1285,8 @@ public static boolean validateRiskConcernActMentalStatusObservation2(RiskConcern public static boolean validateRiskConcernActSelfCareActivities(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActSelfCareActivities", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_SELF_CARE_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1317,6 +1352,8 @@ public static boolean validateRiskConcernActSelfCareActivities(RiskConcernAct ri public static boolean validateRiskConcernActMentalStatusObservation2B(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActMentalStatusObservation2B", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_MENTAL_STATUS_OBSERVATION2_B__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1382,6 +1419,8 @@ public static boolean validateRiskConcernActMentalStatusObservation2B(RiskConcer public static boolean validateRiskConcernActSmokingStatusMeaningfulUse2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActSmokingStatusMeaningfulUse2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_SMOKING_STATUS_MEANINGFUL_USE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1447,6 +1486,8 @@ public static boolean validateRiskConcernActSmokingStatusMeaningfulUse2(RiskConc public static boolean validateRiskConcernActEncounterDiagnosis2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActEncounterDiagnosis2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_ENCOUNTER_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1512,6 +1553,8 @@ public static boolean validateRiskConcernActEncounterDiagnosis2(RiskConcernAct r public static boolean validateRiskConcernActFamilyHistoryOrganizer2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActFamilyHistoryOrganizer2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_FAMILY_HISTORY_ORGANIZER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1577,6 +1620,8 @@ public static boolean validateRiskConcernActFamilyHistoryOrganizer2(RiskConcernA public static boolean validateRiskConcernActFunctionalStatusObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActFunctionalStatusObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_FUNCTIONAL_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1642,6 +1687,8 @@ public static boolean validateRiskConcernActFunctionalStatusObservation2(RiskCon public static boolean validateRiskConcernActHospitalAdmissionDiagnosis2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActHospitalAdmissionDiagnosis2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_HOSPITAL_ADMISSION_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1707,6 +1754,8 @@ public static boolean validateRiskConcernActHospitalAdmissionDiagnosis2(RiskConc public static boolean validateRiskConcernActMentalStatusObservation2C(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActMentalStatusObservation2C", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_MENTAL_STATUS_OBSERVATION2_C__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1772,6 +1821,8 @@ public static boolean validateRiskConcernActMentalStatusObservation2C(RiskConcer public static boolean validateRiskConcernActNutritionAssessment(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActNutritionAssessment", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_NUTRITION_ASSESSMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1837,6 +1888,8 @@ public static boolean validateRiskConcernActNutritionAssessment(RiskConcernAct r public static boolean validateRiskConcernActNutritionAssessmentB(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActNutritionAssessmentB", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_NUTRITION_ASSESSMENT_B__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1902,6 +1955,8 @@ public static boolean validateRiskConcernActNutritionAssessmentB(RiskConcernAct public static boolean validateRiskConcernActPostprocedureDiagnosis2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActPostprocedureDiagnosis2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_POSTPROCEDURE_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1967,6 +2022,8 @@ public static boolean validateRiskConcernActPostprocedureDiagnosis2(RiskConcernA public static boolean validateRiskConcernActPregnancyObservation(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActPregnancyObservation", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PREGNANCY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2032,6 +2089,8 @@ public static boolean validateRiskConcernActPregnancyObservation(RiskConcernAct public static boolean validateRiskConcernActPreoperativeDiagnosis2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActPreoperativeDiagnosis2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PREOPERATIVE_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2097,6 +2156,8 @@ public static boolean validateRiskConcernActPreoperativeDiagnosis2(RiskConcernAc public static boolean validateRiskConcernActReactionObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActReactionObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_REACTION_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2162,6 +2223,8 @@ public static boolean validateRiskConcernActReactionObservation2(RiskConcernAct public static boolean validateRiskConcernActResultObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActResultObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_RESULT_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2227,6 +2290,8 @@ public static boolean validateRiskConcernActResultObservation2(RiskConcernAct ri public static boolean validateRiskConcernActSensoryStatus(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActSensoryStatus", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_SENSORY_STATUS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2290,6 +2355,8 @@ public static boolean validateRiskConcernActSensoryStatus(RiskConcernAct riskCon public static boolean validateRiskConcernActSocialHistoryObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActSocialHistoryObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_SOCIAL_HISTORY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2355,6 +2422,8 @@ public static boolean validateRiskConcernActSocialHistoryObservation2(RiskConcer public static boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActSubstanceOrDeviceAllergyObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2421,6 +2490,8 @@ public static boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2 public static boolean validateRiskConcernActTobaccoUse2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActTobaccoUse2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_TOBACCO_USE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2484,6 +2555,8 @@ public static boolean validateRiskConcernActTobaccoUse2(RiskConcernAct riskConce public static boolean validateRiskConcernActVitalSignObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActVitalSignObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_VITAL_SIGN_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2549,6 +2622,8 @@ public static boolean validateRiskConcernActVitalSignObservation2(RiskConcernAct public static boolean validateRiskConcernActWoundObservation(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActWoundObservation", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_WOUND_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2613,6 +2688,8 @@ public static boolean validateRiskConcernActWoundObservation(RiskConcernAct risk public static boolean validateRiskConcernActProblemObservation2HasSupport(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActProblemObservation2HasSupport", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PROBLEM_OBSERVATION2_HAS_SUPPORT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2678,6 +2755,8 @@ public static boolean validateRiskConcernActProblemObservation2HasSupport(RiskCo public static boolean validateRiskConcernActCaregiverCharacteristics(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActCaregiverCharacteristics", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2743,6 +2822,8 @@ public static boolean validateRiskConcernActCaregiverCharacteristics(RiskConcern public static boolean validateRiskConcernActCulturalAndReligiousObservation(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActCulturalAndReligiousObservation", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_CULTURAL_AND_RELIGIOUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2808,6 +2889,8 @@ public static boolean validateRiskConcernActCulturalAndReligiousObservation(Risk public static boolean validateRiskConcernActCharacteristicsOfHomeEnvironment(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActCharacteristicsOfHomeEnvironment", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_CHARACTERISTICS_OF_HOME_ENVIRONMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2873,6 +2956,8 @@ public static boolean validateRiskConcernActCharacteristicsOfHomeEnvironment(Ris public static boolean validateRiskConcernActNutritionalStatusObservation(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActNutritionalStatusObservation", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_NUTRITIONAL_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2938,6 +3023,8 @@ public static boolean validateRiskConcernActNutritionalStatusObservation(RiskCon public static boolean validateRiskConcernActResultOrganizer2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActResultOrganizer2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_RESULT_ORGANIZER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3002,6 +3089,8 @@ public static boolean validateRiskConcernActResultOrganizer2(RiskConcernAct risk public static boolean validateRiskConcernActPriorityPreferencePatient(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActPriorityPreferencePatient", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PRIORITY_PREFERENCE_PATIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3067,6 +3156,8 @@ public static boolean validateRiskConcernActPriorityPreferencePatient(RiskConcer public static boolean validateRiskConcernActPriorityPreferenceProvider(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActPriorityPreferenceProvider", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PRIORITY_PREFERENCE_PROVIDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3132,6 +3223,8 @@ public static boolean validateRiskConcernActPriorityPreferenceProvider(RiskConce public static boolean validateRiskConcernActProblemConcernAct2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActProblemConcernAct2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PROBLEM_CONCERN_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3197,6 +3290,8 @@ public static boolean validateRiskConcernActProblemConcernAct2(RiskConcernAct ri public static boolean validateRiskConcernActEntryReferenceHealthConcern(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActEntryReferenceHealthConcern", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_ENTRY_REFERENCE_HEALTH_CONCERN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3262,6 +3357,8 @@ public static boolean validateRiskConcernActEntryReferenceHealthConcern(RiskConc public static boolean validateRiskConcernActReference(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActReference", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3325,6 +3422,8 @@ public static boolean validateRiskConcernActReference(RiskConcernAct riskConcern public static boolean validateRiskConcernActReferenceTypeCode(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActReferenceTypeCode", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3395,6 +3494,8 @@ public static boolean validateRiskConcernActReferenceTypeCode(RiskConcernAct ris public static boolean validateRiskConcernActReferenceExternalDocumentReference(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActReferenceExternalDocumentReference", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_REFERENCE_EXTERNAL_DOCUMENT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SOPInstanceObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SOPInstanceObservationOperations.java index 9ce9e8f77a..2329b4cde2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SOPInstanceObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SOPInstanceObservationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -116,6 +117,8 @@ protected SOPInstanceObservationOperations() { public static boolean validateSOPInstanceObservationEffectiveTimeHasValue( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationEffectiveTimeHasValue", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_EFFECTIVE_TIME_HAS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -182,6 +185,8 @@ public static boolean validateSOPInstanceObservationEffectiveTimeHasValue( public static boolean validateSOPInstanceObservationEffectiveTimeNoLow( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationEffectiveTimeNoLow", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_EFFECTIVE_TIME_NO_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -248,6 +253,8 @@ public static boolean validateSOPInstanceObservationEffectiveTimeNoLow( public static boolean validateSOPInstanceObservationEffectiveTimeNoHigh( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationEffectiveTimeNoHigh", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_EFFECTIVE_TIME_NO_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -314,6 +321,8 @@ public static boolean validateSOPInstanceObservationEffectiveTimeNoHigh( public static boolean validateSOPInstanceObservationTextMediaType(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationTextMediaType", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_TEXT_MEDIA_TYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -379,6 +388,8 @@ public static boolean validateSOPInstanceObservationTextMediaType(SOPInstanceObs public static boolean validateSOPInstanceObservationTextReference(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationTextReference", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -444,6 +455,8 @@ public static boolean validateSOPInstanceObservationTextReference(SOPInstanceObs public static boolean validateSOPInstanceObservationTextReferenceValue( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationTextReferenceValue", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -510,6 +523,8 @@ public static boolean validateSOPInstanceObservationTextReferenceValue( public static boolean validateSOPInstanceObservationTemplateId(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationTemplateId", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -575,6 +590,8 @@ public static boolean validateSOPInstanceObservationTemplateId(SOPInstanceObserv public static boolean validateSOPInstanceObservationClassCode(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationClassCode", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -640,6 +657,8 @@ public static boolean validateSOPInstanceObservationClassCode(SOPInstanceObserva public static boolean validateSOPInstanceObservationEffectiveTime(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationEffectiveTime", "WARNING"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -705,6 +724,8 @@ public static boolean validateSOPInstanceObservationEffectiveTime(SOPInstanceObs public static boolean validateSOPInstanceObservationId(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationId", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -768,6 +789,8 @@ public static boolean validateSOPInstanceObservationId(SOPInstanceObservation so public static boolean validateSOPInstanceObservationMoodCode(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationMoodCode", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -833,6 +856,8 @@ public static boolean validateSOPInstanceObservationMoodCode(SOPInstanceObservat public static boolean validateSOPInstanceObservationText(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationText", "WARNING"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -897,6 +922,8 @@ public static boolean validateSOPInstanceObservationText(SOPInstanceObservation public static boolean validateSOPInstanceObservationCodeP(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationCodeP", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -984,6 +1011,8 @@ public static boolean validateSOPInstanceObservationCode(SOPInstanceObservation return true; } + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationCode", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1048,6 +1077,8 @@ public static boolean validateSOPInstanceObservationCode(SOPInstanceObservation public static boolean validateSOPInstanceObservationSOPInstanceObservation( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationSOPInstanceObservation", "INFO"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_SOP_INSTANCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1114,6 +1145,9 @@ public static boolean validateSOPInstanceObservationSOPInstanceObservation( public static boolean validateSOPInstanceObservationPurposeofReferenceObservation( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SOPInstanceObservationSOPInstanceObservationPurposeofReferenceObservation", "INFO"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_PURPOSEOF_REFERENCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1180,6 +1214,9 @@ public static boolean validateSOPInstanceObservationPurposeofReferenceObservatio public static boolean validateSOPInstanceObservationReferencedFramesObservation( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SOPInstanceObservationSOPInstanceObservationReferencedFramesObservation", "INFO"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_REFERENCED_FRAMES_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SelfCareActivitiesOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SelfCareActivitiesOperations.java index f978a20e27..d77cc707eb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SelfCareActivitiesOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SelfCareActivitiesOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,8 @@ protected SelfCareActivitiesOperations() { public static boolean validateSelfCareActivitiesTemplateId(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesTemplateId", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateSelfCareActivitiesTemplateId(SelfCareActivities se public static boolean validateSelfCareActivitiesClassCode(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesClassCode", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateSelfCareActivitiesClassCode(SelfCareActivities sel public static boolean validateSelfCareActivitiesMoodCode(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesMoodCode", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateSelfCareActivitiesMoodCode(SelfCareActivities self public static boolean validateSelfCareActivitiesCodeP(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesCodeP", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +382,8 @@ public static boolean validateSelfCareActivitiesCode(SelfCareActivities selfCare return true; } + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesCode", "WARNING"); + if (VALIDATE_SELF_CARE_ACTIVITIES_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validateSelfCareActivitiesCode(SelfCareActivities selfCare public static boolean validateSelfCareActivitiesStatusCode(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesStatusCode", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -501,6 +514,8 @@ public static boolean validateSelfCareActivitiesStatusCode(SelfCareActivities se public static boolean validateSelfCareActivitiesStatusCodeP(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesStatusCodeP", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -566,6 +581,8 @@ public static boolean validateSelfCareActivitiesStatusCodeP(SelfCareActivities s public static boolean validateSelfCareActivitiesEffectiveTime(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesEffectiveTime", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -633,6 +650,8 @@ public static boolean validateSelfCareActivitiesEffectiveTime(SelfCareActivities public static boolean validateSelfCareActivitiesValue(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesValue", "WARNING"); + if (VALIDATE_SELF_CARE_ACTIVITIES_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -696,6 +715,8 @@ public static boolean validateSelfCareActivitiesValue(SelfCareActivities selfCar public static boolean validateSelfCareActivitiesValueP(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesValueP", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -759,6 +780,8 @@ public static boolean validateSelfCareActivitiesValueP(SelfCareActivities selfCa public static boolean validateSelfCareActivitiesAuthorParticipation(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesAuthorParticipation", "WARNING"); + if (VALIDATE_SELF_CARE_ACTIVITIES_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SensoryStatusOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SensoryStatusOperations.java index ee1edcfeb6..28947e72be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SensoryStatusOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SensoryStatusOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -104,6 +105,8 @@ protected SensoryStatusOperations() { public static boolean validateSensoryStatusTemplateId(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusTemplateId", "ERROR"); + if (VALIDATE_SENSORY_STATUS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -167,6 +170,8 @@ public static boolean validateSensoryStatusTemplateId(SensoryStatus sensoryStatu public static boolean validateSensoryStatusClassCode(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusClassCode", "ERROR"); + if (VALIDATE_SENSORY_STATUS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateSensoryStatusClassCode(SensoryStatus sensoryStatus public static boolean validateSensoryStatusMoodCode(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusMoodCode", "ERROR"); + if (VALIDATE_SENSORY_STATUS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +300,8 @@ public static boolean validateSensoryStatusMoodCode(SensoryStatus sensoryStatus, public static boolean validateSensoryStatusCodeP(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusCodeP", "ERROR"); + if (VALIDATE_SENSORY_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -379,6 +388,8 @@ public static boolean validateSensoryStatusCode(SensoryStatus sensoryStatus, Dia return true; } + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusCode", "WARNING"); + if (VALIDATE_SENSORY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -443,6 +454,8 @@ public static boolean validateSensoryStatusCode(SensoryStatus sensoryStatus, Dia public static boolean validateSensoryStatusStatusCode(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusStatusCode", "ERROR"); + if (VALIDATE_SENSORY_STATUS_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +519,8 @@ public static boolean validateSensoryStatusStatusCode(SensoryStatus sensoryStatu public static boolean validateSensoryStatusStatusCodeP(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusStatusCodeP", "ERROR"); + if (VALIDATE_SENSORY_STATUS_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -569,6 +584,8 @@ public static boolean validateSensoryStatusStatusCodeP(SensoryStatus sensoryStat public static boolean validateSensoryStatusEffectiveTime(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusEffectiveTime", "ERROR"); + if (VALIDATE_SENSORY_STATUS_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -634,6 +651,8 @@ public static boolean validateSensoryStatusEffectiveTime(SensoryStatus sensorySt public static boolean validateSensoryStatusValue(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusValue", "WARNING"); + if (VALIDATE_SENSORY_STATUS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -697,6 +716,8 @@ public static boolean validateSensoryStatusValue(SensoryStatus sensoryStatus, Di public static boolean validateSensoryStatusValueP(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusValueP", "ERROR"); + if (VALIDATE_SENSORY_STATUS_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -760,6 +781,8 @@ public static boolean validateSensoryStatusValueP(SensoryStatus sensoryStatus, D public static boolean validateSensoryStatusAssessmentScaleObservation(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusAssessmentScaleObservation", "INFO"); + if (VALIDATE_SENSORY_STATUS_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -825,6 +848,8 @@ public static boolean validateSensoryStatusAssessmentScaleObservation(SensorySta public static boolean validateSensoryStatusAuthorParticipation(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusAuthorParticipation", "WARNING"); + if (VALIDATE_SENSORY_STATUS_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -889,6 +914,8 @@ public static boolean validateSensoryStatusAuthorParticipation(SensoryStatus sen public static boolean validateSensoryStatusIVLTSLow(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusIVLTSLow", "ERROR"); + if (VALIDATE_SENSORY_STATUS_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -959,6 +986,8 @@ public static boolean validateSensoryStatusIVLTSLow(SensoryStatus sensoryStatus, public static boolean validateSensoryStatusIVLTSHigh(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusIVLTSHigh", "INFO"); + if (VALIDATE_SENSORY_STATUS_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeriesActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeriesActOperations.java index 622370d50b..254eff794a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeriesActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeriesActOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -110,6 +111,8 @@ protected SeriesActOperations() { public static boolean validateSeriesActIdHasRoot(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActIdHasRoot", "ERROR"); + if (VALIDATE_SERIES_ACT_ID_HAS_ROOT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateSeriesActIdHasRoot(SeriesAct seriesAct, Diagnostic public static boolean validateSeriesActIdNoExtension(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActIdNoExtension", "ERROR"); + if (VALIDATE_SERIES_ACT_ID_NO_EXTENSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +240,8 @@ public static boolean validateSeriesActIdNoExtension(SeriesAct seriesAct, Diagno public static boolean validateSeriesActCodeQualifier(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActCodeQualifier", "ERROR"); + if (VALIDATE_SERIES_ACT_CODE_QUALIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +305,8 @@ public static boolean validateSeriesActCodeQualifier(SeriesAct seriesAct, Diagno public static boolean validateSeriesActCodeQualifierCode(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActCodeQualifierCode", "ERROR"); + if (VALIDATE_SERIES_ACT_CODE_QUALIFIER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +370,8 @@ public static boolean validateSeriesActCodeQualifierCode(SeriesAct seriesAct, Di public static boolean validateSeriesActCodeQualifierValue(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActCodeQualifierValue", "ERROR"); + if (VALIDATE_SERIES_ACT_CODE_QUALIFIER_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +435,8 @@ public static boolean validateSeriesActCodeQualifierValue(SeriesAct seriesAct, D public static boolean validateSeriesActCodeQualifierValueCode(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActCodeQualifierValueCode", "ERROR"); + if (VALIDATE_SERIES_ACT_CODE_QUALIFIER_VALUE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -488,6 +501,8 @@ public static boolean validateSeriesActCodeQualifierValueCode(SeriesAct seriesAc public static boolean validateSeriesActTemplateId(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActTemplateId", "ERROR"); + if (VALIDATE_SERIES_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -550,6 +565,8 @@ public static boolean validateSeriesActTemplateId(SeriesAct seriesAct, Diagnosti public static boolean validateSeriesActClassCode(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActClassCode", "ERROR"); + if (VALIDATE_SERIES_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -612,6 +629,8 @@ public static boolean validateSeriesActClassCode(SeriesAct seriesAct, Diagnostic public static boolean validateSeriesActMoodCode(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActMoodCode", "ERROR"); + if (VALIDATE_SERIES_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -676,6 +695,8 @@ public static boolean validateSeriesActMoodCode(SeriesAct seriesAct, DiagnosticC public static boolean validateSeriesActCode(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActCode", "ERROR"); + if (VALIDATE_SERIES_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +759,8 @@ public static boolean validateSeriesActCode(SeriesAct seriesAct, DiagnosticChain public static boolean validateSeriesActEffectiveTime(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActEffectiveTime", "WARNING"); + if (VALIDATE_SERIES_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +824,8 @@ public static boolean validateSeriesActEffectiveTime(SeriesAct seriesAct, Diagno public static boolean validateSeriesActId(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActId", "ERROR"); + if (VALIDATE_SERIES_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -862,6 +887,8 @@ public static boolean validateSeriesActId(SeriesAct seriesAct, DiagnosticChain d public static boolean validateSeriesActText(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActText", "INFO"); + if (VALIDATE_SERIES_ACT_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -923,6 +950,8 @@ public static boolean validateSeriesActText(SeriesAct seriesAct, DiagnosticChain public static boolean validateSeriesActSOPInstanceObservation(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActSOPInstanceObservation", "ERROR"); + if (VALIDATE_SERIES_ACT_SOP_INSTANCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ServiceDeliveryLocationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ServiceDeliveryLocationOperations.java index 39c664e590..f33deb5183 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ServiceDeliveryLocationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ServiceDeliveryLocationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ParticipantRoleOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,8 @@ protected ServiceDeliveryLocationOperations() { public static boolean validateServiceDeliveryLocationHasPlayingEntity( ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationHasPlayingEntity", "INFO"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_HAS_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,9 @@ public static boolean validateServiceDeliveryLocationHasPlayingEntity( public static boolean validateServiceDeliveryLocationHasPlayingEntityClassCode( ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ServiceDeliveryLocationServiceDeliveryLocationHasPlayingEntityClassCode", "ERROR"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_HAS_PLAYING_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -229,6 +235,8 @@ public static boolean validateServiceDeliveryLocationHasPlayingEntityClassCode( public static boolean validateServiceDeliveryLocationHasPlayingEntityName( ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationHasPlayingEntityName", "INFO"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_HAS_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +303,8 @@ public static boolean validateServiceDeliveryLocationHasPlayingEntityName( public static boolean validateServiceDeliveryLocationTemplateId(ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationTemplateId", "ERROR"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -360,6 +370,8 @@ public static boolean validateServiceDeliveryLocationTemplateId(ServiceDeliveryL public static boolean validateServiceDeliveryLocationClassCode(ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationClassCode", "ERROR"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -427,6 +439,8 @@ public static boolean validateServiceDeliveryLocationClassCode(ServiceDeliveryLo public static boolean validateServiceDeliveryLocationCode(ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationCode", "ERROR"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -491,6 +505,8 @@ public static boolean validateServiceDeliveryLocationCode(ServiceDeliveryLocatio public static boolean validateServiceDeliveryLocationAddr(ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationAddr", "WARNING"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -555,6 +571,8 @@ public static boolean validateServiceDeliveryLocationAddr(ServiceDeliveryLocatio public static boolean validateServiceDeliveryLocationTelecom(ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationTelecom", "WARNING"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservation2Operations.java index 49d6e4d5cc..f71a42f096 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservation2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ protected SeverityObservation2Operations() { public static boolean validateSeverityObservation2TemplateId(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservation2TemplateId", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -139,6 +142,8 @@ public static boolean validateSeverityObservation2TemplateId(SeverityObservation public static boolean validateSeverityObservationCodeP(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationCodeP", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -194,6 +199,8 @@ public static boolean validateSeverityObservationCodeP(SeverityObservation2 seve public static boolean validateSeverityObservationStatusCodeP(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationStatusCodeP", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -251,6 +258,8 @@ public static boolean validateSeverityObservationStatusCodeP(SeverityObservation public static boolean validateSeverityObservationTextReference(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationTextReference", "INFO"); + if (VALIDATE_SEVERITY_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +304,8 @@ public static boolean validateSeverityObservationTextReference(SeverityObservati public static boolean validateSeverityObservationTextReferenceValue(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationTextReferenceValue", "INFO"); + if (VALIDATE_SEVERITY_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -339,6 +350,8 @@ public static boolean validateSeverityObservationTextReferenceValue(SeverityObse public static boolean validateSeverityObservationReferenceValue(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationReferenceValue", "INFO"); + if (VALIDATE_SEVERITY_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +425,8 @@ public static boolean validateSeverityObservationCode(SeverityObservation2 sever return true; } + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationCode", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -582,6 +597,8 @@ public static boolean validateSeverityObservationCode(SeverityObservation2 sever public static boolean validateSeverityObservationText(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationText", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -654,6 +671,8 @@ public static boolean validateSeverityObservationStatusCode(SeverityObservation2 return true; } + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationStatusCode", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -718,6 +737,8 @@ public static boolean validateSeverityObservationStatusCode(SeverityObservation2 public static boolean validateSeverityObservationValueP(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationValueP", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -804,6 +825,8 @@ public static boolean validateSeverityObservationValue(SeverityObservation2 seve return true; } + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationValue", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservationOperations.java index ad03596735..0b11e71cda 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,8 @@ protected SeverityObservationOperations() { public static boolean validateSeverityObservationTextReference(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationTextReference", "WARNING"); + if (VALIDATE_SEVERITY_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -165,6 +168,8 @@ public static boolean validateSeverityObservationTextReference(SeverityObservati public static boolean validateSeverityObservationTextReferenceValue(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationTextReferenceValue", "WARNING"); + if (VALIDATE_SEVERITY_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateSeverityObservationTextReferenceValue(SeverityObse public static boolean validateSeverityObservationReferenceValue(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationReferenceValue", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +302,8 @@ public static boolean validateSeverityObservationReferenceValue(SeverityObservat public static boolean validateSeverityObservationTemplateId(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationTemplateId", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validateSeverityObservationTemplateId(SeverityObservation public static boolean validateSeverityObservationClassCode(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationClassCode", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -423,6 +434,8 @@ public static boolean validateSeverityObservationClassCode(SeverityObservation s public static boolean validateSeverityObservationMoodCode(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationMoodCode", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -488,6 +501,8 @@ public static boolean validateSeverityObservationMoodCode(SeverityObservation se public static boolean validateSeverityObservationCode(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationCode", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -551,6 +566,8 @@ public static boolean validateSeverityObservationCode(SeverityObservation severi public static boolean validateSeverityObservationText(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationText", "WARNING"); + if (VALIDATE_SEVERITY_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -615,6 +632,8 @@ public static boolean validateSeverityObservationText(SeverityObservation severi public static boolean validateSeverityObservationStatusCode(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationStatusCode", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -681,6 +700,8 @@ public static boolean validateSeverityObservationStatusCode(SeverityObservation public static boolean validateSeverityObservationValue(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationValue", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -744,6 +765,8 @@ public static boolean validateSeverityObservationValue(SeverityObservation sever public static boolean validateSeverityObservationValueP(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationValueP", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusMeaningfulUse2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusMeaningfulUse2Operations.java index f3436c811f..c756a39e0c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusMeaningfulUse2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusMeaningfulUse2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -99,6 +100,8 @@ public static boolean validateSmokingStatusMeaningfulUse2TemplateId( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusMeaningfulUse2TemplateId", "ERROR"); + if (VALIDATE_SMOKING_STATUS_MEANINGFUL_USE2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -165,6 +168,8 @@ public static boolean validateSmokingStatusMeaningfulUse2TemplateId( public static boolean validateSmokingStatusMeaningfulUse2Id(SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusMeaningfulUse2Id", "ERROR"); + if (VALIDATE_SMOKING_STATUS_MEANINGFUL_USE2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -209,6 +214,9 @@ public static boolean validateSmokingStatusMeaningfulUse2AuthorParticipation( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SmokingStatusMeaningfulUse2SmokingStatusMeaningfulUse2AuthorParticipation", "WARNING"); + if (VALIDATE_SMOKING_STATUS_MEANINGFUL_USE2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -255,6 +263,9 @@ public static boolean validateSmokingStatusMeaningfulUse2CDCodeTermAssertionOrLo SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SmokingStatusMeaningfulUse2SmokingStatusMeaningfulUse2CDCodeTermAssertionOrLoinc", "INFO"); + if (VALIDATE_SMOKING_STATUS_MEANINGFUL_USE2_CD_CODE_TERM_ASSERTION_OR_LOINC__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +379,8 @@ public static boolean validateSmokingStatusMeaningfulUse2CDCodeTermAssertionOrLo public static boolean validateSmokingStatusObservationCodeP(SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationCodeP", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -455,6 +468,8 @@ public static boolean validateSmokingStatusObservationCode(SmokingStatusMeaningf return true; } + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationCode", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +535,8 @@ public static boolean validateSmokingStatusObservationValueP( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationValueP", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -608,6 +625,8 @@ public static boolean validateSmokingStatusObservationValue(SmokingStatusMeaning return true; } + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationValue", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -673,6 +692,8 @@ public static boolean validateSmokingStatusObservationEffectiveTime( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationEffectiveTime", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -740,6 +761,8 @@ public static boolean validateSmokingStatusObservationIVLTSCenter( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationIVLTSCenter", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_CENTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -812,6 +835,8 @@ public static boolean validateSmokingStatusObservationIVLTSHigh( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationIVLTSHigh", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -884,6 +909,8 @@ public static boolean validateSmokingStatusObservationIVLTSLow( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationIVLTSLow", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -956,6 +983,8 @@ public static boolean validateSmokingStatusObservationIVLTSWidth( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationIVLTSWidth", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusObservationOperations.java index 70b2e216d4..0f4a906edb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusObservationOperations.java @@ -26,6 +26,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -117,6 +118,8 @@ protected SmokingStatusObservationOperations() { public static boolean validateSmokingStatusObservationTemplateId(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationTemplateId", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -182,6 +185,8 @@ public static boolean validateSmokingStatusObservationTemplateId(SmokingStatusOb public static boolean validateSmokingStatusObservationClassCode(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationClassCode", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -247,6 +252,8 @@ public static boolean validateSmokingStatusObservationClassCode(SmokingStatusObs public static boolean validateSmokingStatusObservationMoodCode(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationMoodCode", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -312,6 +319,8 @@ public static boolean validateSmokingStatusObservationMoodCode(SmokingStatusObse public static boolean validateSmokingStatusObservationCode(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationCode", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -356,6 +365,8 @@ public static boolean validateSmokingStatusObservationEffectiveTime( SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationEffectiveTime", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -401,6 +412,8 @@ public static boolean validateSmokingStatusObservationEffectiveTime( public static boolean validateSmokingStatusObservationStatusCodeP(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationStatusCodeP", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -509,6 +522,8 @@ public static boolean validateSmokingStatusObservationStatusCodeP(SmokingStatusO public static boolean validateSmokingStatusObservationStatusCode(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationStatusCode", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -553,6 +568,8 @@ public static boolean validateSmokingStatusObservationStatusCode(SmokingStatusOb public static boolean validateSmokingStatusObservationValueP(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationValueP", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -598,6 +615,9 @@ public static boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SmokingStatusObservationSmokingStatusObservationCDCodeTermAssertionOrLoinc", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CD_CODE_TERM_ASSERTION_OR_LOINC__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -648,6 +668,8 @@ public static boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc public static boolean validateSmokingStatusObservationCDCode(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationCDCode", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -698,6 +720,8 @@ public static boolean validateSmokingStatusObservationCDCodeSystem( SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationCDCodeSystem", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CD_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -748,6 +772,8 @@ public static boolean validateSmokingStatusObservationCDCodeSystem( public static boolean validateSmokingStatusObservationIVLTSCenter(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationIVLTSCenter", "WARNING"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_CENTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -798,6 +824,8 @@ public static boolean validateSmokingStatusObservationIVLTSCenter(SmokingStatusO public static boolean validateSmokingStatusObservationIVLTSHigh(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationIVLTSHigh", "WARNING"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -848,6 +876,8 @@ public static boolean validateSmokingStatusObservationIVLTSHigh(SmokingStatusObs public static boolean validateSmokingStatusObservationIVLTSLow(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationIVLTSLow", "WARNING"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -897,6 +927,8 @@ public static boolean validateSmokingStatusObservationIVLTSLow(SmokingStatusObse public static boolean validateSmokingStatusObservationIVLTSWidth(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationIVLTSWidth", "WARNING"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1143,6 +1175,8 @@ public static boolean validateSmokingStatusObservationIVLTSWidth(SmokingStatusOb public static boolean validateSmokingStatusObservationValue(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationValue", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservation2Operations.java index b0875b66f0..572f3312f5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservation2Operations.java @@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -103,6 +104,9 @@ public static boolean validateSocialHistoryObservation2ReferenceAttribute( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistoryObservation2SocialHistoryObservation2ReferenceAttribute", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_REFERENCE_ATTRIBUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +174,9 @@ public static boolean validateSocialHistoryObservation2IfNotLoincRequireTranslat SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistoryObservation2SocialHistoryObservation2IfNotLoincRequireTranslation", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_IF_NOT_LOINC_REQUIRE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +244,10 @@ public static boolean validateSocialHistoryObservation2IfNotLoincRequireTranslat SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistoryObservation2SocialHistoryObservation2IfNotLoincRequireTranslationFromLoinc", + "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_IF_NOT_LOINC_REQUIRE_TRANSLATION_FROM_LOINC__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +315,8 @@ public static boolean validateSocialHistoryObservation2TemplateId( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservation2TemplateId", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -349,6 +362,8 @@ public static boolean validateSocialHistoryObservationStatusCodeP( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservationStatusCodeP", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -408,6 +423,8 @@ public static boolean validateSocialHistoryObservation2EffectiveTime( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservation2EffectiveTime", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -454,6 +471,9 @@ public static boolean validateSocialHistoryObservation2AuthorParticipation( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistoryObservation2SocialHistoryObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -500,6 +520,8 @@ public static boolean validateSocialHistoryObservation2CDTranslation( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservation2CDTranslation", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -551,6 +573,8 @@ public static boolean validateSocialHistoryObservation2CDTranslationP( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservation2CDTranslationP", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -601,6 +625,8 @@ public static boolean validateSocialHistoryObservation2CDTranslationP( public static boolean validateSocialHistoryObservationValue(SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservationValue", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -644,6 +670,8 @@ public static boolean validateSocialHistoryObservationValue(SocialHistoryObserva public static boolean validateSocialHistoryObservationCode(SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservationCode", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -838,6 +866,8 @@ public static boolean validateSocialHistoryObservationCode(SocialHistoryObservat public static boolean validateSocialHistoryObservationCodeP(SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservationCodeP", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -933,6 +963,8 @@ public static boolean validateSocialHistoryObservationStatusCode( return true; } + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservationStatusCode", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservationOperations.java index 2b3b432e2c..56f393a6a6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ public static boolean validateSocialHistoryObservationOriginalText( SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationOriginalText", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -167,6 +170,8 @@ public static boolean validateSocialHistoryObservationOriginalText( public static boolean validateSocialHistoryObservationReference(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationReference", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateSocialHistoryObservationReferenceValue( SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationReferenceValue", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -299,6 +306,8 @@ public static boolean validateSocialHistoryObservationReferenceValue( public static boolean validateSocialHistoryObservationTemplateId(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationTemplateId", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +373,8 @@ public static boolean validateSocialHistoryObservationTemplateId(SocialHistoryOb public static boolean validateSocialHistoryObservationClassCode(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationClassCode", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -429,6 +440,8 @@ public static boolean validateSocialHistoryObservationClassCode(SocialHistoryObs public static boolean validateSocialHistoryObservationMoodCode(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationMoodCode", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -494,6 +507,8 @@ public static boolean validateSocialHistoryObservationMoodCode(SocialHistoryObse public static boolean validateSocialHistoryObservationId(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationId", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -558,6 +573,8 @@ public static boolean validateSocialHistoryObservationId(SocialHistoryObservatio public static boolean validateSocialHistoryObservationCodeP(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationCodeP", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -645,6 +662,8 @@ public static boolean validateSocialHistoryObservationCode(SocialHistoryObservat return true; } + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationCode", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -710,6 +729,8 @@ public static boolean validateSocialHistoryObservationCode(SocialHistoryObservat public static boolean validateSocialHistoryObservationStatusCode(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationStatusCode", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -775,6 +796,8 @@ public static boolean validateSocialHistoryObservationStatusCode(SocialHistoryOb public static boolean validateSocialHistoryObservationValue(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationValue", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySection2Operations.java index 6a7f5651b6..1e1ad7613c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -113,6 +114,8 @@ protected SocialHistorySection2Operations() { public static boolean validateSocialHistorySection2TemplateId(SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySection2TemplateId", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -178,6 +181,8 @@ public static boolean validateSocialHistorySection2TemplateId(SocialHistorySecti public static boolean validateSocialHistorySection2CaregiverCharacteristics( SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySection2CaregiverCharacteristics", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION2_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -244,6 +249,9 @@ public static boolean validateSocialHistorySection2CaregiverCharacteristics( public static boolean validateSocialHistorySection2CulturalAndReligiousObservation( SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistorySection2SocialHistorySection2CulturalAndReligiousObservation", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION2_CULTURAL_AND_RELIGIOUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -310,6 +318,9 @@ public static boolean validateSocialHistorySection2CulturalAndReligiousObservati public static boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment( SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistorySection2SocialHistorySection2CharacteristicsOfHomeEnvironment", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION2_CHARACTERISTICS_OF_HOME_ENVIRONMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +387,8 @@ public static boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironm public static boolean validateSocialHistorySection2BirthSexObservation(SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySection2BirthSexObservation", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION2_BIRTH_SEX_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -786,6 +799,8 @@ public static EList getBirthSexObservations(SocialHistorySe public static boolean validateSocialHistorySectionCodeP(SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySectionCodeP", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -872,6 +887,8 @@ public static boolean validateSocialHistorySectionCode(SocialHistorySection2 soc return true; } + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySectionCode", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -935,6 +952,8 @@ public static boolean validateSocialHistorySectionCode(SocialHistorySection2 soc public static boolean validateSocialHistorySectionSocialHistoryObservation( SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySectionSocialHistoryObservation", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_SOCIAL_HISTORY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1001,6 +1020,9 @@ public static boolean validateSocialHistorySectionSocialHistoryObservation( public static boolean validateSocialHistorySectionSmokingStatusObservation( SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistorySection2SocialHistorySectionSmokingStatusObservation", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_SMOKING_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1067,6 +1089,8 @@ public static boolean validateSocialHistorySectionSmokingStatusObservation( public static boolean validateSocialHistorySectionTobaccoUse(SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySectionTobaccoUse", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_TOBACCO_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySectionOperations.java index ca041f434c..55edfa9627 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -111,6 +112,8 @@ protected SocialHistorySectionOperations() { public static boolean validateSocialHistorySectionTemplateId(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionTemplateId", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -178,6 +181,8 @@ public static boolean validateSocialHistorySectionTemplateId(SocialHistorySectio public static boolean validateSocialHistorySectionCode(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionCode", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -241,6 +246,8 @@ public static boolean validateSocialHistorySectionCode(SocialHistorySection soci public static boolean validateSocialHistorySectionCodeP(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionCodeP", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +311,8 @@ public static boolean validateSocialHistorySectionCodeP(SocialHistorySection soc public static boolean validateSocialHistorySectionTitle(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionTitle", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +376,8 @@ public static boolean validateSocialHistorySectionTitle(SocialHistorySection soc public static boolean validateSocialHistorySectionText(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionText", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -430,6 +441,8 @@ public static boolean validateSocialHistorySectionText(SocialHistorySection soci public static boolean validateSocialHistorySectionSocialHistoryObservation( SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionSocialHistoryObservation", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_SOCIAL_HISTORY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -496,6 +509,8 @@ public static boolean validateSocialHistorySectionSocialHistoryObservation( public static boolean validateSocialHistorySectionPregnancyObservation(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionPregnancyObservation", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_PREGNANCY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -561,6 +576,8 @@ public static boolean validateSocialHistorySectionPregnancyObservation(SocialHis public static boolean validateSocialHistorySectionSmokingStatusObservation( SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionSmokingStatusObservation", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_SMOKING_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -627,6 +644,8 @@ public static boolean validateSocialHistorySectionSmokingStatusObservation( public static boolean validateSocialHistorySectionTobaccoUse(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionTobaccoUse", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_TOBACCO_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/StudyActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/StudyActOperations.java index 14b4ce6d48..ad9825edde 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/StudyActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/StudyActOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -106,6 +107,8 @@ protected StudyActOperations() { public static boolean validateStudyActIdsHaveRoot(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActIdsHaveRoot", "ERROR"); + if (VALIDATE_STUDY_ACT_IDS_HAVE_ROOT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validateStudyActIdsHaveRoot(StudyAct studyAct, DiagnosticC public static boolean validateStudyActNoIdExtension(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActNoIdExtension", "ERROR"); + if (VALIDATE_STUDY_ACT_NO_ID_EXTENSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateStudyActNoIdExtension(StudyAct studyAct, Diagnosti public static boolean validateStudyActTextReference(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActTextReference", "WARNING"); + if (VALIDATE_STUDY_ACT_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -292,6 +299,8 @@ public static boolean validateStudyActTextReference(StudyAct studyAct, Diagnosti public static boolean validateStudyActTextReferenceValue(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActTextReferenceValue", "WARNING"); + if (VALIDATE_STUDY_ACT_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -355,6 +364,8 @@ public static boolean validateStudyActTextReferenceValue(StudyAct studyAct, Diag public static boolean validateStudyActReferenceValue(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActReferenceValue", "ERROR"); + if (VALIDATE_STUDY_ACT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -417,6 +428,8 @@ public static boolean validateStudyActReferenceValue(StudyAct studyAct, Diagnost public static boolean validateStudyActTemplateId(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActTemplateId", "ERROR"); + if (VALIDATE_STUDY_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -479,6 +492,8 @@ public static boolean validateStudyActTemplateId(StudyAct studyAct, DiagnosticCh public static boolean validateStudyActClassCode(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActClassCode", "ERROR"); + if (VALIDATE_STUDY_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -541,6 +556,8 @@ public static boolean validateStudyActClassCode(StudyAct studyAct, DiagnosticCha public static boolean validateStudyActMoodCode(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActMoodCode", "ERROR"); + if (VALIDATE_STUDY_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -603,6 +620,8 @@ public static boolean validateStudyActMoodCode(StudyAct studyAct, DiagnosticChai public static boolean validateStudyActId(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActId", "ERROR"); + if (VALIDATE_STUDY_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -665,6 +684,8 @@ public static boolean validateStudyActId(StudyAct studyAct, DiagnosticChain diag public static boolean validateStudyActCode(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActCode", "ERROR"); + if (VALIDATE_STUDY_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -726,6 +747,8 @@ public static boolean validateStudyActCode(StudyAct studyAct, DiagnosticChain di public static boolean validateStudyActEffectiveTime(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActEffectiveTime", "WARNING"); + if (VALIDATE_STUDY_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -788,6 +811,8 @@ public static boolean validateStudyActEffectiveTime(StudyAct studyAct, Diagnosti public static boolean validateStudyActText(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActText", "INFO"); + if (VALIDATE_STUDY_ACT_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -849,6 +874,8 @@ public static boolean validateStudyActText(StudyAct studyAct, DiagnosticChain di public static boolean validateStudyActSeriesAct(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActSeriesAct", "ERROR"); + if (VALIDATE_STUDY_ACT_SERIES_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubjectiveSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubjectiveSectionOperations.java index 39364ba8b2..8517f76a2f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubjectiveSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubjectiveSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected SubjectiveSectionOperations() { public static boolean validateSubjectiveSectionTemplateId(SubjectiveSection subjectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubjectiveSectionSubjectiveSectionTemplateId", "ERROR"); + if (VALIDATE_SUBJECTIVE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -159,6 +162,8 @@ public static boolean validateSubjectiveSectionTemplateId(SubjectiveSection subj public static boolean validateSubjectiveSectionCode(SubjectiveSection subjectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubjectiveSectionSubjectiveSectionCode", "ERROR"); + if (VALIDATE_SUBJECTIVE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -222,6 +227,8 @@ public static boolean validateSubjectiveSectionCode(SubjectiveSection subjective public static boolean validateSubjectiveSectionCodeP(SubjectiveSection subjectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubjectiveSectionSubjectiveSectionCodeP", "ERROR"); + if (VALIDATE_SUBJECTIVE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +292,8 @@ public static boolean validateSubjectiveSectionCodeP(SubjectiveSection subjectiv public static boolean validateSubjectiveSectionText(SubjectiveSection subjectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubjectiveSectionSubjectiveSectionText", "ERROR"); + if (VALIDATE_SUBJECTIVE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -348,6 +357,8 @@ public static boolean validateSubjectiveSectionText(SubjectiveSection subjective public static boolean validateSubjectiveSectionTitle(SubjectiveSection subjectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubjectiveSectionSubjectiveSectionTitle", "ERROR"); + if (VALIDATE_SUBJECTIVE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceAdministeredActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceAdministeredActOperations.java index 2078fd77f3..a7e35ba853 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceAdministeredActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceAdministeredActOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected SubstanceAdministeredActOperations() { public static boolean validateSubstanceAdministeredActTemplateId(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActTemplateId", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateSubstanceAdministeredActTemplateId(SubstanceAdmini public static boolean validateSubstanceAdministeredActClassCode(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActClassCode", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateSubstanceAdministeredActClassCode(SubstanceAdminis public static boolean validateSubstanceAdministeredActMoodCode(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActMoodCode", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validateSubstanceAdministeredActMoodCode(SubstanceAdminist public static boolean validateSubstanceAdministeredActId(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActId", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +363,8 @@ public static boolean validateSubstanceAdministeredActId(SubstanceAdministeredAc public static boolean validateSubstanceAdministeredActCodeP(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActCodeP", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -441,6 +452,8 @@ public static boolean validateSubstanceAdministeredActCode(SubstanceAdministered return true; } + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActCode", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +519,8 @@ public static boolean validateSubstanceAdministeredActCode(SubstanceAdministered public static boolean validateSubstanceAdministeredActStatusCode(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActStatusCode", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -571,6 +586,8 @@ public static boolean validateSubstanceAdministeredActStatusCode(SubstanceAdmini public static boolean validateSubstanceAdministeredActStatusCodeP(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActStatusCodeP", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -637,6 +654,8 @@ public static boolean validateSubstanceAdministeredActEffectiveTime( SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActEffectiveTime", "INFO"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservation2Operations.java index a7fe382674..5fd4e8e3c4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservation2Operations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -134,6 +135,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservation2CriticalityInv SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservation2CriticalityInversionIndicator", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2_CRITICALITY_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -201,6 +207,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservation2TemplateId( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservation2TemplateId", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -268,6 +277,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservation2AuthorParticip SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservation2AuthorParticipation", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -335,6 +348,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservation2CriticalityObs SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservation2CriticalityObservation", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2_CRITICALITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -402,6 +419,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservation2IVLTSLow( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservation2IVLTSLow", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -474,6 +494,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservation2IVLTSHigh( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservation2IVLTSHigh", "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -546,6 +569,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityAllergySpecificMedication", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ALLERGY_SPECIFIC_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -618,6 +646,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityAllergyClassMedication", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ALLERGY_CLASS_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -690,6 +723,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityAllergyFoodOtherSubstance", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ALLERGY_FOOD_OTHER_SUBSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -952,6 +990,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationReactionInversi SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationReactionInversionIndicator", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_REACTION_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1019,6 +1062,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationSeverityInversi SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationSeverityInversionIndicator", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_SEVERITY_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1086,6 +1134,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusIn SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ALLERGY_STATUS_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1153,6 +1206,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationEffectiveTime( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationEffectiveTime", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1220,6 +1276,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationValueP( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationValueP", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1312,6 +1371,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationValue( return true; } + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationValue", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1379,6 +1441,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationCodeP( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationCodeP", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1471,6 +1536,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationCode( return true; } + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationCode", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1538,6 +1606,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipant( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipant", "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1605,6 +1676,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationReactionObserva SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationReactionObservation", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1672,6 +1747,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationSeverityObserva SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationSeverityObservation", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_SEVERITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1739,6 +1818,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusOb SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationAllergyStatusObservation", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ALLERGY_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1806,6 +1889,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1878,6 +1966,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCETranslation", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1950,6 +2043,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2022,6 +2120,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2094,6 +2197,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2166,6 +2274,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCode", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2238,6 +2351,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntity", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2310,6 +2428,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRole", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservationOperations.java index ac44bfe483..98ab5acade 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -129,6 +130,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusIn SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ALLERGY_STATUS_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -196,6 +202,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationReactionInversi SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationReactionInversionIndicator", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_REACTION_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -263,6 +273,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationSeverityInversi SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationSeverityInversionIndicator", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_SEVERITY_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -330,6 +344,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationTemplateId( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationTemplateId", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -397,6 +414,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationClassCode( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationClassCode", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -464,6 +484,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationMoodCode( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationMoodCode", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -531,6 +554,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationId( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationId", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -598,6 +624,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationCodeP( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationCodeP", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -690,6 +719,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationCode( return true; } + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationCode", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -758,6 +790,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationStatusCode( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationStatusCode", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -825,6 +860,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationStatusCodeP( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationStatusCodeP", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -892,6 +930,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationEffectiveTime( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationEffectiveTime", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -961,6 +1002,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationValue( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationValue", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1028,6 +1072,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationValueP( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationValueP", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1095,6 +1142,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusOb SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationAllergyStatusObservation", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ALLERGY_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1162,6 +1213,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationReactionObserva SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationReactionObservation", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1229,6 +1284,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationSeverityObserva SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationSeverityObservation", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_SEVERITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1296,6 +1355,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipant( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipant", "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1363,6 +1425,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1435,6 +1502,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCETranslation", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1507,6 +1579,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1579,6 +1656,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1651,6 +1733,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1723,6 +1810,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCodeTerminologyValueSetGroupSRFI", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CODE_TERMINOLOGY_VALUE_SET_GROUP_SRFI__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1795,6 +1887,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityClassCode", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1867,6 +1964,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCode", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1939,6 +2041,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRoleClassCode", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2011,6 +2118,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntity", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2083,6 +2195,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantType SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantTypeCode", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2155,6 +2271,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRole", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SurgicalDrainsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SurgicalDrainsSectionOperations.java index 2dd1730583..56df2a3736 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SurgicalDrainsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SurgicalDrainsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected SurgicalDrainsSectionOperations() { public static boolean validateSurgicalDrainsSectionTemplateId(SurgicalDrainsSection surgicalDrainsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SurgicalDrainsSectionSurgicalDrainsSectionTemplateId", "ERROR"); + if (VALIDATE_SURGICAL_DRAINS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateSurgicalDrainsSectionTemplateId(SurgicalDrainsSect public static boolean validateSurgicalDrainsSectionCode(SurgicalDrainsSection surgicalDrainsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SurgicalDrainsSectionSurgicalDrainsSectionCode", "ERROR"); + if (VALIDATE_SURGICAL_DRAINS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateSurgicalDrainsSectionCode(SurgicalDrainsSection su public static boolean validateSurgicalDrainsSectionCodeP(SurgicalDrainsSection surgicalDrainsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SurgicalDrainsSectionSurgicalDrainsSectionCodeP", "ERROR"); + if (VALIDATE_SURGICAL_DRAINS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateSurgicalDrainsSectionCodeP(SurgicalDrainsSection s public static boolean validateSurgicalDrainsSectionText(SurgicalDrainsSection surgicalDrainsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SurgicalDrainsSectionSurgicalDrainsSectionText", "ERROR"); + if (VALIDATE_SURGICAL_DRAINS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -351,6 +360,8 @@ public static boolean validateSurgicalDrainsSectionText(SurgicalDrainsSection su public static boolean validateSurgicalDrainsSectionTitle(SurgicalDrainsSection surgicalDrainsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SurgicalDrainsSectionSurgicalDrainsSectionTitle", "ERROR"); + if (VALIDATE_SURGICAL_DRAINS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TextObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TextObservationOperations.java index fe257fa459..1d5187499a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TextObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TextObservationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -110,6 +111,8 @@ protected TextObservationOperations() { public static boolean validateTextObservationTextReference(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationTextReference", "WARNING"); + if (VALIDATE_TEXT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +176,8 @@ public static boolean validateTextObservationTextReference(TextObservation textO public static boolean validateTextObservationTextReferenceValue(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationTextReferenceValue", "WARNING"); + if (VALIDATE_TEXT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +243,8 @@ public static boolean validateTextObservationTextReferenceValue(TextObservation public static boolean validateTextObservationReferenceValue(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationReferenceValue", "ERROR"); + if (VALIDATE_TEXT_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -301,6 +308,8 @@ public static boolean validateTextObservationReferenceValue(TextObservation text public static boolean validateTextObservationTemplateId(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationTemplateId", "ERROR"); + if (VALIDATE_TEXT_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +373,8 @@ public static boolean validateTextObservationTemplateId(TextObservation textObse public static boolean validateTextObservationClassCode(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationClassCode", "ERROR"); + if (VALIDATE_TEXT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -427,6 +438,8 @@ public static boolean validateTextObservationClassCode(TextObservation textObser public static boolean validateTextObservationMoodCode(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationMoodCode", "ERROR"); + if (VALIDATE_TEXT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -490,6 +503,8 @@ public static boolean validateTextObservationMoodCode(TextObservation textObserv public static boolean validateTextObservationCode(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationCode", "ERROR"); + if (VALIDATE_TEXT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -553,6 +568,8 @@ public static boolean validateTextObservationCode(TextObservation textObservatio public static boolean validateTextObservationEffectiveTime(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationEffectiveTime", "WARNING"); + if (VALIDATE_TEXT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -616,6 +633,8 @@ public static boolean validateTextObservationEffectiveTime(TextObservation textO public static boolean validateTextObservationText(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationText", "INFO"); + if (VALIDATE_TEXT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -679,6 +698,8 @@ public static boolean validateTextObservationText(TextObservation textObservatio public static boolean validateTextObservationValue(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationValue", "ERROR"); + if (VALIDATE_TEXT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -742,6 +763,8 @@ public static boolean validateTextObservationValue(TextObservation textObservati public static boolean validateTextObservationSOPInstanceObservation(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationSOPInstanceObservation", "INFO"); + if (VALIDATE_TEXT_OBSERVATION_SOP_INSTANCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -807,6 +830,8 @@ public static boolean validateTextObservationSOPInstanceObservation(TextObservat public static boolean validateTextObservationQuantityMeasurementObservation(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationQuantityMeasurementObservation", "INFO"); + if (VALIDATE_TEXT_OBSERVATION_QUANTITY_MEASUREMENT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUse2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUse2Operations.java index 5acfe6d052..142d2266cd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUse2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUse2Operations.java @@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -97,6 +98,8 @@ protected TobaccoUse2Operations() { public static boolean validateTobaccoUse2TemplateId(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUse2TemplateId", "ERROR"); + if (VALIDATE_TOBACCO_USE2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateTobaccoUse2TemplateId(TobaccoUse2 tobaccoUse2, Dia public static boolean validateTobaccoUse2Id(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUse2Id", "ERROR"); + if (VALIDATE_TOBACCO_USE2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -201,6 +206,8 @@ public static boolean validateTobaccoUse2Id(TobaccoUse2 tobaccoUse2, DiagnosticC public static boolean validateTobaccoUse2AuthorParticipation(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUse2AuthorParticipation", "WARNING"); + if (VALIDATE_TOBACCO_USE2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -243,6 +250,8 @@ public static boolean validateTobaccoUse2AuthorParticipation(TobaccoUse2 tobacco public static boolean validateTobaccoUse2CDCodeTermAssertionOrLoinc(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUse2CDCodeTermAssertionOrLoinc", "INFO"); + if (VALIDATE_TOBACCO_USE2_CD_CODE_TERM_ASSERTION_OR_LOINC__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -292,6 +301,8 @@ public static boolean validateTobaccoUse2CDCodeTermAssertionOrLoinc(TobaccoUse2 public static boolean validateTobaccoUse2IVLTSHigh(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUse2IVLTSHigh", "INFO"); + if (VALIDATE_TOBACCO_USE2_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -340,6 +351,8 @@ public static boolean validateTobaccoUse2IVLTSHigh(TobaccoUse2 tobaccoUse2, Diag public static boolean validateTobaccoUseEffectiveTime(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUseEffectiveTime", "ERROR"); + if (VALIDATE_TOBACCO_USE_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -466,6 +479,8 @@ public static boolean validateTobaccoUseEffectiveTime(TobaccoUse2 tobaccoUse2, D public static boolean validateTobaccoUseCodeP(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUseCodeP", "ERROR"); + if (VALIDATE_TOBACCO_USE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -571,6 +586,8 @@ public static boolean validateTobaccoUseCode(TobaccoUse2 tobaccoUse2, Diagnostic return true; } + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUseCode", "ERROR"); + if (VALIDATE_TOBACCO_USE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUseOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUseOperations.java index 13fae790e0..70b2d63589 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUseOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUseOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -103,6 +104,8 @@ protected TobaccoUseOperations() { public static boolean validateTobaccoUseEffectiveTimeLow(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseEffectiveTimeLow", "ERROR"); + if (VALIDATE_TOBACCO_USE_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateTobaccoUseEffectiveTimeLow(TobaccoUse tobaccoUse, public static boolean validateTobaccoUseTemplateId(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseTemplateId", "ERROR"); + if (VALIDATE_TOBACCO_USE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -229,6 +234,8 @@ public static boolean validateTobaccoUseTemplateId(TobaccoUse tobaccoUse, Diagno public static boolean validateTobaccoUseClassCode(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseClassCode", "ERROR"); + if (VALIDATE_TOBACCO_USE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -291,6 +298,8 @@ public static boolean validateTobaccoUseClassCode(TobaccoUse tobaccoUse, Diagnos public static boolean validateTobaccoUseMoodCode(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseMoodCode", "ERROR"); + if (VALIDATE_TOBACCO_USE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateTobaccoUseMoodCode(TobaccoUse tobaccoUse, Diagnost public static boolean validateTobaccoUseCode(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseCode", "ERROR"); + if (VALIDATE_TOBACCO_USE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -394,6 +405,8 @@ public static boolean validateTobaccoUseCode(TobaccoUse tobaccoUse, DiagnosticCh public static boolean validateTobaccoUseEffectiveTime(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseEffectiveTime", "ERROR"); + if (VALIDATE_TOBACCO_USE_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -458,6 +471,8 @@ public static boolean validateTobaccoUseEffectiveTime(TobaccoUse tobaccoUse, Dia public static boolean validateTobaccoUseStatusCode(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseStatusCode", "ERROR"); + if (VALIDATE_TOBACCO_USE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -542,6 +557,8 @@ public static boolean validateTobaccoUseStatusCode(TobaccoUse tobaccoUse, Diagno public static boolean validateTobaccoUseStatusCodeP(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseStatusCodeP", "ERROR"); + if (VALIDATE_TOBACCO_USE_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -607,6 +624,8 @@ public static boolean validateTobaccoUseStatusCodeP(TobaccoUse tobaccoUse, Diagn public static boolean validateTobaccoUseValue(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseValue", "ERROR"); + if (VALIDATE_TOBACCO_USE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -669,6 +688,8 @@ public static boolean validateTobaccoUseValue(TobaccoUse tobaccoUse, DiagnosticC public static boolean validateTobaccoUseValueP(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseValueP", "ERROR"); + if (VALIDATE_TOBACCO_USE_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -731,6 +752,8 @@ public static boolean validateTobaccoUseValueP(TobaccoUse tobaccoUse, Diagnostic public static boolean validateTobaccoUseCDCodeTermAssertionOrLoinc(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseCDCodeTermAssertionOrLoinc", "ERROR"); + if (VALIDATE_TOBACCO_USE_CD_CODE_TERM_ASSERTION_OR_LOINC__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +824,8 @@ public static boolean validateTobaccoUseCDCodeTermAssertionOrLoinc(TobaccoUse to public static boolean validateTobaccoUseCDCode(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseCDCode", "ERROR"); + if (VALIDATE_TOBACCO_USE_CD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -869,6 +894,8 @@ public static boolean validateTobaccoUseCDCode(TobaccoUse tobaccoUse, Diagnostic public static boolean validateTobaccoUseCDCodeSystem(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseCDCodeSystem", "ERROR"); + if (VALIDATE_TOBACCO_USE_CD_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TransferSummaryOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TransferSummaryOperations.java index cdc7a4afe0..f3897776a5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TransferSummaryOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TransferSummaryOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -214,6 +215,11 @@ protected TransferSummaryOperations() { public static boolean validateTransferSummaryHasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "TransferSummaryTransferSummaryHasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2", + "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_HAS_AN_ASSEMENT_AND_PLAN_SECTION2_OR_BOTH_ASSEMENT_SECTION_AND_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -280,6 +286,11 @@ public static boolean validateTransferSummaryHasAnAssementAndPlanSection2OrBothA public static boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "TransferSummaryTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent", + "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_DOES_NOT_HAVE_ASSEMENT_AND_PLAN_SECTION2_WHEN_ASSEMENT_AND_PLAN_OF_TREATMENT2_ARE_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -346,6 +357,8 @@ public static boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2W public static boolean validateTransferSummaryCodeP(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryCodeP", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -432,6 +445,8 @@ public static boolean validateTransferSummaryCode(TransferSummary transferSummar return true; } + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -495,6 +510,8 @@ public static boolean validateTransferSummaryCode(TransferSummary transferSummar public static boolean validateTransferSummaryTitle(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryTitle", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -558,6 +575,8 @@ public static boolean validateTransferSummaryTitle(TransferSummary transferSumma public static boolean validateTransferSummaryParticipantSupport(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryParticipantSupport", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -623,6 +642,8 @@ public static boolean validateTransferSummaryParticipantSupport(TransferSummary public static boolean validateTransferSummaryParticipantCallbackContact(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryParticipantCallbackContact", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -688,6 +709,8 @@ public static boolean validateTransferSummaryParticipantCallbackContact(Transfer public static boolean validateTransferSummaryDocumentationOf(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryDocumentationOf", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -751,6 +774,8 @@ public static boolean validateTransferSummaryDocumentationOf(TransferSummary tra public static boolean validateTransferSummaryAdvanceDirectivesSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryAdvanceDirectivesSection2", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_ADVANCE_DIRECTIVES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -816,6 +841,8 @@ public static boolean validateTransferSummaryAdvanceDirectivesSection2(TransferS public static boolean validateTransferSummaryAllergiesSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryAllergiesSection2", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_ALLERGIES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -881,6 +908,8 @@ public static boolean validateTransferSummaryAllergiesSection2(TransferSummary t public static boolean validateTransferSummaryPhysicalExamSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryPhysicalExamSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_PHYSICAL_EXAM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -946,6 +975,8 @@ public static boolean validateTransferSummaryPhysicalExamSection2(TransferSummar public static boolean validateTransferSummaryEncountersSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryEncountersSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_ENCOUNTERS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1011,6 +1042,8 @@ public static boolean validateTransferSummaryEncountersSection2(TransferSummary public static boolean validateTransferSummaryFamilyHistorySection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryFamilyHistorySection", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_FAMILY_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1076,6 +1109,8 @@ public static boolean validateTransferSummaryFamilyHistorySection(TransferSummar public static boolean validateTransferSummaryFunctionalStatusSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryFunctionalStatusSection2", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_FUNCTIONAL_STATUS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1141,6 +1176,8 @@ public static boolean validateTransferSummaryFunctionalStatusSection2(TransferSu public static boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryImmunizationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1207,6 +1244,8 @@ public static boolean validateTransferSummaryImmunizationsSectionEntriesOptional public static boolean validateTransferSummaryMedicalEquipmentSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryMedicalEquipmentSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_MEDICAL_EQUIPMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1272,6 +1311,8 @@ public static boolean validateTransferSummaryMedicalEquipmentSection2(TransferSu public static boolean validateTransferSummaryMedicationsSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryMedicationsSection2", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_MEDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1337,6 +1378,8 @@ public static boolean validateTransferSummaryMedicationsSection2(TransferSummary public static boolean validateTransferSummaryPayersSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryPayersSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_PAYERS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1400,6 +1443,8 @@ public static boolean validateTransferSummaryPayersSection2(TransferSummary tran public static boolean validateTransferSummaryPlanOfTreatmentSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryPlanOfTreatmentSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1465,6 +1510,8 @@ public static boolean validateTransferSummaryPlanOfTreatmentSection2(TransferSum public static boolean validateTransferSummaryProblemSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryProblemSection2", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PROBLEM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1528,6 +1575,8 @@ public static boolean validateTransferSummaryProblemSection2(TransferSummary tra public static boolean validateTransferSummaryProceduresSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryProceduresSection2", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_PROCEDURES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1593,6 +1642,8 @@ public static boolean validateTransferSummaryProceduresSection2(TransferSummary public static boolean validateTransferSummaryResultsSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryResultsSection2", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_RESULTS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1656,6 +1707,8 @@ public static boolean validateTransferSummaryResultsSection2(TransferSummary tra public static boolean validateTransferSummarySocialHistorySection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummarySocialHistorySection2", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1721,6 +1774,8 @@ public static boolean validateTransferSummarySocialHistorySection2(TransferSumma public static boolean validateTransferSummaryVitalSignsSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryVitalSignsSection2", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_VITAL_SIGNS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1786,6 +1841,8 @@ public static boolean validateTransferSummaryVitalSignsSection2(TransferSummary public static boolean validateTransferSummaryMentalStatusSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryMentalStatusSection", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_MENTAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1851,6 +1908,8 @@ public static boolean validateTransferSummaryMentalStatusSection(TransferSummary public static boolean validateTransferSummaryGeneralStatusSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryGeneralStatusSection", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_GENERAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1916,6 +1975,8 @@ public static boolean validateTransferSummaryGeneralStatusSection(TransferSummar public static boolean validateTransferSummaryReviewOfSystemsSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryReviewOfSystemsSection", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1981,6 +2042,8 @@ public static boolean validateTransferSummaryReviewOfSystemsSection(TransferSumm public static boolean validateTransferSummaryNutritionSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryNutritionSection", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_NUTRITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2045,6 +2108,8 @@ public static boolean validateTransferSummaryNutritionSection(TransferSummary tr public static boolean validateTransferSummaryReasonForReferralSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryReasonForReferralSection2", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_REASON_FOR_REFERRAL_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2110,6 +2175,8 @@ public static boolean validateTransferSummaryReasonForReferralSection2(TransferS public static boolean validateTransferSummaryHistoryOfPastIllnessSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryHistoryOfPastIllnessSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_HISTORY_OF_PAST_ILLNESS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2175,6 +2242,8 @@ public static boolean validateTransferSummaryHistoryOfPastIllnessSection2(Transf public static boolean validateTransferSummaryHistoryOfPresentIllnessSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryHistoryOfPresentIllnessSection", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2240,6 +2309,8 @@ public static boolean validateTransferSummaryHistoryOfPresentIllnessSection(Tran public static boolean validateTransferSummaryAssessmentAndPlanSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryAssessmentAndPlanSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_ASSESSMENT_AND_PLAN_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2305,6 +2376,8 @@ public static boolean validateTransferSummaryAssessmentAndPlanSection2(TransferS public static boolean validateTransferSummaryAssessmentSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryAssessmentSection", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2370,6 +2443,8 @@ public static boolean validateTransferSummaryAssessmentSection(TransferSummary t public static boolean validateTransferSummaryDischargeDiagnosisSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryDischargeDiagnosisSection2", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_DISCHARGE_DIAGNOSIS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2435,6 +2510,9 @@ public static boolean validateTransferSummaryDischargeDiagnosisSection2(Transfer public static boolean validateTransferSummaryAdmissionMedicationsSectionEntriesOptional2( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryAdmissionMedicationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2501,6 +2579,8 @@ public static boolean validateTransferSummaryAdmissionMedicationsSectionEntriesO public static boolean validateTransferSummaryAdmissionDiagnosisSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryAdmissionDiagnosisSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_ADMISSION_DIAGNOSIS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2566,6 +2646,8 @@ public static boolean validateTransferSummaryAdmissionDiagnosisSection2(Transfer public static boolean validateTransferSummaryCourseOfCareSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryCourseOfCareSection", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_COURSE_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2631,6 +2713,9 @@ public static boolean validateTransferSummaryCourseOfCareSection(TransferSummary public static boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPersonName( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantSupportAssociatedEntityAssociatedPersonName", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2702,6 +2787,9 @@ public static boolean validateTransferSummaryParticipantSupportAssociatedEntityA public static boolean validateTransferSummaryParticipantSupportAssociatedEntityClassCodeP( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantSupportAssociatedEntityClassCodeP", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY_CLASS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2789,6 +2877,9 @@ public static boolean validateTransferSummaryParticipantSupportAssociatedEntityC public static boolean validateTransferSummaryParticipantSupportAssociatedEntityClassCode( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantSupportAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2870,6 +2961,9 @@ public static boolean validateTransferSummaryParticipantSupportAssociatedEntityC public static boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPerson( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantSupportAssociatedEntityAssociatedPerson", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2941,6 +3035,8 @@ public static boolean validateTransferSummaryParticipantSupportAssociatedEntityA public static boolean validateTransferSummaryParticipantSupportTypeCode(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryParticipantSupportTypeCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3011,6 +3107,8 @@ public static boolean validateTransferSummaryParticipantSupportTypeCode(Transfer public static boolean validateTransferSummaryParticipantSupportAssociatedEntity(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryParticipantSupportAssociatedEntity", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3082,6 +3180,10 @@ public static boolean validateTransferSummaryParticipantSupportAssociatedEntity( public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAssociatedPersonName( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityAssociatedPersonName", + "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3153,6 +3255,9 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityClassCode( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3224,6 +3329,9 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityId( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityId", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3295,6 +3403,9 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAddr( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityAddr", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3366,6 +3477,9 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityTelecom( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityTelecom", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3437,6 +3551,10 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAssociatedPerson( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityAssociatedPerson", + "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3508,6 +3626,10 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityScopingOrganization( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityScopingOrganization", + "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_SCOPING_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3579,6 +3701,8 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactTypeCode(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryParticipantCallbackContactTypeCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3650,6 +3774,9 @@ public static boolean validateTransferSummaryParticipantCallbackContactTypeCode( public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntity( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntity", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3721,6 +3848,9 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryDocumentationOfServiceEventPerformerTypeCode( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryDocumentationOfServiceEventPerformerTypeCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3792,6 +3922,9 @@ public static boolean validateTransferSummaryDocumentationOfServiceEventPerforme public static boolean validateTransferSummaryDocumentationOfServiceEventPerformerFunctionCodeP( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryDocumentationOfServiceEventPerformerFunctionCodeP", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_FUNCTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3879,6 +4012,9 @@ public static boolean validateTransferSummaryDocumentationOfServiceEventPerforme public static boolean validateTransferSummaryDocumentationOfServiceEventPerformerFunctionCode( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryDocumentationOfServiceEventPerformerFunctionCode", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_FUNCTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3960,6 +4096,8 @@ public static boolean validateTransferSummaryDocumentationOfServiceEventPerforme public static boolean validateTransferSummaryDocumentationOfServiceEventClassCode(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryDocumentationOfServiceEventClassCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4031,6 +4169,8 @@ public static boolean validateTransferSummaryDocumentationOfServiceEventClassCod public static boolean validateTransferSummaryDocumentationOfServiceEventCode(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryDocumentationOfServiceEventCode", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4102,6 +4242,9 @@ public static boolean validateTransferSummaryDocumentationOfServiceEventCode(Tra public static boolean validateTransferSummaryDocumentationOfServiceEventPerformer1(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryDocumentationOfServiceEventPerformer1", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4173,6 +4316,8 @@ public static boolean validateTransferSummaryDocumentationOfServiceEventPerforme public static boolean validateTransferSummaryDocumentationOfServiceEvent(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryDocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5560,6 +5705,8 @@ public static CourseOfCareSection getCourseOfCareSection(TransferSummary transfe public static boolean validateUSRealmHeader2TemplateId(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryUSRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeader2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeader2Operations.java index 7cfbe0febd..86f77c92d3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeader2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeader2Operations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -176,6 +177,8 @@ protected USRealmHeader2Operations() { public static boolean validateUSRealmHeader2DocCodesOnly(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2USRealmHeader2DocCodesOnly", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_DOC_CODES_ONLY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +242,8 @@ public static boolean validateUSRealmHeader2DocCodesOnly(USRealmHeader2 usRealmH public static boolean validateUSRealmHeader2TemplateId(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +309,9 @@ public static boolean validateUSRealmHeader2TemplateId(USRealmHeader2 usRealmHea public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientGuardianCodeTerminology( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2RecordTargetPatientRolePatientGuardianCodeTerminology", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE_TERMINOLOGY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -375,6 +383,9 @@ public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientGuardi public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientTSBirthTimePreciseToMinute( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2RecordTargetPatientRolePatientTSBirthTimePreciseToMinute", "INFO"); + if (VALIDATE_US_REALM_HEADER2_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_BIRTH_TIME_PRECISE_TO_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -446,6 +457,9 @@ public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientTSBirt public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCodeP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCodeP", "INFO"); + if (VALIDATE_US_REALM_HEADER2_RECORD_TARGET_PATIENT_ROLE_PATIENT_SDTC_ETHNIC_GROUP_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -533,6 +547,9 @@ public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEt public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCode", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_RECORD_TARGET_PATIENT_ROLE_PATIENT_SDTC_ETHNIC_GROUP_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -614,6 +631,9 @@ public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEt public static boolean validateUSRealmHeader2AuthorAssignedAuthorIfAssignedPersonThenContainsCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2AuthorAssignedAuthorIfAssignedPersonThenContainsCode", "WARNING"); + if (VALIDATE_US_REALM_HEADER2_AUTHOR_ASSIGNED_AUTHOR_IF_ASSIGNED_PERSON_THEN_CONTAINS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -685,6 +705,8 @@ public static boolean validateUSRealmHeader2AuthorAssignedAuthorIfAssignedPerson public static boolean validateUSRealmHeader2AuthorAssignedAuthorCodeTerminology(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2USRealmHeader2AuthorAssignedAuthorCodeTerminology", "WARNING"); + if (VALIDATE_US_REALM_HEADER2_AUTHOR_ASSIGNED_AUTHOR_CODE_TERMINOLOGY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +778,8 @@ public static boolean validateUSRealmHeader2AuthorAssignedAuthorCodeTerminology( public static boolean validateUSRealmHeader2InformationRecipientIntendedRecipientId(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2USRealmHeader2InformationRecipientIntendedRecipientId", "INFO"); + if (VALIDATE_US_REALM_HEADER2_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -827,6 +851,8 @@ public static boolean validateUSRealmHeader2InformationRecipientIntendedRecipien public static boolean validateUSRealmHeader2LegalAuthenticatorSDTCSignatureText(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2USRealmHeader2LegalAuthenticatorSDTCSignatureText", "INFO"); + if (VALIDATE_US_REALM_HEADER2_LEGAL_AUTHENTICATOR_SDTC_SIGNATURE_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -898,6 +924,8 @@ public static boolean validateUSRealmHeader2LegalAuthenticatorSDTCSignatureText( public static boolean validateUSRealmHeader2AuthenticatorSDTCSignatureText(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2USRealmHeader2AuthenticatorSDTCSignatureText", "INFO"); + if (VALIDATE_US_REALM_HEADER2_AUTHENTICATOR_SDTC_SIGNATURE_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -969,6 +997,11 @@ public static boolean validateUSRealmHeader2AuthenticatorSDTCSignatureText(USRea public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1040,6 +1073,11 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1111,6 +1149,11 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1161,6 +1204,10 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1255,6 +1302,10 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1326,6 +1377,10 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1397,6 +1452,10 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1468,6 +1527,10 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1539,6 +1602,11 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1610,6 +1678,11 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1681,6 +1754,9 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantAssignedEntity( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2GeneralHeaderConstraintsInformantAssignedEntity", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1752,6 +1828,9 @@ public static boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantAss public static boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantRelatedEntity( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2GeneralHeaderConstraintsInformantRelatedEntity", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1802,6 +1881,8 @@ public static boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantRel public static boolean validateGeneralHeaderConstraintsTitle(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsTitle", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1887,6 +1968,8 @@ public static boolean validateGeneralHeaderConstraintsTitle(USRealmHeader2 usRea public static boolean validateGeneralHeaderConstraintsRealmCode(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsRealmCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_REALM_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1952,6 +2035,8 @@ public static boolean validateGeneralHeaderConstraintsRealmCode(USRealmHeader2 u public static boolean validateGeneralHeaderConstraintsRecordTarget(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsRecordTarget", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2017,6 +2102,8 @@ public static boolean validateGeneralHeaderConstraintsRecordTarget(USRealmHeader public static boolean validateGeneralHeaderConstraintsDataEnterer(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsDataEnterer", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2082,6 +2169,8 @@ public static boolean validateGeneralHeaderConstraintsDataEnterer(USRealmHeader2 public static boolean validateGeneralHeaderConstraintsAuthor(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsAuthor", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2145,6 +2234,8 @@ public static boolean validateGeneralHeaderConstraintsAuthor(USRealmHeader2 usRe public static boolean validateGeneralHeaderConstraintsCustodian(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsCustodian", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2210,6 +2301,8 @@ public static boolean validateGeneralHeaderConstraintsCustodian(USRealmHeader2 u public static boolean validateGeneralHeaderConstraintsInformationRecipient(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformationRecipient", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2275,6 +2368,8 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipient(USRea public static boolean validateGeneralHeaderConstraintsLegalAuthenticator(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsLegalAuthenticator", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2340,6 +2435,8 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticator(USRealm public static boolean validateGeneralHeaderConstraintsAuthenticator(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsAuthenticator", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2405,6 +2502,8 @@ public static boolean validateGeneralHeaderConstraintsAuthenticator(USRealmHeade public static boolean validateGeneralHeaderConstraintsInformant(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformant", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2470,6 +2569,8 @@ public static boolean validateGeneralHeaderConstraintsInformant(USRealmHeader2 u public static boolean validateGeneralHeaderConstraintsInFulfillmentOf(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInFulfillmentOf", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2535,6 +2636,8 @@ public static boolean validateGeneralHeaderConstraintsInFulfillmentOf(USRealmHea public static boolean validateGeneralHeaderConstraintsComponentOf(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsComponentOf", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2600,6 +2703,8 @@ public static boolean validateGeneralHeaderConstraintsComponentOf(USRealmHeader2 public static boolean validateGeneralHeaderConstraintsSupportParticipant(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsSupportParticipant", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_SUPPORT_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2665,6 +2770,8 @@ public static boolean validateGeneralHeaderConstraintsSupportParticipant(USRealm public static boolean validateGeneralHeaderConstraintsDocumentationOf(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOf", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2730,6 +2837,8 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOf(USRealmHea public static boolean validateGeneralHeaderConstraintsAuthorization(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsAuthorization", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2795,6 +2904,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorization(USRealmHeade public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTELUse( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTELUse", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2866,6 +2978,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCodeFromPersonalRelationshipOrResponsibleParty( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCodeFromPersonalRelationshipOrResponsibleParty", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE_FROM_PERSONAL_RELATIONSHIP_OR_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2937,6 +3054,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3008,6 +3128,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTelecom( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTelecom", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3079,6 +3202,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCodeP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCodeP", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_LANGUAGE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3166,6 +3294,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_LANGUAGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3247,6 +3380,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_PREFERENCE_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3318,6 +3456,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToYear( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToYear", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_BIRTH_TIME_PRECISE_TO_YEAR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3389,6 +3531,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToDay( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToDay", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_BIRTH_TIME_PRECISE_TO_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3460,6 +3606,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSValue( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientTSValue", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3531,6 +3680,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceHasState( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceHasState", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE_PLACE_HAS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3602,6 +3755,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlace( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlace", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE_PLACE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3675,6 +3831,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_RACE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3746,6 +3905,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCodeP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_RACE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3819,6 +3981,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_ETHNIC_GROUP_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3890,6 +4055,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCodeP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_ETHNIC_GROUP_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3961,6 +4129,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthTime( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientBirthTime", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTH_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4032,6 +4203,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardian( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientGuardian", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4103,6 +4277,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunication( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunication", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4174,6 +4352,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4245,6 +4426,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatient(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatient", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4316,6 +4500,8 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRole(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRole", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4387,6 +4573,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRole(US public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityCodeP(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDataEntererAssignedEntityCodeP", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4474,6 +4663,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityC public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityCode(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDataEntererAssignedEntityCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4555,6 +4747,8 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityC public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntity(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsDataEntererAssignedEntity", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4626,6 +4820,8 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntity( public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCodeP(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsAuthorAssignedAuthorCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4711,6 +4907,8 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCodeP( public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCode(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsAuthorAssignedAuthorCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4792,6 +4990,8 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCode(U public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthor(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsAuthorAssignedAuthor", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4863,6 +5063,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthor(USRea public static boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipient( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsInformationRecipientIntendedRecipient", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT_INTENDED_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4934,6 +5137,8 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipientIntend public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityCodeP(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformantAssignedEntityCodeP", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5021,6 +5226,8 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityCod public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityCode(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformantAssignedEntityCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5102,6 +5309,8 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityCod public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityAddr(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformantAssignedEntityAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5173,6 +5382,8 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityAdd public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityAddr(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformantRelatedEntityAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5244,6 +5455,8 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityAddr public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityPerson(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformantRelatedEntityPerson", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5315,6 +5528,9 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityPers public static boolean validateGeneralHeaderConstraintsInformantHasAssignedEntityOrRelatedEntity( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsInformantHasAssignedEntityOrRelatedEntity", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_HAS_ASSIGNED_ENTITY_OR_RELATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5386,6 +5602,9 @@ public static boolean validateGeneralHeaderConstraintsInformantHasAssignedEntity public static boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounter( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5457,6 +5676,11 @@ public static boolean validateGeneralHeaderConstraintsComponentOfEncompassingEnc public static boolean validateGeneralHeaderConstraintsParticipantSupportAssociatedEntityHasAssociatedPersonOrScopingOrganization( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2GeneralHeaderConstraintsParticipantSupportAssociatedEntityHasAssociatedPersonOrScopingOrganization", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY_HAS_ASSOCIATED_PERSON_OR_SCOPING_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5528,6 +5752,10 @@ public static boolean validateGeneralHeaderConstraintsParticipantSupportAssociat public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCodeP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCodeP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5615,6 +5843,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5696,6 +5928,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCodeP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCodeP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_FUNCTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5783,6 +6019,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_FUNCTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5864,6 +6104,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntity( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5935,6 +6179,9 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEventPerformer", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6006,6 +6253,8 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEvent(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeaderPatientGeneratedDocumentOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeaderPatientGeneratedDocumentOperations.java index 50ce581f79..9907bede22 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeaderPatientGeneratedDocumentOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeaderPatientGeneratedDocumentOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -163,6 +164,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTarget( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTarget", "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +234,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthor( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthor", "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDataEnterer( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDataEnterer", "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DATA_ENTERER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +374,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformant( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformant", "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -431,6 +444,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentCustodian( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentCustodian", "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -498,6 +514,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRe USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformationRecipient", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -565,6 +585,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenti USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentLegalAuthenticator", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_LEGAL_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -632,6 +656,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthenticator", "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -699,6 +726,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentParticipant( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentParticipant", "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -766,6 +796,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillment USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInFulfillmentOf", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -833,6 +867,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOf", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -900,6 +938,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardianId", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -972,6 +1015,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardianCodeP", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1060,6 +1108,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardianCode", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1142,6 +1195,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_PREFERENCE_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1214,6 +1272,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientIfMoreThanOneLangComm", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_IF_MORE_THAN_ONE_LANG_COMM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1286,6 +1349,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardian", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1358,6 +1426,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientLanguageCommunication", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1430,6 +1503,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRoleId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1502,6 +1580,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatient", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1574,6 +1657,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRoleProviderOrganization", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1646,6 +1734,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRole", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1718,6 +1811,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssigne USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCECodeSystemAndTerminology", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR_CE_CODE_SYSTEM_AND_TERMINOLOGY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1790,6 +1888,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssigne USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCECode", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR_CE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1862,6 +1965,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssigne USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1934,6 +2041,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssigne USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2006,6 +2118,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssigne USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthor", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2078,6 +2194,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAs USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntityCodeP", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DATA_ENTERER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2166,6 +2287,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAs USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntityCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DATA_ENTERER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2248,6 +2374,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAs USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DATA_ENTERER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2320,6 +2451,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRela USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntityCodeP", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMANT_RELATED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2408,6 +2544,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRela USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntityCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMANT_RELATED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2490,6 +2631,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformantHasR USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformantHasRelatedEntityOrAssignedEntity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMANT_HAS_RELATED_ENTITY_OR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2562,6 +2708,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRela USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntity", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMANT_RELATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2634,6 +2784,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssi USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodianRepresentedCustodianOrganizationId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN_REPRESENTED_CUSTODIAN_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2706,6 +2861,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssi USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodianRepresentedCustodianOrganization", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN_REPRESENTED_CUSTODIAN_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2778,6 +2938,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssi USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodian", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2850,6 +3015,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRe USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntendedRecipientIIRoot", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_II_ROOT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2922,6 +3092,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRe USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntendedRecipientId", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2994,6 +3169,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRe USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntendedRecipient", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMATION_RECIPIENT_INTENDED_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3066,6 +3246,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenti USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityCECodeSystemAndTerminology", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_CE_CODE_SYSTEM_AND_TERMINOLOGY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3138,6 +3323,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenti USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityCECode", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_CE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3210,6 +3400,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenti USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3282,6 +3477,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenti USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityCode", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3354,6 +3554,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenti USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3426,6 +3631,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntityId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHENTICATOR_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3498,6 +3708,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntityCodeP", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHENTICATOR_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3586,6 +3801,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntityCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHENTICATOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3668,6 +3888,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHENTICATOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3740,6 +3965,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAs USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntityCodeP", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_PARTICIPANT_ASSOCIATED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3828,6 +4058,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAs USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntityCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_PARTICIPANT_ASSOCIATED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3910,6 +4145,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantIf USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentParticipantIfTypeCodeINDThenAEClassCodeFromINDRoleclassCodes", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_PARTICIPANT_IF_TYPE_CODE_IND_THEN_AE_CLASS_CODE_FROM_IND_ROLECLASS_CODES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3982,6 +4222,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantTy USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentParticipantTypeCode", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4054,6 +4298,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAs USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_PARTICIPANT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4126,6 +4375,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillment USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInFulfillmentOfOrderId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_IN_FULFILLMENT_OF_ORDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4198,6 +4451,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillment USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInFulfillmentOfOrder", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_IN_FULFILLMENT_OF_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4270,6 +4527,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntityId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4342,6 +4604,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntityCodeP", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4430,6 +4697,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntityCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4512,6 +4784,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerFunctionCodeP", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_FUNCTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4600,6 +4877,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerFunctionCode", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_FUNCTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4682,6 +4964,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4754,6 +5041,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4826,6 +5118,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformer", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4898,6 +5195,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4970,6 +5272,8 @@ public static boolean validateUSRealmHeader2TemplateId( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocument2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocument2Operations.java index aed5c21e55..927bee8887 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocument2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocument2Operations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -108,6 +109,8 @@ protected UnstructuredDocument2Operations() { public static boolean validateUnstructuredDocument2RecordTarget(UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2UnstructuredDocument2RecordTarget", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_RECORD_TARGET__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +176,8 @@ public static boolean validateUnstructuredDocument2RecordTarget(UnstructuredDocu public static boolean validateUnstructuredDocument2Custodian(UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2UnstructuredDocument2Custodian", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,8 @@ public static boolean validateUnstructuredDocument2Custodian(UnstructuredDocumen public static boolean validateUnstructuredDocument2Component(UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2UnstructuredDocument2Component", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_COMPONENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -301,6 +308,9 @@ public static boolean validateUnstructuredDocument2Component(UnstructuredDocumen public static boolean validateUnstructuredDocument2RecordTargetPatientRoleId( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocument2UnstructuredDocument2RecordTargetPatientRoleId", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_RECORD_TARGET_PATIENT_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +382,8 @@ public static boolean validateUnstructuredDocument2RecordTargetPatientRoleId( public static boolean validateUnstructuredDocument2RecordTargetPatientRole( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2UnstructuredDocument2RecordTargetPatientRole", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_RECORD_TARGET_PATIENT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -443,6 +455,11 @@ public static boolean validateUnstructuredDocument2RecordTargetPatientRole( public static boolean validateUnstructuredDocument2CustodianAssignedCustodianRepresentedCustodianOrganization( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "UnstructuredDocument2UnstructuredDocument2CustodianAssignedCustodianRepresentedCustodianOrganization", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_CUSTODIAN_ASSIGNED_CUSTODIAN_REPRESENTED_CUSTODIAN_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -514,6 +531,9 @@ public static boolean validateUnstructuredDocument2CustodianAssignedCustodianRep public static boolean validateUnstructuredDocument2CustodianAssignedCustodian( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocument2UnstructuredDocument2CustodianAssignedCustodian", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_CUSTODIAN_ASSIGNED_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +605,9 @@ public static boolean validateUnstructuredDocument2CustodianAssignedCustodian( public static boolean validateUnstructuredDocument2ComponentNonXMLBodyEDMediaType( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocument2UnstructuredDocument2ComponentNonXMLBodyEDMediaType", "INFO"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_COMPONENT_NON_XML_BODY_ED_MEDIA_TYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -656,6 +679,10 @@ public static boolean validateUnstructuredDocument2ComponentNonXMLBodyEDMediaTyp public static boolean validateUnstructuredDocument2ComponentNonXMLBodyHasReferenceOrRepresentation( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocument2UnstructuredDocument2ComponentNonXMLBodyHasReferenceOrRepresentation", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_COMPONENT_NON_XML_BODY_HAS_REFERENCE_OR_REPRESENTATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -727,6 +754,9 @@ public static boolean validateUnstructuredDocument2ComponentNonXMLBodyHasReferen public static boolean validateUnstructuredDocument2ComponentNonXMLBodyMediaTypeFileFormats( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocument2UnstructuredDocument2ComponentNonXMLBodyMediaTypeFileFormats", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_COMPONENT_NON_XML_BODY_MEDIA_TYPE_FILE_FORMATS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -798,6 +828,8 @@ public static boolean validateUnstructuredDocument2ComponentNonXMLBodyMediaTypeF public static boolean validateUnstructuredDocument2ComponentNonXMLBodyText( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2UnstructuredDocument2ComponentNonXMLBodyText", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_COMPONENT_NON_XML_BODY_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -869,6 +901,8 @@ public static boolean validateUnstructuredDocument2ComponentNonXMLBodyText( public static boolean validateUnstructuredDocument2ComponentNonXMLBody(UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2UnstructuredDocument2ComponentNonXMLBody", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_COMPONENT_NON_XML_BODY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -940,6 +974,8 @@ public static boolean validateUnstructuredDocument2ComponentNonXMLBody(Unstructu public static boolean validateUSRealmHeader2TemplateId(UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocumentOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocumentOperations.java index e1829b6bb3..cd5d4efd01 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocumentOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocumentOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -109,6 +110,8 @@ protected UnstructuredDocumentOperations() { public static boolean validateUnstructuredDocumentRecordTarget(UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentRecordTarget", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_RECORD_TARGET__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -174,6 +177,8 @@ public static boolean validateUnstructuredDocumentRecordTarget(UnstructuredDocum public static boolean validateUnstructuredDocumentAuthor(UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentAuthor", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,8 @@ public static boolean validateUnstructuredDocumentAuthor(UnstructuredDocument un public static boolean validateUnstructuredDocumentComponent(UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentComponent", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_COMPONENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -301,6 +308,8 @@ public static boolean validateUnstructuredDocumentComponent(UnstructuredDocument public static boolean validateUnstructuredDocumentCustodian(UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentCustodian", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +374,8 @@ public static boolean validateUnstructuredDocumentCustodian(UnstructuredDocument public static boolean validateUnstructuredDocumentRecordTargetPatientRole2Id( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentRecordTargetPatientRole2Id", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +447,8 @@ public static boolean validateUnstructuredDocumentRecordTargetPatientRole2Id( public static boolean validateUnstructuredDocumentRecordTargetPatientRole2( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentRecordTargetPatientRole2", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -507,6 +520,8 @@ public static boolean validateUnstructuredDocumentRecordTargetPatientRole2( public static boolean validateUnstructuredDocumentAuthorAssignedAuthor2Addr( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentAuthorAssignedAuthor2Addr", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR2_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -578,6 +593,9 @@ public static boolean validateUnstructuredDocumentAuthorAssignedAuthor2Addr( public static boolean validateUnstructuredDocumentAuthorAssignedAuthor2Telecom( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentAuthorAssignedAuthor2Telecom", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR2_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -649,6 +667,8 @@ public static boolean validateUnstructuredDocumentAuthorAssignedAuthor2Telecom( public static boolean validateUnstructuredDocumentAuthorAssignedAuthor2(UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentAuthorAssignedAuthor2", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -720,6 +740,10 @@ public static boolean validateUnstructuredDocumentAuthorAssignedAuthor2(Unstruct public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationAddr( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationAddr", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN3_CUSTODIAN_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -791,6 +815,10 @@ public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3Cus public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationId( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationId", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN3_CUSTODIAN_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -862,6 +890,10 @@ public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3Cus public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationName( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationName", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN3_CUSTODIAN_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -933,6 +965,10 @@ public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3Cus public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationTelecom( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationTelecom", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN3_CUSTODIAN_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1004,6 +1040,10 @@ public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3Cus public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganization( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganization", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN3_CUSTODIAN_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1075,6 +1115,9 @@ public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3Cus public static boolean validateUnstructuredDocumentCustodianAssignedCustodian2( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentCustodianAssignedCustodian2", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1146,6 +1189,8 @@ public static boolean validateUnstructuredDocumentCustodianAssignedCustodian2( public static boolean validateGeneralHeaderConstraintsTemplateId(UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservation2Operations.java index afbe332952..aa6d256294 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservation2Operations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected VitalSignObservation2Operations() { public static boolean validateVitalSignObservation2TemplateId(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservation2TemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateVitalSignObservation2TemplateId(VitalSignObservati public static boolean validateVitalSignObservationInterpretationCodeP(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationInterpretationCodeP", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_INTERPRETATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -245,6 +250,8 @@ public static boolean validateVitalSignObservationInterpretationCodeP(VitalSignO public static boolean validateVitalSignObservation2AuthorParticipation(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_VITAL_SIGN_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -321,6 +328,8 @@ public static boolean validateVitalSignObservation2AuthorParticipation(VitalSign public static boolean validateVitalSignObservationTextReference(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationTextReference", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -386,6 +395,8 @@ public static boolean validateVitalSignObservationTextReference(VitalSignObserva public static boolean validateVitalSignObservationReferenceValue(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationReferenceValue", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -451,6 +462,8 @@ public static boolean validateVitalSignObservationReferenceValue(VitalSignObserv public static boolean validateVitalSignObservationTextReferenceValue(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationTextReferenceValue", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -516,6 +529,8 @@ public static boolean validateVitalSignObservationTextReferenceValue(VitalSignOb public static boolean validateVitalSignObservationEffectiveTime(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationEffectiveTime", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -581,6 +596,8 @@ public static boolean validateVitalSignObservationEffectiveTime(VitalSignObserva public static boolean validateVitalSignObservationValue(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationValue", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -644,6 +661,8 @@ public static boolean validateVitalSignObservationValue(VitalSignObservation2 vi public static boolean validateVitalSignObservationText(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationText", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -717,6 +736,8 @@ public static boolean validateVitalSignObservationInterpretationCode(VitalSignOb return true; } + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationInterpretationCode", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -782,6 +803,8 @@ public static boolean validateVitalSignObservationInterpretationCode(VitalSignOb public static boolean validateVitalSignObservationAuthor(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationAuthor", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservationOperations.java index d6374608fa..78ed055e59 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -108,6 +109,8 @@ protected VitalSignObservationOperations() { public static boolean validateVitalSignObservationTextReference(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationTextReference", "WARNING"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +176,8 @@ public static boolean validateVitalSignObservationTextReference(VitalSignObserva public static boolean validateVitalSignObservationReferenceValue(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationReferenceValue", "WARNING"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +243,8 @@ public static boolean validateVitalSignObservationReferenceValue(VitalSignObserv public static boolean validateVitalSignObservationTextReferenceValue(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationTextReferenceValue", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +310,8 @@ public static boolean validateVitalSignObservationTextReferenceValue(VitalSignOb public static boolean validateVitalSignObservationTemplateId(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationTemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +377,8 @@ public static boolean validateVitalSignObservationTemplateId(VitalSignObservatio public static boolean validateVitalSignObservationClassCode(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationClassCode", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -432,6 +443,8 @@ public static boolean validateVitalSignObservationClassCode(VitalSignObservation public static boolean validateVitalSignObservationMoodCode(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationMoodCode", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -496,6 +509,8 @@ public static boolean validateVitalSignObservationMoodCode(VitalSignObservation public static boolean validateVitalSignObservationId(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationId", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -559,6 +574,8 @@ public static boolean validateVitalSignObservationId(VitalSignObservation vitalS public static boolean validateVitalSignObservationCodeP(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -645,6 +662,8 @@ public static boolean validateVitalSignObservationCode(VitalSignObservation vita return true; } + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationCode", "WARNING"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -709,6 +728,8 @@ public static boolean validateVitalSignObservationCode(VitalSignObservation vita public static boolean validateVitalSignObservationStatusCode(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationStatusCode", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -774,6 +795,8 @@ public static boolean validateVitalSignObservationStatusCode(VitalSignObservatio public static boolean validateVitalSignObservationStatusCodeP(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationStatusCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -839,6 +862,8 @@ public static boolean validateVitalSignObservationStatusCodeP(VitalSignObservati public static boolean validateVitalSignObservationEffectiveTime(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationEffectiveTime", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -904,6 +929,8 @@ public static boolean validateVitalSignObservationEffectiveTime(VitalSignObserva public static boolean validateVitalSignObservationValue(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationValue", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -967,6 +994,8 @@ public static boolean validateVitalSignObservationValue(VitalSignObservation vit public static boolean validateVitalSignObservationInterpretationCode(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationInterpretationCode", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1032,6 +1061,8 @@ public static boolean validateVitalSignObservationInterpretationCode(VitalSignOb public static boolean validateVitalSignObservationMethodCode(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationMethodCode", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1097,6 +1128,8 @@ public static boolean validateVitalSignObservationMethodCode(VitalSignObservatio public static boolean validateVitalSignObservationTargetSiteCode(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationTargetSiteCode", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1162,6 +1195,8 @@ public static boolean validateVitalSignObservationTargetSiteCode(VitalSignObserv public static boolean validateVitalSignObservationText(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationText", "WARNING"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1225,6 +1260,8 @@ public static boolean validateVitalSignObservationText(VitalSignObservation vita public static boolean validateVitalSignObservationAuthor(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationAuthor", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizer2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizer2Operations.java index ed7434dc84..9b3dce24b6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizer2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizer2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -101,6 +102,8 @@ protected VitalSignsOrganizer2Operations() { public static boolean validateVitalSignsOrganizer2TemplateId(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizer2TemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -145,6 +148,8 @@ public static boolean validateVitalSignsOrganizer2TemplateId(VitalSignsOrganizer public static boolean validateVitalSignsOrganizerCodeP(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizerCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -221,6 +226,8 @@ public static boolean validateVitalSignsOrganizerCodeP(VitalSignsOrganizer2 vita public static boolean validateVitalSignsOrganizer2AuthorParticipation(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizer2AuthorParticipation", "WARNING"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateVitalSignsOrganizer2AuthorParticipation(VitalSigns public static boolean validateVitalSignsOrganizer2CDTranslation(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizer2CDTranslation", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +367,8 @@ public static boolean validateVitalSignsOrganizer2CDTranslation(VitalSignsOrgani public static boolean validateVitalSignsOrganizer2CDTranslationP(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizer2CDTranslationP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -509,6 +520,8 @@ public static boolean validateVitalSignsOrganizerCode(VitalSignsOrganizer2 vital return true; } + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizerCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -572,6 +585,8 @@ public static boolean validateVitalSignsOrganizerCode(VitalSignsOrganizer2 vital public static boolean validateVitalSignsOrganizerEffectiveTime(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizerEffectiveTime", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -637,6 +652,8 @@ public static boolean validateVitalSignsOrganizerEffectiveTime(VitalSignsOrganiz public static boolean validateVitalSignsOrganizerVitalSignObservation(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizerVitalSignObservation", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_VITAL_SIGN_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizerOperations.java index a29ca74184..ce52da6295 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizerOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.OrganizerOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -106,6 +107,8 @@ protected VitalSignsOrganizerOperations() { public static boolean validateVitalSignsOrganizerTemplateId(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerTemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +173,8 @@ public static boolean validateVitalSignsOrganizerTemplateId(VitalSignsOrganizer public static boolean validateVitalSignsOrganizerClassCode(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerClassCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -234,6 +239,8 @@ public static boolean validateVitalSignsOrganizerClassCode(VitalSignsOrganizer v public static boolean validateVitalSignsOrganizerMoodCode(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerMoodCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +305,8 @@ public static boolean validateVitalSignsOrganizerMoodCode(VitalSignsOrganizer vi public static boolean validateVitalSignsOrganizerId(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +372,8 @@ public static boolean validateVitalSignsOrganizerId(VitalSignsOrganizer vitalSig public static boolean validateVitalSignsOrganizerCode(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -426,6 +437,8 @@ public static boolean validateVitalSignsOrganizerCode(VitalSignsOrganizer vitalS public static boolean validateVitalSignsOrganizerCodeP(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -489,6 +502,8 @@ public static boolean validateVitalSignsOrganizerCodeP(VitalSignsOrganizer vital public static boolean validateVitalSignsOrganizerStatusCodeP(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -576,6 +591,8 @@ public static boolean validateVitalSignsOrganizerStatusCode(VitalSignsOrganizer return true; } + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerStatusCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -640,6 +657,8 @@ public static boolean validateVitalSignsOrganizerStatusCode(VitalSignsOrganizer public static boolean validateVitalSignsOrganizerEffectiveTime(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerEffectiveTime", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -705,6 +724,8 @@ public static boolean validateVitalSignsOrganizerEffectiveTime(VitalSignsOrganiz public static boolean validateVitalSignsOrganizerVitalSignObservation(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerVitalSignObservation", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_VITAL_SIGN_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSection2Operations.java index 76517e82ce..47b1dadb33 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected VitalSignsSection2Operations() { public static boolean validateVitalSignsSection2NullFlavor(VitalSignsSection2 vitalSignsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSection2VitalSignsSection2NullFlavor", "INFO"); + if (VALIDATE_VITAL_SIGNS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateVitalSignsSection2NullFlavor(VitalSignsSection2 vi public static boolean validateVitalSignsSection2Title(VitalSignsSection2 vitalSignsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSection2VitalSignsSection2Title", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateVitalSignsSection2Title(VitalSignsSection2 vitalSi public static boolean validateVitalSignsSection2Text(VitalSignsSection2 vitalSignsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSection2VitalSignsSection2Text", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateVitalSignsSection2Text(VitalSignsSection2 vitalSig public static boolean validateVitalSignsSectionEntriesOptionalTemplateId(VitalSignsSection2 vitalSignsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSection2VitalSignsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateVitalSignsSectionEntriesOptionalTemplateId(VitalSi public static boolean validateVitalSignsSectionEntriesOptionalCodeP(VitalSignsSection2 vitalSignsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSection2VitalSignsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -442,6 +453,8 @@ public static boolean validateVitalSignsSectionEntriesOptionalCode(VitalSignsSec return true; } + DatatypesUtil.increment(context, "VitalSignsSection2VitalSignsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -507,6 +520,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalCode(VitalSignsSec public static boolean validateVitalSignsSectionEntriesOptionalVitalSignsOrganizer( VitalSignsSection2 vitalSignsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSection2VitalSignsSectionEntriesOptionalVitalSignsOrganizer", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_VITAL_SIGNS_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptional2Operations.java index 6c5d78ed0a..dfc66b3246 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -146,6 +147,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalTemplateId( VitalSignsSectionEntriesOptional2 vitalSignsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptional2VitalSignsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +217,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalCodeP( VitalSignsSectionEntriesOptional2 vitalSignsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptional2VitalSignsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +312,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptional2VitalSignsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +382,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalVitalSignsOrganize VitalSignsSectionEntriesOptional2 vitalSignsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptional2VitalSignsSectionEntriesOptionalVitalSignsOrganizer", "WARNING"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_VITAL_SIGNS_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptionalOperations.java index 007ec4a105..aa23719f13 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalTemplateId( VitalSignsSectionEntriesOptional vitalSignsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptionalVitalSignsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalCode( VitalSignsSectionEntriesOptional vitalSignsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptionalVitalSignsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +246,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalCodeP( VitalSignsSectionEntriesOptional vitalSignsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptionalVitalSignsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +295,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalText( VitalSignsSectionEntriesOptional vitalSignsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptionalVitalSignsSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +386,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalTitle( VitalSignsSectionEntriesOptional vitalSignsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptionalVitalSignsSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +456,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalVitalSignsOrganize VitalSignsSectionEntriesOptional vitalSignsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptionalVitalSignsSectionEntriesOptionalVitalSignsOrganizer", "WARNING"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_VITAL_SIGNS_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionOperations.java index 4dde7b2bbd..31939c9b45 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected VitalSignsSectionOperations() { public static boolean validateVitalSignsSectionCodeP(VitalSignsSection vitalSignsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSectionVitalSignsSectionCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +190,8 @@ public static boolean validateVitalSignsSectionCode(VitalSignsSection vitalSigns return true; } + DatatypesUtil.increment(context, "VitalSignsSectionVitalSignsSectionCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +255,8 @@ public static boolean validateVitalSignsSectionCode(VitalSignsSection vitalSigns public static boolean validateVitalSignsSectionText(VitalSignsSection vitalSignsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSectionVitalSignsSectionText", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +320,8 @@ public static boolean validateVitalSignsSectionText(VitalSignsSection vitalSigns public static boolean validateVitalSignsSectionVitalSignsOrganizer(VitalSignsSection vitalSignsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSectionVitalSignsSectionVitalSignsOrganizer", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_VITAL_SIGNS_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -426,6 +435,8 @@ public static EList getConsolVitalSignsOrganizers(VitalSign public static boolean validateVitalSignsSectionEntriesOptionalTemplateId(VitalSignsSection vitalSignsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSectionVitalSignsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -491,6 +502,8 @@ public static boolean validateVitalSignsSectionEntriesOptionalTemplateId(VitalSi public static boolean validateVitalSignsSectionEntriesOptionalTitle(VitalSignsSection vitalSignsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSectionVitalSignsSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundCharacteristicOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundCharacteristicOperations.java index 52fae469e2..a7fd28e520 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundCharacteristicOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundCharacteristicOperations.java @@ -9,6 +9,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -93,6 +94,8 @@ protected WoundCharacteristicOperations() { public static boolean validateWoundCharacteristicTemplateId(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicTemplateId", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -157,6 +160,8 @@ public static boolean validateWoundCharacteristicTemplateId(WoundCharacteristic public static boolean validateWoundCharacteristicClassCode(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicClassCode", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -221,6 +226,8 @@ public static boolean validateWoundCharacteristicClassCode(WoundCharacteristic w public static boolean validateWoundCharacteristicMoodCode(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicMoodCode", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -284,6 +291,8 @@ public static boolean validateWoundCharacteristicMoodCode(WoundCharacteristic wo public static boolean validateWoundCharacteristicId(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicId", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -347,6 +356,8 @@ public static boolean validateWoundCharacteristicId(WoundCharacteristic woundCha public static boolean validateWoundCharacteristicCodeP(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicCodeP", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -433,6 +444,8 @@ public static boolean validateWoundCharacteristicCode(WoundCharacteristic woundC return true; } + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicCode", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -497,6 +510,8 @@ public static boolean validateWoundCharacteristicCode(WoundCharacteristic woundC public static boolean validateWoundCharacteristicStatusCode(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicStatusCode", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -561,6 +576,8 @@ public static boolean validateWoundCharacteristicStatusCode(WoundCharacteristic public static boolean validateWoundCharacteristicStatusCodeP(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicStatusCodeP", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -626,6 +643,8 @@ public static boolean validateWoundCharacteristicStatusCodeP(WoundCharacteristic public static boolean validateWoundCharacteristicEffectiveTime(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicEffectiveTime", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -693,6 +712,8 @@ public static boolean validateWoundCharacteristicEffectiveTime(WoundCharacterist public static boolean validateWoundCharacteristicValue(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicValue", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +777,8 @@ public static boolean validateWoundCharacteristicValue(WoundCharacteristic wound public static boolean validateWoundCharacteristicValueP(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicValueP", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundMeasurementObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundMeasurementObservationOperations.java index 65dfd4efe8..24ad184729 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundMeasurementObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundMeasurementObservationOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,8 @@ public static boolean validateWoundMeasurementObservationTemplateId( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationTemplateId", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateWoundMeasurementObservationClassCode( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationClassCode", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validateWoundMeasurementObservationMoodCode( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationMoodCode", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateWoundMeasurementObservationMoodCode( public static boolean validateWoundMeasurementObservationId(WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationId", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,8 @@ public static boolean validateWoundMeasurementObservationCodeP( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationCodeP", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -451,6 +462,8 @@ public static boolean validateWoundMeasurementObservationCode( return true; } + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationCode", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -518,6 +531,8 @@ public static boolean validateWoundMeasurementObservationStatusCode( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationStatusCode", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +600,8 @@ public static boolean validateWoundMeasurementObservationStatusCodeP( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationStatusCodeP", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -652,6 +669,9 @@ public static boolean validateWoundMeasurementObservationEffectiveTime( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "WoundMeasurementObservationWoundMeasurementObservationEffectiveTime", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -719,6 +739,8 @@ public static boolean validateWoundMeasurementObservationValue( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationValue", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/RegressionValidationHandler.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/RegressionValidationHandler.java new file mode 100644 index 0000000000..04e0ff2986 --- /dev/null +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/RegressionValidationHandler.java @@ -0,0 +1,161 @@ +/******************************************************************************* + * Copyright (c) 2020 seanmuir. + * 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: + * seanmuir - initial API and implementation + * + *******************************************************************************/ +package org.openhealthtools.mdht.uml.cda.consol.tests; + +import java.io.BufferedWriter; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil.ValidationStatistics; + +/** + * @author seanmuir + * + */ +public class RegressionValidationHandler implements ValidationHandler { + + BufferedWriter writer = null; + + static String cleanup(String message) { + if (message != null && message.startsWith("The feature 'mixed' of")) { + String m[] = message.split("http:"); + if (m.length > 1) { + return "The feature 'mixed' of http:" + m[1]; + } + return message; + + } else { + return message; + } + + } + + /** + * @param writer + */ + public RegressionValidationHandler(String outputFile) { + super(); + Path path = Paths.get(outputFile); + try { + writer = Files.newBufferedWriter(path); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + + /* + * + * + * //Get the file reference + * + * + * //Use try-with-resource to get auto-closeable writer instance + * try (BufferedWriter writer = Files.newBufferedWriter(path)) + * { + * writer.write("Hello World !!"); + * } + */ + /* + * (non-Javadoc) + * + * @see org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler#handleError(org.eclipse.emf.common.util.Diagnostic) + */ + @Override + public void handleError(Diagnostic diagnostic) { + + try { + writer.write(cleanup(diagnostic.getMessage())); + writer.newLine(); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + ; + + // TODO Auto-generated method stub + + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler#handleWarning(org.eclipse.emf.common.util.Diagnostic) + */ + @Override + public void handleWarning(Diagnostic diagnostic) { + try { + writer.write(cleanup(diagnostic.getMessage())); + writer.newLine(); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler#handleInfo(org.eclipse.emf.common.util.Diagnostic) + */ + @Override + public void handleInfo(Diagnostic diagnostic) { + try { + writer.write(cleanup(diagnostic.getMessage())); + writer.newLine(); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler#isCaptureValidationStatistics() + */ + @Override + public boolean isCaptureValidationStatistics() { + // TODO Auto-generated method stub + return false; + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler#getValidationStatistics() + */ + @Override + public ValidationStatistics getValidationStatistics() { + // TODO Auto-generated method stub + return null; + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler#setValidationStatistics(org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationStatistics) + */ + @Override + public void setValidationStatistics(ValidationStatistics validationStatistics) { + // TODO Auto-generated method stub + + } + +} diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestRuleCount.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestRuleCount.java new file mode 100644 index 0000000000..6e2b4e21c9 --- /dev/null +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestRuleCount.java @@ -0,0 +1,131 @@ +/******************************************************************************* + * Copyright (c) 2020 seanmuir. + * 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: + * seanmuir - initial API and implementation + * + *******************************************************************************/ +package org.openhealthtools.mdht.uml.cda.consol.tests; + +/** + * @author seanmuir + * + */ +public class TestRuleCount { + + // @Test + // public void test() throws FileNotFoundException, Exception { + // + // String path = "samples/"; + // ConsolPackage.eINSTANCE.eClass(); + // ValidationResult result = new ValidationResult(); + // // try { + // ClinicalDocument clinicalDocument = CDAUtil.load( + // (new FileInputStream(path + "DischargeSummary_2014Edition_sample" + ".xml")), result); + // + // // ClinicalDocument clinicalDocument = ConsolFactory.eINSTANCE.createContinuityOfCareDocument2().init(); + // + // // clinicalDocument.addSection(ConsolFactory.eINSTANCE.createAllergiesSection2().init()); + // + // // clinicalDocument.addSection(ConsolFactory.eINSTANCE.createAllergiesSection2().init()); + // + // ValidationHandler handler = new ValidationHandler() { + // + // ValidationStatistics validationStatistics; + // + // @Override + // public void handleError(Diagnostic diagnostic) { + // // System.out.println(diagnostic.getMessage()); + // + // } + // + // @Override + // public void handleWarning(Diagnostic diagnostic) { + // // System.out.println(diagnostic.getMessage()); + // + // } + // + // @Override + // public void handleInfo(Diagnostic diagnostic) { + // // System.out.println(diagnostic.getMessage()); + // } + // + // @Override + // public boolean isCaptureValidationStatistics() { + // return true; + // } + // + // @Override + // public ValidationStatistics getValidationStatistics() { + // return this.validationStatistics; + // } + // + // @Override + // public void setValidationStatistics(ValidationStatistics validationStatistics) { + // this.validationStatistics = validationStatistics; + // } + // }; + // ; + // CDAUtil.validate(clinicalDocument, handler); + // + // if (handler.getValidationStatistics() != null) { + // System.out.println(handler.getValidationStatistics().shallCount); + // System.out.println(handler.getValidationStatistics().shouldCount); + // System.out.println(handler.getValidationStatistics().mayCount); + // for (String key : handler.getValidationStatistics().counterPer.keySet()) { + // System.out.println(key + " : " + handler.getValidationStatistics().counterPer.get(key).count); + // + // } + // + // } + // + // } + // + // @Test + // public void test2() throws FileNotFoundException, Exception { + // + // ConsolPackage.eINSTANCE.eClass(); + // + // Consumer validate = new Consumer() { + // + // @Override + // public void accept(Path cdaFilePath) { + // System.out.println(cdaFilePath.getFileName()); + // RegressionValidationHandler handler = new RegressionValidationHandler( + // "/Users/seanmuir/mdmi-workspace20200305/regression/src/test/resource/new/" + + // cdaFilePath.getFileName().toString().replace("xml", "txt")); + // try { + // CDAUtil.load(Files.newInputStream(cdaFilePath), handler); + // } catch (IOException e) { + // // TODO Auto-generated catch block + // e.printStackTrace(); + // } catch (Exception e) { + // // TODO Auto-generated catch block + // e.printStackTrace(); + // } + // } + // }; + // ; + // Files.list(Paths.get("/Users/seanmuir/mdmi-workspace20200305/regression/src/test/resource/CCDA")).forEach( + // validate); + // + // // String path = "samples/"; + // // ConsolPackage.eINSTANCE.eClass(); + // // ValidationResult result = new ValidationResult(); + // // try { + // + // // ClinicalDocument clinicalDocument = ConsolFactory.eINSTANCE.createContinuityOfCareDocument2().init(); + // + // // clinicalDocument.addSection(ConsolFactory.eINSTANCE.createAllergiesSection2().init()); + // + // // clinicalDocument.addSection(ConsolFactory.eINSTANCE.createAllergiesSection2().init()); + // + // // CDAUtil.validate(clinicalDocument, handler); + // + // } + +} diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestXML.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestXML.java index d9086d1378..e278c56ac0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestXML.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestXML.java @@ -23,6 +23,7 @@ import org.eclipse.mdht.uml.cda.util.CDAUtil; import org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler; import org.eclipse.mdht.uml.hl7.datatypes.DatatypesFactory; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil.ValidationStatistics; import org.openhealthtools.mdht.uml.cda.consol.ConsolFactory; /** @@ -75,6 +76,24 @@ public void handleInfo(Diagnostic diagnostic) { // TODO Auto-generated method stub } + + @Override + public boolean isCaptureValidationStatistics() { + // TODO Auto-generated method stub + return false; + } + + @Override + public ValidationStatistics getValidationStatistics() { + // TODO Auto-generated method stub + return null; + } + + @Override + public void setValidationStatistics(ValidationStatistics validationStatistics) { + // TODO Auto-generated method stub + + } }; // Race and Ethnicity & CDC // CDAUtil.save(cd, new FileOutputStream("aaaa3.xml")); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/util/ConsolValidator.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/util/ConsolValidator.java index 71c91590f4..a345a43632 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/util/ConsolValidator.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/util/ConsolValidator.java @@ -37971,8 +37971,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ALLERGY_OBSERVATION: return validateAllergyObservation((AllergyObservation) value, diagnostics, context); case ConsolPackage.SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION: - return validateSubstanceOrDeviceAllergyObservation((SubstanceOrDeviceAllergyObservation) value, - diagnostics, context); + return validateSubstanceOrDeviceAllergyObservation( + (SubstanceOrDeviceAllergyObservation) value, diagnostics, context); case ConsolPackage.ALLERGY_STATUS_OBSERVATION: return validateAllergyStatusObservation((AllergyStatusObservation) value, diagnostics, context); case ConsolPackage.REACTION_OBSERVATION: @@ -38016,23 +38016,23 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ALLERGIES_SECTION: return validateAllergiesSection((AllergiesSection) value, diagnostics, context); case ConsolPackage.ALLERGIES_SECTION_ENTRIES_OPTIONAL: - return validateAllergiesSectionEntriesOptional((AllergiesSectionEntriesOptional) value, diagnostics, - context); + return validateAllergiesSectionEntriesOptional( + (AllergiesSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.MEDICATIONS_SECTION: return validateMedicationsSection((MedicationsSection) value, diagnostics, context); case ConsolPackage.MEDICATIONS_SECTION_ENTRIES_OPTIONAL: - return validateMedicationsSectionEntriesOptional((MedicationsSectionEntriesOptional) value, diagnostics, - context); + return validateMedicationsSectionEntriesOptional( + (MedicationsSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.PROBLEM_SECTION: return validateProblemSection((ProblemSection) value, diagnostics, context); case ConsolPackage.PROBLEM_SECTION_ENTRIES_OPTIONAL: - return validateProblemSectionEntriesOptional((ProblemSectionEntriesOptional) value, diagnostics, - context); + return validateProblemSectionEntriesOptional( + (ProblemSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.PROCEDURES_SECTION: return validateProceduresSection((ProceduresSection) value, diagnostics, context); case ConsolPackage.PROCEDURES_SECTION_ENTRIES_OPTIONAL: - return validateProceduresSectionEntriesOptional((ProceduresSectionEntriesOptional) value, diagnostics, - context); + return validateProceduresSectionEntriesOptional( + (ProceduresSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.PROCEDURE_ACTIVITY_OBSERVATION: return validateProcedureActivityObservation((ProcedureActivityObservation) value, diagnostics, context); case ConsolPackage.PROCEDURE_ACTIVITY_ACT: @@ -38040,8 +38040,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.RESULTS_SECTION: return validateResultsSection((ResultsSection) value, diagnostics, context); case ConsolPackage.RESULTS_SECTION_ENTRIES_OPTIONAL: - return validateResultsSectionEntriesOptional((ResultsSectionEntriesOptional) value, diagnostics, - context); + return validateResultsSectionEntriesOptional( + (ResultsSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.RESULT_ORGANIZER: return validateResultOrganizer((ResultOrganizer) value, diagnostics, context); case ConsolPackage.RESULT_OBSERVATION: @@ -38049,15 +38049,15 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ADVANCE_DIRECTIVES_SECTION: return validateAdvanceDirectivesSection((AdvanceDirectivesSection) value, diagnostics, context); case ConsolPackage.ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL: - return validateAdvanceDirectivesSectionEntriesOptional((AdvanceDirectivesSectionEntriesOptional) value, - diagnostics, context); + return validateAdvanceDirectivesSectionEntriesOptional( + (AdvanceDirectivesSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.ADVANCE_DIRECTIVE_OBSERVATION: return validateAdvanceDirectiveObservation((AdvanceDirectiveObservation) value, diagnostics, context); case ConsolPackage.ENCOUNTERS_SECTION: return validateEncountersSection((EncountersSection) value, diagnostics, context); case ConsolPackage.ENCOUNTERS_SECTION_ENTRIES_OPTIONAL: - return validateEncountersSectionEntriesOptional((EncountersSectionEntriesOptional) value, diagnostics, - context); + return validateEncountersSectionEntriesOptional( + (EncountersSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.ENCOUNTER_ACTIVITIES: return validateEncounterActivities((EncounterActivities) value, diagnostics, context); case ConsolPackage.ENCOUNTER_DIAGNOSIS: @@ -38069,45 +38069,45 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.FAMILY_HISTORY_OBSERVATION: return validateFamilyHistoryObservation((FamilyHistoryObservation) value, diagnostics, context); case ConsolPackage.FAMILY_HISTORY_DEATH_OBSERVATION: - return validateFamilyHistoryDeathObservation((FamilyHistoryDeathObservation) value, diagnostics, - context); + return validateFamilyHistoryDeathObservation( + (FamilyHistoryDeathObservation) value, diagnostics, context); case ConsolPackage.FUNCTIONAL_STATUS_SECTION: return validateFunctionalStatusSection((FunctionalStatusSection) value, diagnostics, context); case ConsolPackage.FUNCTIONAL_STATUS_RESULT_ORGANIZER: - return validateFunctionalStatusResultOrganizer((FunctionalStatusResultOrganizer) value, diagnostics, - context); + return validateFunctionalStatusResultOrganizer( + (FunctionalStatusResultOrganizer) value, diagnostics, context); case ConsolPackage.FUNCTIONAL_STATUS_RESULT_OBSERVATION: - return validateFunctionalStatusResultObservation((FunctionalStatusResultObservation) value, diagnostics, - context); + return validateFunctionalStatusResultObservation( + (FunctionalStatusResultObservation) value, diagnostics, context); case ConsolPackage.CAREGIVER_CHARACTERISTICS: return validateCaregiverCharacteristics((CaregiverCharacteristics) value, diagnostics, context); case ConsolPackage.ASSESSMENT_SCALE_OBSERVATION: return validateAssessmentScaleObservation((AssessmentScaleObservation) value, diagnostics, context); case ConsolPackage.ASSESSMENT_SCALE_SUPPORTING_OBSERVATION: - return validateAssessmentScaleSupportingObservation((AssessmentScaleSupportingObservation) value, - diagnostics, context); + return validateAssessmentScaleSupportingObservation( + (AssessmentScaleSupportingObservation) value, diagnostics, context); case ConsolPackage.COGNITIVE_STATUS_RESULT_ORGANIZER: - return validateCognitiveStatusResultOrganizer((CognitiveStatusResultOrganizer) value, diagnostics, - context); + return validateCognitiveStatusResultOrganizer( + (CognitiveStatusResultOrganizer) value, diagnostics, context); case ConsolPackage.COGNITIVE_STATUS_RESULT_OBSERVATION: - return validateCognitiveStatusResultObservation((CognitiveStatusResultObservation) value, diagnostics, - context); + return validateCognitiveStatusResultObservation( + (CognitiveStatusResultObservation) value, diagnostics, context); case ConsolPackage.FUNCTIONAL_STATUS_PROBLEM_OBSERVATION: - return validateFunctionalStatusProblemObservation((FunctionalStatusProblemObservation) value, - diagnostics, context); + return validateFunctionalStatusProblemObservation( + (FunctionalStatusProblemObservation) value, diagnostics, context); case ConsolPackage.COGNITIVE_STATUS_PROBLEM_OBSERVATION: - return validateCognitiveStatusProblemObservation((CognitiveStatusProblemObservation) value, diagnostics, - context); + return validateCognitiveStatusProblemObservation( + (CognitiveStatusProblemObservation) value, diagnostics, context); case ConsolPackage.PRESSURE_ULCER_OBSERVATION: return validatePressureUlcerObservation((PressureUlcerObservation) value, diagnostics, context); case ConsolPackage.NUMBER_OF_PRESSURE_ULCERS_OBSERVATION: - return validateNumberOfPressureUlcersObservation((NumberOfPressureUlcersObservation) value, diagnostics, - context); + return validateNumberOfPressureUlcersObservation( + (NumberOfPressureUlcersObservation) value, diagnostics, context); case ConsolPackage.HIGHEST_PRESSURE_ULCER_STAGE: return validateHighestPressureUlcerStage((HighestPressureUlcerStage) value, diagnostics, context); case ConsolPackage.IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL: - return validateImmunizationsSectionEntriesOptional((ImmunizationsSectionEntriesOptional) value, - diagnostics, context); + return validateImmunizationsSectionEntriesOptional( + (ImmunizationsSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.IMMUNIZATION_ACTIVITY: return validateImmunizationActivity((ImmunizationActivity) value, diagnostics, context); case ConsolPackage.IMMUNIZATION_REFUSAL_REASON: @@ -38127,8 +38127,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.PLAN_OF_CARE_ACTIVITY_ENCOUNTER: return validatePlanOfCareActivityEncounter((PlanOfCareActivityEncounter) value, diagnostics, context); case ConsolPackage.PLAN_OF_CARE_ACTIVITY_OBSERVATION: - return validatePlanOfCareActivityObservation((PlanOfCareActivityObservation) value, diagnostics, - context); + return validatePlanOfCareActivityObservation( + (PlanOfCareActivityObservation) value, diagnostics, context); case ConsolPackage.PLAN_OF_CARE_ACTIVITY_PROCEDURE: return validatePlanOfCareActivityProcedure((PlanOfCareActivityProcedure) value, diagnostics, context); case ConsolPackage.PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION: @@ -38149,8 +38149,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.TOBACCO_USE: return validateTobaccoUse((TobaccoUse) value, diagnostics, context); case ConsolPackage.VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL: - return validateVitalSignsSectionEntriesOptional((VitalSignsSectionEntriesOptional) value, diagnostics, - context); + return validateVitalSignsSectionEntriesOptional( + (VitalSignsSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.VITAL_SIGNS_ORGANIZER: return validateVitalSignsOrganizer((VitalSignsOrganizer) value, diagnostics, context); case ConsolPackage.VITAL_SIGN_OBSERVATION: @@ -38166,11 +38166,11 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.REASON_FOR_REFERRAL_SECTION: return validateReasonForReferralSection((ReasonForReferralSection) value, diagnostics, context); case ConsolPackage.HISTORY_OF_PRESENT_ILLNESS_SECTION: - return validateHistoryOfPresentIllnessSection((HistoryOfPresentIllnessSection) value, diagnostics, - context); + return validateHistoryOfPresentIllnessSection( + (HistoryOfPresentIllnessSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_ADMISSION_DIAGNOSIS_SECTION: - return validateHospitalAdmissionDiagnosisSection((HospitalAdmissionDiagnosisSection) value, diagnostics, - context); + return validateHospitalAdmissionDiagnosisSection( + (HospitalAdmissionDiagnosisSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_ADMISSION_DIAGNOSIS: return validateHospitalAdmissionDiagnosis((HospitalAdmissionDiagnosis) value, diagnostics, context); case ConsolPackage.HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL: @@ -38179,8 +38179,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ADMISSION_MEDICATION: return validateAdmissionMedication((AdmissionMedication) value, diagnostics, context); case ConsolPackage.MEDICATIONS_ADMINISTERED_SECTION: - return validateMedicationsAdministeredSection((MedicationsAdministeredSection) value, diagnostics, - context); + return validateMedicationsAdministeredSection( + (MedicationsAdministeredSection) value, diagnostics, context); case ConsolPackage.PHYSICAL_EXAM_SECTION: return validatePhysicalExamSection((PhysicalExamSection) value, diagnostics, context); case ConsolPackage.GENERAL_STATUS_SECTION: @@ -38198,8 +38198,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.DISCHARGE_SUMMARY: return validateDischargeSummary((DischargeSummary) value, diagnostics, context); case ConsolPackage.HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION: - return validateHospitalDischargeDiagnosisSection((HospitalDischargeDiagnosisSection) value, diagnostics, - context); + return validateHospitalDischargeDiagnosisSection( + (HospitalDischargeDiagnosisSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_DISCHARGE_DIAGNOSIS: return validateHospitalDischargeDiagnosis((HospitalDischargeDiagnosis) value, diagnostics, context); case ConsolPackage.DISCHARGE_DIET_SECTION: @@ -38212,32 +38212,32 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.HOSPITAL_COURSE_SECTION: return validateHospitalCourseSection((HospitalCourseSection) value, diagnostics, context); case ConsolPackage.CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION: - return validateChiefComplaintAndReasonForVisitSection((ChiefComplaintAndReasonForVisitSection) value, - diagnostics, context); + return validateChiefComplaintAndReasonForVisitSection( + (ChiefComplaintAndReasonForVisitSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_CONSULTATIONS_SECTION: return validateHospitalConsultationsSection((HospitalConsultationsSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION: - return validateHospitalDischargeInstructionsSection((HospitalDischargeInstructionsSection) value, - diagnostics, context); + return validateHospitalDischargeInstructionsSection( + (HospitalDischargeInstructionsSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_DISCHARGE_PHYSICAL_SECTION: - return validateHospitalDischargePhysicalSection((HospitalDischargePhysicalSection) value, diagnostics, - context); + return validateHospitalDischargePhysicalSection( + (HospitalDischargePhysicalSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION: - return validateHospitalDischargeStudiesSummarySection((HospitalDischargeStudiesSummarySection) value, - diagnostics, context); + return validateHospitalDischargeStudiesSummarySection( + (HospitalDischargeStudiesSummarySection) value, diagnostics, context); case ConsolPackage.REASON_FOR_VISIT_SECTION: return validateReasonForVisitSection((ReasonForVisitSection) value, diagnostics, context); case ConsolPackage.PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION: - return validatePreconditionForSubstanceAdministration((PreconditionForSubstanceAdministration) value, - diagnostics, context); + return validatePreconditionForSubstanceAdministration( + (PreconditionForSubstanceAdministration) value, diagnostics, context); case ConsolPackage.IMMUNIZATION_MEDICATION_INFORMATION: - return validateImmunizationMedicationInformation((ImmunizationMedicationInformation) value, diagnostics, - context); + return validateImmunizationMedicationInformation( + (ImmunizationMedicationInformation) value, diagnostics, context); case ConsolPackage.AUTHORIZATION_ACTIVITY: return validateAuthorizationActivity((AuthorizationActivity) value, diagnostics, context); case ConsolPackage.HOSPITAL_DISCHARGE_MEDICATIONS_SECTION: - return validateHospitalDischargeMedicationsSection((HospitalDischargeMedicationsSection) value, - diagnostics, context); + return validateHospitalDischargeMedicationsSection( + (HospitalDischargeMedicationsSection) value, diagnostics, context); case ConsolPackage.ANESTHESIA_SECTION: return validateAnesthesiaSection((AnesthesiaSection) value, diagnostics, context); case ConsolPackage.COMPLICATIONS_SECTION: @@ -38251,8 +38251,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.SOP_INSTANCE_OBSERVATION: return validateSOPInstanceObservation((SOPInstanceObservation) value, diagnostics, context); case ConsolPackage.PURPOSEOF_REFERENCE_OBSERVATION: - return validatePurposeofReferenceObservation((PurposeofReferenceObservation) value, diagnostics, - context); + return validatePurposeofReferenceObservation( + (PurposeofReferenceObservation) value, diagnostics, context); case ConsolPackage.REFERENCED_FRAMES_OBSERVATION: return validateReferencedFramesObservation((ReferencedFramesObservation) value, diagnostics, context); case ConsolPackage.BOUNDARY_OBSERVATION: @@ -38268,16 +38268,16 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.OPERATIVE_NOTE_FLUID_SECTION: return validateOperativeNoteFluidSection((OperativeNoteFluidSection) value, diagnostics, context); case ConsolPackage.OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION: - return validateOperativeNoteSurgicalProcedureSection((OperativeNoteSurgicalProcedureSection) value, - diagnostics, context); + return validateOperativeNoteSurgicalProcedureSection( + (OperativeNoteSurgicalProcedureSection) value, diagnostics, context); case ConsolPackage.PLANNED_PROCEDURE_SECTION: return validatePlannedProcedureSection((PlannedProcedureSection) value, diagnostics, context); case ConsolPackage.POSTOPERATIVE_DIAGNOSIS_SECTION: - return validatePostoperativeDiagnosisSection((PostoperativeDiagnosisSection) value, diagnostics, - context); + return validatePostoperativeDiagnosisSection( + (PostoperativeDiagnosisSection) value, diagnostics, context); case ConsolPackage.POSTPROCEDURE_DIAGNOSIS_SECTION: - return validatePostprocedureDiagnosisSection((PostprocedureDiagnosisSection) value, diagnostics, - context); + return validatePostprocedureDiagnosisSection( + (PostprocedureDiagnosisSection) value, diagnostics, context); case ConsolPackage.POSTPROCEDURE_DIAGNOSIS: return validatePostprocedureDiagnosis((PostprocedureDiagnosis) value, diagnostics, context); case ConsolPackage.PREOPERATIVE_DIAGNOSIS_SECTION: @@ -38289,8 +38289,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.PROCEDURE_DISPOSITION_SECTION: return validateProcedureDispositionSection((ProcedureDispositionSection) value, diagnostics, context); case ConsolPackage.PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION: - return validateProcedureEstimatedBloodLossSection((ProcedureEstimatedBloodLossSection) value, - diagnostics, context); + return validateProcedureEstimatedBloodLossSection( + (ProcedureEstimatedBloodLossSection) value, diagnostics, context); case ConsolPackage.PROCEDURE_FINDINGS_SECTION: return validateProcedureFindingsSection((ProcedureFindingsSection) value, diagnostics, context); case ConsolPackage.PROCEDURE_IMPLANTS_SECTION: @@ -38298,8 +38298,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.PROCEDURE_INDICATIONS_SECTION: return validateProcedureIndicationsSection((ProcedureIndicationsSection) value, diagnostics, context); case ConsolPackage.PROCEDURE_SPECIMENS_TAKEN_SECTION: - return validateProcedureSpecimensTakenSection((ProcedureSpecimensTakenSection) value, diagnostics, - context); + return validateProcedureSpecimensTakenSection( + (ProcedureSpecimensTakenSection) value, diagnostics, context); case ConsolPackage.SUBJECTIVE_SECTION: return validateSubjectiveSection((SubjectiveSection) value, diagnostics, context); case ConsolPackage.CONSULTATION_NOTE: @@ -38319,15 +38319,15 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.DIAGNOSTIC_IMAGING_REPORT: return validateDiagnosticImagingReport((DiagnosticImagingReport) value, diagnostics, context); case ConsolPackage.PHYSICIAN_READING_STUDY_PERFORMER: - return validatePhysicianReadingStudyPerformer((PhysicianReadingStudyPerformer) value, diagnostics, - context); + return validatePhysicianReadingStudyPerformer( + (PhysicianReadingStudyPerformer) value, diagnostics, context); case ConsolPackage.PHYSICIANOF_RECORD_PARTICIPANT: return validatePhysicianofRecordParticipant((PhysicianofRecordParticipant) value, diagnostics, context); case ConsolPackage.TEXT_OBSERVATION: return validateTextObservation((TextObservation) value, diagnostics, context); case ConsolPackage.QUANTITY_MEASUREMENT_OBSERVATION: - return validateQuantityMeasurementObservation((QuantityMeasurementObservation) value, diagnostics, - context); + return validateQuantityMeasurementObservation( + (QuantityMeasurementObservation) value, diagnostics, context); case ConsolPackage.CODE_OBSERVATIONS: return validateCodeObservations((CodeObservations) value, diagnostics, context); case ConsolPackage.PROCEDURE_CONTEXT: @@ -38347,19 +38347,19 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ADVANCE_DIRECTIVE_OBSERVATION2: return validateAdvanceDirectiveObservation2((AdvanceDirectiveObservation2) value, diagnostics, context); case ConsolPackage.CHARACTERISTICS_OF_HOME_ENVIRONMENT: - return validateCharacteristicsOfHomeEnvironment((CharacteristicsOfHomeEnvironment) value, diagnostics, - context); + return validateCharacteristicsOfHomeEnvironment( + (CharacteristicsOfHomeEnvironment) value, diagnostics, context); case ConsolPackage.COGNITIVE_ABILITIES_OBSERVATION: - return validateCognitiveAbilitiesObservation((CognitiveAbilitiesObservation) value, diagnostics, - context); + return validateCognitiveAbilitiesObservation( + (CognitiveAbilitiesObservation) value, diagnostics, context); case ConsolPackage.CULTURAL_AND_RELIGIOUS_OBSERVATION: - return validateCulturalAndReligiousObservation((CulturalAndReligiousObservation) value, diagnostics, - context); + return validateCulturalAndReligiousObservation( + (CulturalAndReligiousObservation) value, diagnostics, context); case ConsolPackage.DRUG_MONITORING_ACT: return validateDrugMonitoringAct((DrugMonitoringAct) value, diagnostics, context); case ConsolPackage.HANDOFF_COMMUNICATION_PARTICIPANTS: - return validateHandoffCommunicationParticipants((HandoffCommunicationParticipants) value, diagnostics, - context); + return validateHandoffCommunicationParticipants( + (HandoffCommunicationParticipants) value, diagnostics, context); case ConsolPackage.MEDICAL_EQUIPMENT_ORGANIZER: return validateMedicalEquipmentOrganizer((MedicalEquipmentOrganizer) value, diagnostics, context); case ConsolPackage.NON_MEDICINAL_SUPPLY_ACTIVITY2: @@ -38411,8 +38411,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.OUTCOME_OBSERVATION: return validateOutcomeObservation((OutcomeObservation) value, diagnostics, context); case ConsolPackage.PROGRESS_TOWARD_GOAL_OBSERVATION: - return validateProgressTowardGoalObservation((ProgressTowardGoalObservation) value, diagnostics, - context); + return validateProgressTowardGoalObservation( + (ProgressTowardGoalObservation) value, diagnostics, context); case ConsolPackage.PATIENT_REFERRAL_ACT: return validatePatientReferralAct((PatientReferralAct) value, diagnostics, context); case ConsolPackage.GOAL_OBSERVATION: @@ -38428,8 +38428,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.SENSORY_STATUS: return validateSensoryStatus((SensoryStatus) value, diagnostics, context); case ConsolPackage.LONGITUDINAL_CARE_WOUND_OBSERVATION: - return validateLongitudinalCareWoundObservation((LongitudinalCareWoundObservation) value, diagnostics, - context); + return validateLongitudinalCareWoundObservation( + (LongitudinalCareWoundObservation) value, diagnostics, context); case ConsolPackage.PROBLEM_OBSERVATION2: return validateProblemObservation2((ProblemObservation2) value, diagnostics, context); case ConsolPackage.PROGNOSIS_OBSERVATION: @@ -38441,8 +38441,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.WOUND_CHARACTERISTIC: return validateWoundCharacteristic((WoundCharacteristic) value, diagnostics, context); case ConsolPackage.NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2: - return validateNumberOfPressureUlcersObservation2((NumberOfPressureUlcersObservation2) value, - diagnostics, context); + return validateNumberOfPressureUlcersObservation2( + (NumberOfPressureUlcersObservation2) value, diagnostics, context); case ConsolPackage.ALLERGY_OBSERVATION2: return validateAllergyObservation2((AllergyObservation2) value, diagnostics, context); case ConsolPackage.CRITICALITY_OBSERVATION: @@ -38466,8 +38466,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.SOCIAL_HISTORY_OBSERVATION2: return validateSocialHistoryObservation2((SocialHistoryObservation2) value, diagnostics, context); case ConsolPackage.SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2: - return validateSubstanceOrDeviceAllergyObservation2((SubstanceOrDeviceAllergyObservation2) value, - diagnostics, context); + return validateSubstanceOrDeviceAllergyObservation2( + (SubstanceOrDeviceAllergyObservation2) value, diagnostics, context); case ConsolPackage.ALLERGY_STATUS_OBSERVATION2: return validateAllergyStatusObservation2((AllergyStatusObservation2) value, diagnostics, context); case ConsolPackage.TOBACCO_USE2: @@ -38485,8 +38485,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.PROCEDURE_ACTIVITY_ACT2: return validateProcedureActivityAct2((ProcedureActivityAct2) value, diagnostics, context); case ConsolPackage.PROCEDURE_ACTIVITY_OBSERVATION2: - return validateProcedureActivityObservation2((ProcedureActivityObservation2) value, diagnostics, - context); + return validateProcedureActivityObservation2( + (ProcedureActivityObservation2) value, diagnostics, context); case ConsolPackage.ENCOUNTER_ACTIVITY2: return validateEncounterActivity2((EncounterActivity2) value, diagnostics, context); case ConsolPackage.PLANNED_INTERVENTION_ACT: @@ -38513,8 +38513,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.NUTRITION_SECTION: return validateNutritionSection((NutritionSection) value, diagnostics, context); case ConsolPackage.PHYSICAL_FINDINGS_OF_SKIN_SECTION: - return validatePhysicalFindingsOfSkinSection((PhysicalFindingsOfSkinSection) value, diagnostics, - context); + return validatePhysicalFindingsOfSkinSection( + (PhysicalFindingsOfSkinSection) value, diagnostics, context); case ConsolPackage.US_REALM_HEADER2: return validateUSRealmHeader2((USRealmHeader2) value, diagnostics, context); case ConsolPackage.CARE_PLAN: @@ -38531,21 +38531,21 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.IMMUNIZATIONS_SECTION2: return validateImmunizationsSection2((ImmunizationsSection2) value, diagnostics, context); case ConsolPackage.IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL2: - return validateImmunizationsSectionEntriesOptional2((ImmunizationsSectionEntriesOptional2) value, - diagnostics, context); + return validateImmunizationsSectionEntriesOptional2( + (ImmunizationsSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.PROBLEM_SECTION2: return validateProblemSection2((ProblemSection2) value, diagnostics, context); case ConsolPackage.PROBLEM_SECTION_ENTRIES_OPTIONAL2: - return validateProblemSectionEntriesOptional2((ProblemSectionEntriesOptional2) value, diagnostics, - context); + return validateProblemSectionEntriesOptional2( + (ProblemSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.PROCEDURES_SECTION_ENTRIES_OPTIONAL2: - return validateProceduresSectionEntriesOptional2((ProceduresSectionEntriesOptional2) value, diagnostics, - context); + return validateProceduresSectionEntriesOptional2( + (ProceduresSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.RESULTS_SECTION2: return validateResultsSection2((ResultsSection2) value, diagnostics, context); case ConsolPackage.RESULTS_SECTION_ENTRIES_OPTIONAL2: - return validateResultsSectionEntriesOptional2((ResultsSectionEntriesOptional2) value, diagnostics, - context); + return validateResultsSectionEntriesOptional2( + (ResultsSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.SOCIAL_HISTORY_SECTION2: return validateSocialHistorySection2((SocialHistorySection2) value, diagnostics, context); case ConsolPackage.BIRTH_SEX_OBSERVATION: @@ -38553,8 +38553,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.VITAL_SIGNS_SECTION2: return validateVitalSignsSection2((VitalSignsSection2) value, diagnostics, context); case ConsolPackage.VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL2: - return validateVitalSignsSectionEntriesOptional2((VitalSignsSectionEntriesOptional2) value, diagnostics, - context); + return validateVitalSignsSectionEntriesOptional2( + (VitalSignsSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.VITAL_SIGNS_ORGANIZER2: return validateVitalSignsOrganizer2((VitalSignsOrganizer2) value, diagnostics, context); case ConsolPackage.FUNCTIONAL_STATUS_SECTION2: @@ -38568,8 +38568,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ALLERGIES_SECTION2: return validateAllergiesSection2((AllergiesSection2) value, diagnostics, context); case ConsolPackage.ALLERGIES_SECTION_ENTRIES_OPTIONAL2: - return validateAllergiesSectionEntriesOptional2((AllergiesSectionEntriesOptional2) value, diagnostics, - context); + return validateAllergiesSectionEntriesOptional2( + (AllergiesSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.ALLERGY_CONCERN_ACT2: return validateAllergyConcernAct2((AllergyConcernAct2) value, diagnostics, context); case ConsolPackage.ASSESSMENT_AND_PLAN_SECTION2: @@ -38579,8 +38579,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.MEDICATIONS_SECTION2: return validateMedicationsSection2((MedicationsSection2) value, diagnostics, context); case ConsolPackage.MEDICATIONS_SECTION_ENTRIES_OPTIONAL2: - return validateMedicationsSectionEntriesOptional2((MedicationsSectionEntriesOptional2) value, - diagnostics, context); + return validateMedicationsSectionEntriesOptional2( + (MedicationsSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.REASON_FOR_REFERRAL_SECTION2: return validateReasonForReferralSection2((ReasonForReferralSection2) value, diagnostics, context); case ConsolPackage.FAMILY_HISTORY_SECTION2: @@ -38592,8 +38592,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ENCOUNTERS_SECTION2: return validateEncountersSection2((EncountersSection2) value, diagnostics, context); case ConsolPackage.ENCOUNTERS_SECTION_ENTRIES_OPTIONAL2: - return validateEncountersSectionEntriesOptional2((EncountersSectionEntriesOptional2) value, diagnostics, - context); + return validateEncountersSectionEntriesOptional2( + (EncountersSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.PAYERS_SECTION2: return validatePayersSection2((PayersSection2) value, diagnostics, context); case ConsolPackage.COVERAGE_ACTIVITY2: @@ -38616,8 +38616,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.COURSE_OF_CARE_SECTION: return validateCourseOfCareSection((CourseOfCareSection) value, diagnostics, context); case ConsolPackage.US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT: - return validateUSRealmHeaderPatientGeneratedDocument((USRealmHeaderPatientGeneratedDocument) value, - diagnostics, context); + return validateUSRealmHeaderPatientGeneratedDocument( + (USRealmHeaderPatientGeneratedDocument) value, diagnostics, context); case ConsolPackage.AUTHOR_PARTICIPATION: return validateAuthorParticipation((AuthorParticipation) value, diagnostics, context); case ConsolPackage.DECEASED_OBSERVATION2: @@ -38625,13 +38625,13 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.DISCHARGE_MEDICATION2: return validateDischargeMedication2((DischargeMedication2) value, diagnostics, context); case ConsolPackage.IMMUNIZATION_MEDICATION_INFORMATION2: - return validateImmunizationMedicationInformation2((ImmunizationMedicationInformation2) value, - diagnostics, context); + return validateImmunizationMedicationInformation2( + (ImmunizationMedicationInformation2) value, diagnostics, context); case ConsolPackage.MEDICATION_INFORMATION2: return validateMedicationInformation2((MedicationInformation2) value, diagnostics, context); case ConsolPackage.PHYSICIANOF_RECORD_PARTICIPANT2: - return validatePhysicianofRecordParticipant2((PhysicianofRecordParticipant2) value, diagnostics, - context); + return validatePhysicianofRecordParticipant2( + (PhysicianofRecordParticipant2) value, diagnostics, context); case ConsolPackage.ANESTHESIA_SECTION2: return validateAnesthesiaSection2((AnesthesiaSection2) value, diagnostics, context); case ConsolPackage.COMPLICATIONS_SECTION2: @@ -38642,16 +38642,16 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.INSTRUCTIONS_SECTION2: return validateInstructionsSection2((InstructionsSection2) value, diagnostics, context); case ConsolPackage.MEDICATIONS_ADMINISTERED_SECTION2: - return validateMedicationsAdministeredSection2((MedicationsAdministeredSection2) value, diagnostics, - context); + return validateMedicationsAdministeredSection2( + (MedicationsAdministeredSection2) value, diagnostics, context); case ConsolPackage.PLANNED_PROCEDURE_SECTION2: return validatePlannedProcedureSection2((PlannedProcedureSection2) value, diagnostics, context); case ConsolPackage.POSTPROCEDURE_DIAGNOSIS_SECTION2: - return validatePostprocedureDiagnosisSection2((PostprocedureDiagnosisSection2) value, diagnostics, - context); + return validatePostprocedureDiagnosisSection2( + (PostprocedureDiagnosisSection2) value, diagnostics, context); case ConsolPackage.PREOPERATIVE_DIAGNOSIS_SECTION2: - return validatePreoperativeDiagnosisSection2((PreoperativeDiagnosisSection2) value, diagnostics, - context); + return validatePreoperativeDiagnosisSection2( + (PreoperativeDiagnosisSection2) value, diagnostics, context); case ConsolPackage.PROCEDURE_FINDINGS_SECTION2: return validateProcedureFindingsSection2((ProcedureFindingsSection2) value, diagnostics, context); case ConsolPackage.PROCEDURE_INDICATIONS_SECTION2: @@ -38677,11 +38677,11 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.UNSTRUCTURED_DOCUMENT2: return validateUnstructuredDocument2((UnstructuredDocument2) value, diagnostics, context); case ConsolPackage.PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION2: - return validatePreconditionForSubstanceAdministration2((PreconditionForSubstanceAdministration2) value, - diagnostics, context); + return validatePreconditionForSubstanceAdministration2( + (PreconditionForSubstanceAdministration2) value, diagnostics, context); case ConsolPackage.PHYSICIAN_READING_STUDY_PERFORMER2: - return validatePhysicianReadingStudyPerformer2((PhysicianReadingStudyPerformer2) value, diagnostics, - context); + return validatePhysicianReadingStudyPerformer2( + (PhysicianReadingStudyPerformer2) value, diagnostics, context); default: return true; } diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol2/ConsolPlugin.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol2/ConsolPlugin.java index 08c7e937c5..1b5055c897 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol2/ConsolPlugin.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol2/ConsolPlugin.java @@ -3,7 +3,6 @@ package org.openhealthtools.mdht.uml.cda.consol2; import org.eclipse.emf.common.EMFPlugin; - import org.eclipse.emf.common.util.ResourceLocator; /**